aboutsummaryrefslogtreecommitdiff
path: root/locales
diff options
context:
space:
mode:
authorMelissa Stone <melissa@puppet.com>2018-08-20 11:22:29 -0700
committerMelissa Stone <melissa@puppet.com>2018-08-20 11:22:29 -0700
commitf2bbabbd7df68f7894e8ff302e035aed7523f460 (patch)
tree2faf94ef5fffb6660dc9444e38fbaac84b6fd48a /locales
parent10dd80a0ad2288cf3894b260492e1f00aa4b5af9 (diff)
downloadpuppet-hosts_core-f2bbabbd7df68f7894e8ff302e035aed7523f460.tar.gz
puppet-hosts_core-f2bbabbd7df68f7894e8ff302e035aed7523f460.tar.bz2
(PUP-9053) Enable localization
Diffstat (limited to 'locales')
-rw-r--r--locales/config.yaml24
-rw-r--r--locales/puppetlabs-host_core.pot48
2 files changed, 72 insertions, 0 deletions
diff --git a/locales/config.yaml b/locales/config.yaml
new file mode 100644
index 0000000..1db99f5
--- /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-host_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-host_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-host_core.pot b/locales/puppetlabs-host_core.pot
new file mode 100644
index 0000000..079f394
--- /dev/null
+++ b/locales/puppetlabs-host_core.pot
@@ -0,0 +1,48 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) 2018 Puppet, Inc.
+# This file is distributed under the same license as the puppetlabs-host_core package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: puppetlabs-host_core 1.0.0-2-g10dd80a\n"
+"\n"
+"Report-Msgid-Bugs-To: docs@puppet.com\n"
+"POT-Creation-Date: 2018-08-20 11:22-0700\n"
+"PO-Revision-Date: 2018-08-20 11:22-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/provider/host/parsed.rb:36
+msgid "%{attr} is a required attribute for hosts"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:30
+msgid "Invalid IP address %{value}"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:49
+msgid "Host aliases cannot include whitespace"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:50
+msgid "Host aliases cannot be an empty string. Use an empty array to delete all host_aliases "
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:58
+msgid "Comment cannot include newline"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:84
+msgid "Invalid host name"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:88
+msgid "Hostname cannot include newline"
+msgstr ""