aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2018-08-17 13:45:18 -0700
committerGitHub <noreply@github.com>2018-08-17 13:45:18 -0700
commitb0f14df94539a137da07790516d0253df43e4590 (patch)
treedba1f625b02c3edc3ca06a328cec688c23227540
parent90fdf1f05e8f165bae7ca54ec024ca5fd7d55636 (diff)
parent0eb5e9febcbd06685cc07f9b4e5b1f348c538ffe (diff)
downloadpuppet-mailalias_core-b0f14df94539a137da07790516d0253df43e4590.tar.gz
puppet-mailalias_core-b0f14df94539a137da07790516d0253df43e4590.tar.bz2
Merge pull request #13 from puppetlabs/release
Release
-rw-r--r--CHANGELOG.md7
-rw-r--r--locales/config.yaml24
-rw-r--r--locales/puppetlabs-mailalias_core.pot28
-rw-r--r--metadata.json4
4 files changed, 61 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 71caca2..f18f33d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
+## [1.0.4] - 2018-08-17
+### Added
+- (PUP-9053) Enable localization
+### Changed
+- (PUP-9052) Bump puppet req to at least puppet 6
+
## [1.0.3] - 2018-05-18
### Changed
- Update PDK to 1.5.0
@@ -27,6 +33,7 @@ This is an empty release to test the release pipeline
### Summary
This is the initial release of the extracted mailalias module
+[1.0.4]: https://github.com/puppetlabs/puppetlabs-mailalias_core/compare/1.0.3...1.0.4
[1.0.3]: https://github.com/puppetlabs/puppetlabs-mailalias_core/compare/1.0.2...1.0.3
[1.0.2]: https://github.com/puppetlabs/puppetlabs-mailalias_core/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/puppetlabs/puppetlabs-mailalias_core/compare/1.0.0...1.0.1
diff --git a/locales/config.yaml b/locales/config.yaml
new file mode 100644
index 0000000..7c4f7d4
--- /dev/null
+++ b/locales/config.yaml
@@ -0,0 +1,24 @@
+# This is the project-specific configuration file for setting up
+# fast_gettext for your project.
+gettext:
+ # This is used for the name of the .pot and .po files; they will be
+ # called <project_name>.pot?
+ project_name: puppetlabs-mailalias_core
+ # This is used in comments in the .pot and .po files to indicate what
+ # project the files belong to and should bea little more desctiptive than
+ # <project_name>
+ package_name: puppetlabs-mailalias_core
+ # The locale that the default messages in the .pot file are in
+ default_locale: en
+ # The email used for sending bug reports.
+ bugs_address: docs@puppet.com
+ # The holder of the copyright.
+ copyright_holder: Puppet, Inc.
+ # This determines which comments in code should be eligible for translation.
+ # Any comments that start with this string will be externalized. (Leave
+ # empty to include all.)
+ comments_tag: TRANSLATOR
+ # Patterns for +Dir.glob+ used to find all files that might contain
+ # translatable content, relative to the project root directory
+ source_files:
+ - './lib/**/*.rb'
diff --git a/locales/puppetlabs-mailalias_core.pot b/locales/puppetlabs-mailalias_core.pot
new file mode 100644
index 0000000..8b377ad
--- /dev/null
+++ b/locales/puppetlabs-mailalias_core.pot
@@ -0,0 +1,28 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) 2018 Puppet, Inc.
+# This file is distributed under the same license as the puppetlabs-mailalias_core package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: puppetlabs-mailalias_core 1.0.3-9-g2200165\n"
+"\n"
+"Report-Msgid-Bugs-To: docs@puppet.com\n"
+"POT-Creation-Date: 2018-08-17 11:48-0700\n"
+"PO-Revision-Date: 2018-08-17 11:48-0700\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#: ../lib/puppet/type/mailalias.rb:32
+msgid "File paths must be fully qualified, not '%{value}'"
+msgstr ""
+
+#: ../lib/puppet/type/mailalias.rb:56
+msgid "You cannot specify both a recipient and a file"
+msgstr ""
diff --git a/metadata.json b/metadata.json
index 7d3c153..e616ec8 100644
--- a/metadata.json
+++ b/metadata.json
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-mailalias_core",
- "version": "1.0.3",
+ "version": "1.0.4",
"author": "Puppet Labs",
"summary": "Creates an email alias in the local alias database.",
"license": "Apache-2.0",
@@ -75,7 +75,7 @@
"requirements": [
{
"name": "puppet",
- "version_requirement": ">= 4.7.0 < 7.0.0"
+ "version_requirement": ">= 6.0.0 < 7.0.0"
}
],
"pdk-version": "1.5.0",