]> gitweb.fluxo.info Git - puppet-sshkeys_core.git/commitdiff
(PUP-9053) Enable localization
authorMelissa Stone <melissa@puppet.com>
Fri, 17 Aug 2018 22:13:01 +0000 (15:13 -0700)
committerMelissa Stone <melissa@puppet.com>
Fri, 17 Aug 2018 22:13:01 +0000 (15:13 -0700)
locales/config.yaml [new file with mode: 0644]
locales/puppetlabs-sshkeys_core.pot [new file with mode: 0644]

diff --git a/locales/config.yaml b/locales/config.yaml
new file mode 100644 (file)
index 0000000..dcbf4e9
--- /dev/null
@@ -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 (file)
index 0000000..90c988b
--- /dev/null
@@ -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 ""