diff options
author | Melissa Stone <melissa@puppet.com> | 2018-08-17 11:49:04 -0700 |
---|---|---|
committer | Melissa Stone <melissa@puppet.com> | 2018-08-17 11:49:04 -0700 |
commit | 6986939206d4d0438cd66fd125026c90feeeed08 (patch) | |
tree | dba1f625b02c3edc3ca06a328cec688c23227540 | |
parent | 2200165417bb9639ad16b0f934d0ff030b9f393f (diff) | |
download | puppet-mailalias_core-6986939206d4d0438cd66fd125026c90feeeed08.tar.gz puppet-mailalias_core-6986939206d4d0438cd66fd125026c90feeeed08.tar.bz2 |
(PUP-9053) Enable localiaztion
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | locales/config.yaml | 24 | ||||
-rw-r--r-- | locales/puppetlabs-mailalias_core.pot | 28 |
3 files changed, 55 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c5939a..f18f33d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 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 "" |