aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelissa Stone <melissa@puppet.com>2018-08-17 15:13:01 -0700
committerMelissa Stone <melissa@puppet.com>2018-08-17 15:13:01 -0700
commitafe91f119c874a7e36b3d708a274b16240b6b257 (patch)
tree527cbb5e0e34d85dca47fea1fb020726022b6237
parent39a613b7dab9ef74c39ac21468cf95131dfecaad (diff)
downloadpuppet-sshkeys_core-afe91f119c874a7e36b3d708a274b16240b6b257.tar.gz
puppet-sshkeys_core-afe91f119c874a7e36b3d708a274b16240b6b257.tar.bz2
(PUP-9053) Enable localization
-rw-r--r--locales/config.yaml24
-rw-r--r--locales/puppetlabs-sshkeys_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..dcbf4e9
--- /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-sshkeys_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-sshkeys_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-sshkeys_core.pot b/locales/puppetlabs-sshkeys_core.pot
new file mode 100644
index 0000000..90c988b
--- /dev/null
+++ b/locales/puppetlabs-sshkeys_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-sshkeys_core package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: puppetlabs-sshkeys_core 1.0.0-8-g39a613b\n"
+"\n"
+"Report-Msgid-Bugs-To: docs@puppet.com\n"
+"POT-Creation-Date: 2018-08-17 15:12-0700\n"
+"PO-Revision-Date: 2018-08-17 15:12-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/ssh_authorized_key.rb:73
+msgid "Key must not contain whitespace: %{value}"
+msgstr ""
+
+#: ../lib/puppet/type/ssh_authorized_key.rb:118
+msgid "Option %{value} is not valid. A single option must either be of the form 'option' or 'option=\"value\". Multiple options must be provided as an array"
+msgstr ""
+
+#: ../lib/puppet/type/ssh_authorized_key.rb:136
+msgid "Attribute 'user' or 'target' is mandatory"
+msgstr ""
+
+#: ../lib/puppet/type/sshkey.rb:53
+msgid "Aliases cannot include whitespace"
+msgstr ""
+
+#: ../lib/puppet/type/sshkey.rb:56
+msgid "Aliases must be provided as an array, not a comma-separated list"
+msgstr ""
+
+#: ../lib/puppet/type/sshkey.rb:67
+msgid "Resourcename cannot include whitespaces"
+msgstr ""
+
+#: ../lib/puppet/type/sshkey.rb:68
+msgid "No comma in resourcename allowed. If you want to specify aliases use the host_aliases property"
+msgstr ""