From d09ccc16bfc28629db72558081480c53f161dde3 Mon Sep 17 00:00:00 2001 From: Melissa Stone Date: Thu, 16 Aug 2018 09:01:37 -0700 Subject: (PUP-9053) Enable localization --- locales/config.yaml | 24 +++++++++ locales/puppetlabs-augeas_core.pot | 104 +++++++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100644 locales/config.yaml create mode 100644 locales/puppetlabs-augeas_core.pot (limited to 'locales') diff --git a/locales/config.yaml b/locales/config.yaml new file mode 100644 index 0000000..d261ec4 --- /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 .pot? + project_name: puppetlabs-augeas_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 + # + package_name: puppetlabs-augeas_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-augeas_core.pot b/locales/puppetlabs-augeas_core.pot new file mode 100644 index 0000000..1797f45 --- /dev/null +++ b/locales/puppetlabs-augeas_core.pot @@ -0,0 +1,104 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2018 Puppet, Inc. +# This file is distributed under the same license as the puppetlabs-augeas_core package. +# FIRST AUTHOR , 2018. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: puppetlabs-augeas_core 1.0.0-11-g6df0e15\n" +"\n" +"Report-Msgid-Bugs-To: docs@puppet.com\n" +"POT-Creation-Date: 2018-08-16 08:55-0700\n" +"PO-Revision-Date: 2018-08-16 08:55-0700\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \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/provider/augeas/augeas.rb:88 +msgid "Unknown command %{cmd}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:106 +msgid "unmatched [" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:112 +msgid "missing path argument %{narg} for %{cmd}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:138 +msgid "missing string argument %{narg} for %{cmd}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:143 +msgid "invalid comparator for command %{cmd}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:229 ../lib/puppet/provider/augeas/augeas.rb:260 ../lib/puppet/provider/augeas/augeas.rb:308 ../lib/puppet/provider/augeas/augeas.rb:323 +msgid "Invalid command: %{cmd}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:270 +msgid "Error trying to get path '%{path}'" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:288 ../lib/puppet/provider/augeas/augeas.rb:296 ../lib/puppet/provider/augeas/augeas.rb:344 ../lib/puppet/provider/augeas/augeas.rb:352 +msgid "Invalid array in command: %{cmd}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:318 +msgid "Error trying to match path '%{path}'" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:388 +msgid "Loading failed for one or more files, see debug for /augeas//error output" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:430 +msgid "Error sending command '%{command}' with params %{param}/%{message}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:445 +msgid "Saving failed, see debug" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:487 +msgid "Save failed, see debug" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:500 +msgid "invalid command %{cmd}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:508 ../lib/puppet/provider/augeas/augeas.rb:513 ../lib/puppet/provider/augeas/augeas.rb:520 ../lib/puppet/provider/augeas/augeas.rb:524 ../lib/puppet/provider/augeas/augeas.rb:530 ../lib/puppet/provider/augeas/augeas.rb:538 ../lib/puppet/provider/augeas/augeas.rb:551 ../lib/puppet/provider/augeas/augeas.rb:555 ../lib/puppet/provider/augeas/augeas.rb:559 ../lib/puppet/provider/augeas/augeas.rb:563 ../lib/puppet/provider/augeas/augeas.rb:567 +msgid "Error sending command '%{command}' with params %{params}" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:515 ../lib/puppet/provider/augeas/augeas.rb:532 +msgid "command '%{command}' not supported in installed version of ruby-augeas" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:547 +msgid "Invalid value '%{where}' for where param" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:568 +msgid "Command '%{command}' is not supported" +msgstr "" + +#: ../lib/puppet/provider/augeas/augeas.rb:571 +msgid "Error sending command '%{command}' with params %{params}/%{message}" +msgstr "" + +#: ../lib/puppet/type/augeas.rb:165 +msgid "You must specify both the lens and incl parameters, or neither." +msgstr "" + +#: ../lib/puppet/type/augeas.rb:189 +msgid "executed successfully" +msgstr "" -- cgit v1.2.3