]> gitweb.fluxo.info Git - puppet-mailalias_core.git/commitdiff
(PUP-9053) Enable localiaztion
authorMelissa Stone <melissa@puppet.com>
Fri, 17 Aug 2018 18:49:04 +0000 (11:49 -0700)
committerMelissa Stone <melissa@puppet.com>
Fri, 17 Aug 2018 18:49:04 +0000 (11:49 -0700)
CHANGELOG.md
locales/config.yaml [new file with mode: 0644]
locales/puppetlabs-mailalias_core.pot [new file with mode: 0644]

index 3c5939aa90c15eb2c31e408cdd7b0cecd710b903..f18f33d5a4e64e183e40d67b3a893f2ed49c0af9 100644 (file)
@@ -4,7 +4,9 @@ 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-15
+## [1.0.4] - 2018-08-17
+### Added
+- (PUP-9053) Enable localization
 ### Changed
 - (PUP-9052) Bump puppet req to at least puppet 6
 
diff --git a/locales/config.yaml b/locales/config.yaml
new file mode 100644 (file)
index 0000000..7c4f7d4
--- /dev/null
@@ -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 (file)
index 0000000..8b377ad
--- /dev/null
@@ -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 ""