diff --git a/locales/config.yaml b/locales/config.yaml new file mode 100644 index 0000000..73037b7 --- /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-cron_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-cron_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' \ No newline at end of file diff --git a/locales/puppetlabs-cron_core.pot b/locales/puppetlabs-cron_core.pot new file mode 100644 index 0000000..dcc12a2 --- /dev/null +++ b/locales/puppetlabs-cron_core.pot @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2018 Puppet, Inc. +# This file is distributed under the same license as the puppetlabs-cron_core package. +# FIRST AUTHOR , 2018. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: puppetlabs-cron_core \n" +"Report-Msgid-Bugs-To: docs@puppet.com\n" +"POT-Creation-Date: 2018-08-23 13:54-0700\n" +"PO-Revision-Date: 2018-08-23 13:54-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/cron/crontab.rb:59 +msgid "Line got parsed as a crontab entry but cannot be handled. Please file a bug with the contents of your crontab" +msgstr "" + +#: ../lib/puppet/provider/cron/crontab.rb:102 +msgid "no command specified, cannot create" +msgstr "" + +#: ../lib/puppet/type/cron.rb:191 +msgid "%{value} is not a valid %{name}" +msgstr "" + +#: ../lib/puppet/type/cron.rb:249 +msgid "Invalid special schedule %{value}" +msgstr "" + +#: ../lib/puppet/type/cron.rb:326 +msgid "Invalid environment setting %{value}" +msgstr "" + +#: ../lib/puppet/type/cron.rb:420 +msgid "%{cron} cannot specify both a special schedule and a value for %{field}" +msgstr ""