Skip to content

Commit

Permalink
(PUP-9053) add locales
Browse files Browse the repository at this point in the history
  • Loading branch information
jtappa committed Aug 23, 2018
1 parent 82d1f55 commit 1a80386
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
24 changes: 24 additions & 0 deletions locales/config.yaml
Original file line number Diff line number Diff line change
@@ -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-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
# <project_name>
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: [email protected]
# 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'
43 changes: 43 additions & 0 deletions locales/puppetlabs-cron_core.pot
Original file line number Diff line number Diff line change
@@ -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 <EMAIL@ADDRESS>, 2018.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: puppetlabs-cron_core \n"
"Report-Msgid-Bugs-To: [email protected]\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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\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 ""

0 comments on commit 1a80386

Please sign in to comment.