From afe91f119c874a7e36b3d708a274b16240b6b257 Mon Sep 17 00:00:00 2001 From: Melissa Stone Date: Fri, 17 Aug 2018 15:13:01 -0700 Subject: (PUP-9053) Enable localization --- locales/config.yaml | 24 +++++++++++++++++++ locales/puppetlabs-sshkeys_core.pot | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 locales/config.yaml create mode 100644 locales/puppetlabs-sshkeys_core.pot (limited to 'locales') 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 .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 + # + 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 , 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 \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/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 "" -- cgit v1.2.3