locales/pdk.pot in pdk-1.14.0 vs locales/pdk.pot in pdk-1.14.1

- old
+ new

@@ -4,104 +4,108 @@ # FIRST AUTHOR <EMAIL@ADDRESS>, 2019. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: puppet development kit v1.13.0-68-g46cd813\n" +"Project-Id-Version: puppet development kit v1.14.0-110-gcedef59\n" "\n" "Report-Msgid-Bugs-To: docs@puppet.com\n" -"POT-Creation-Date: 2019-10-09 14:07+1100\n" -"PO-Revision-Date: 2019-10-09 14:07+1100\n" +"POT-Creation-Date: 2019-11-01 11:14+1100\n" +"PO-Revision-Date: 2019-11-01 11:14+1100\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/pdk/analytics/client/google_analytics.rb:43 ../lib/pdk/analytics/client/google_analytics.rb:58 +#: ../lib/pdk/analytics/client/google_analytics.rb:45 ../lib/pdk/analytics/client/google_analytics.rb:60 msgid "Unknown analytics key '%{key}'" msgstr "" -#: ../lib/pdk/answer_file.rb:58 +#: ../lib/pdk/answer_file.rb:43 msgid "Answer file can be updated only with a Hash" msgstr "" -#: ../lib/pdk/answer_file.rb:87 +#: ../lib/pdk/answer_file.rb:70 msgid "Unable to open '%{file}' for reading" msgstr "" -#: ../lib/pdk/answer_file.rb:96 +#: ../lib/pdk/answer_file.rb:79 msgid "Answer file '%{path}' did not contain a valid set of answers, recreating it" msgstr "" -#: ../lib/pdk/answer_file.rb:102 +#: ../lib/pdk/answer_file.rb:85 msgid "Answer file '%{path}' did not contain valid JSON, recreating it" msgstr "" -#: ../lib/pdk/answer_file.rb:118 +#: ../lib/pdk/answer_file.rb:99 msgid "Unable to write '%{file}': %{msg}" msgstr "" -#: ../lib/pdk/cli.rb:82 +#: ../lib/pdk/cli.rb:56 +msgid "Support for Ruby versions older than 2.4 will be dropped in the future PDK 2.0.0 release. We recommend updating your Ruby installation to ensure that you can continue using the latest version of PDK." +msgstr "" + +#: ../lib/pdk/cli.rb:94 msgid "Specifies the URL to the template to use when creating new modules or classes. (default: %{default_url})" msgstr "" -#: ../lib/pdk/cli.rb:88 +#: ../lib/pdk/cli.rb:100 msgid "Specifies the template git branch or tag to use when creating new modules or classes." msgstr "" -#: ../lib/pdk/cli.rb:92 +#: ../lib/pdk/cli.rb:104 msgid "When specified, skips interactive querying of metadata." msgstr "" -#: ../lib/pdk/cli.rb:96 +#: ../lib/pdk/cli.rb:108 msgid "When specified, interactive querying of metadata will include all optional questions." msgstr "" -#: ../lib/pdk/cli.rb:100 +#: ../lib/pdk/cli.rb:112 msgid "Puppet version to run tests or validations against." msgstr "" -#: ../lib/pdk/cli.rb:101 +#: ../lib/pdk/cli.rb:113 msgid "Puppet Enterprise version to run tests or validations against." msgstr "" -#: ../lib/pdk/cli.rb:107 +#: ../lib/pdk/cli.rb:119 msgid "When specified, PDK will validate or test against the current Puppet source from github.com. To use this option, you must have network access to https://github.com." msgstr "" -#: ../lib/pdk/cli.rb:112 +#: ../lib/pdk/cli.rb:124 msgid "pdk command [options]" msgstr "" -#: ../lib/pdk/cli.rb:113 +#: ../lib/pdk/cli.rb:125 msgid "Puppet Development Kit" msgstr "" -#: ../lib/pdk/cli.rb:114 +#: ../lib/pdk/cli.rb:126 msgid "The shortest path to better modules." msgstr "" -#: ../lib/pdk/cli.rb:117 +#: ../lib/pdk/cli.rb:129 msgid "Show version of pdk." msgstr "" -#: ../lib/pdk/cli.rb:122 +#: ../lib/pdk/cli.rb:134 msgid "Show help for this command." msgstr "" -#: ../lib/pdk/cli.rb:127 +#: ../lib/pdk/cli.rb:139 msgid "Specify desired output format. Valid formats are '%{available_formats}'. You may also specify a file to which the formatted output is sent, for example: '--format=junit:report.xml'. This option may be specified multiple times if each option specifies a distinct target file." msgstr "" -#: ../lib/pdk/cli.rb:138 +#: ../lib/pdk/cli.rb:150 msgid "Enable debug output." msgstr "" -#: ../lib/pdk/cli.rb:142 +#: ../lib/pdk/cli.rb:154 msgid "Path to an answer file." msgstr "" #: ../lib/pdk/cli/build.rb:4 msgid "build [options]" @@ -259,67 +263,67 @@ #: ../lib/pdk/cli/convert.rb:39 msgid "Ignoring --full-interview and continuing with --force." msgstr "" -#: ../lib/pdk/cli/errors.rb:6 +#: ../lib/pdk/cli/errors.rb:8 msgid "An unexpected error has occurred. Try running the command again with --debug" msgstr "" -#: ../lib/pdk/cli/exec.rb:31 +#: ../lib/pdk/cli/exec.rb:36 msgid "Unable to find `%{name}`. Check that it is installed and try again." msgstr "" -#: ../lib/pdk/cli/exec.rb:57 +#: ../lib/pdk/cli/exec.rb:62 msgid "PDK package installation not found. Trying '%{fallback}' from the system PATH instead." msgstr "" -#: ../lib/pdk/cli/exec.rb:66 +#: ../lib/pdk/cli/exec.rb:71 msgid "Could not find '%{vendored_bin}' in PDK package. Trying '%{fallback}' from the system PATH instead." msgstr "" -#: ../lib/pdk/cli/exec.rb:73 +#: ../lib/pdk/cli/exec.rb:78 msgid "Using '%{vendored_bin}' from PDK package." msgstr "" -#: ../lib/pdk/cli/exec/command.rb:38 +#: ../lib/pdk/cli/exec/command.rb:42 msgid "Expected execution context to be :system or :module but got '%{context}'." msgstr "" -#: ../lib/pdk/cli/exec/command.rb:84 ../lib/pdk/cli/exec/interactive_command.rb:46 +#: ../lib/pdk/cli/exec/command.rb:88 ../lib/pdk/cli/exec/interactive_command.rb:46 msgid "Current working directory is not part of a module. (No metadata.json was found.)" msgstr "" -#: ../lib/pdk/cli/exec/command.rb:111 +#: ../lib/pdk/cli/exec/command.rb:115 msgid "STDOUT: %{output}" msgstr "" -#: ../lib/pdk/cli/exec/command.rb:114 +#: ../lib/pdk/cli/exec/command.rb:118 msgid "STDERR: %{output}" msgstr "" -#: ../lib/pdk/cli/exec/command.rb:128 +#: ../lib/pdk/cli/exec/command.rb:132 msgid "PUPPET_GEM_VERSION is not supported by PDK. Use the --puppet-version option on your PDK command or set the PDK_PUPPET_VERSION environment variable instead" msgstr "" -#: ../lib/pdk/cli/exec/command.rb:137 +#: ../lib/pdk/cli/exec/command.rb:141 msgid "%{varname} is not supported by PDK." msgstr "" -#: ../lib/pdk/cli/exec/command.rb:202 +#: ../lib/pdk/cli/exec/command.rb:206 msgid "Executing '%{command}'" msgstr "" -#: ../lib/pdk/cli/exec/command.rb:205 ../lib/pdk/cli/exec/interactive_command.rb:78 +#: ../lib/pdk/cli/exec/command.rb:209 ../lib/pdk/cli/exec/interactive_command.rb:78 msgid "Command environment:" msgstr "" -#: ../lib/pdk/cli/exec/command.rb:216 +#: ../lib/pdk/cli/exec/command.rb:220 msgid "Failed to execute '%{command}': %{message}" msgstr "" -#: ../lib/pdk/cli/exec/command.rb:232 +#: ../lib/pdk/cli/exec/command.rb:236 msgid "Execution of '%{command}' complete (duration: %{duration_in_seconds}s; exit code: %{exit_code})" msgstr "" #: ../lib/pdk/cli/exec/interactive_command.rb:18 ../lib/pdk/cli/exec/interactive_command.rb:22 ../lib/pdk/cli/exec/interactive_command.rb:26 ../lib/pdk/cli/exec/interactive_command.rb:30 ../lib/pdk/cli/exec/interactive_command.rb:34 ../lib/pdk/cli/exec/interactive_command.rb:109 msgid "This method is not implemented for PDK::CLI::Exec::InteractiveCommand" @@ -333,11 +337,11 @@ msgid "" "Execution of '%{command}' complete (duration: \\\n" " %{duration_in_seconds}s; exit code: %{exit_code})" msgstr "" -#: ../lib/pdk/cli/exec_group.rb:28 +#: ../lib/pdk/cli/exec_group.rb:30 msgid "No block registered" msgstr "" #: ../lib/pdk/cli/module.rb:4 msgid "module [options]" @@ -373,11 +377,11 @@ #: ../lib/pdk/cli/module/generate.rb:24 msgid "New modules are created using the ‘pdk new module’ command." msgstr "" -#: ../lib/pdk/cli/module/generate.rb:40 ../lib/pdk/cli/new/module.rb:42 +#: ../lib/pdk/cli/module/generate.rb:40 ../lib/pdk/cli/new/module.rb:49 msgid "Creating new module: %{modname}" msgstr "" #: ../lib/pdk/cli/new.rb:4 msgid "new <thing> [options]" @@ -437,10 +441,14 @@ #: ../lib/pdk/cli/new/module.rb:14 msgid "Do not automatically run `bundle install` after creating the module." msgstr "" +#: ../lib/pdk/cli/new/module.rb:33 +msgid "You must specify a module name on the command line when running with --skip-interview." +msgstr "" + #: ../lib/pdk/cli/new/provider.rb:4 msgid "provider [options] <name>" msgstr "" #: ../lib/pdk/cli/new/provider.rb:5 @@ -489,15 +497,15 @@ #: ../lib/pdk/cli/new/test.rb:31 msgid "Test type not specified, assuming unit." msgstr "" -#: ../lib/pdk/cli/new/test.rb:47 +#: ../lib/pdk/cli/new/test.rb:46 msgid "Unable to find anything called \"%{object}\" to generate unit tests for." msgstr "" -#: ../lib/pdk/cli/new/test.rb:49 +#: ../lib/pdk/cli/new/test.rb:48 msgid "PDK does not support generating unit tests for \"%{object_type}\" objects." msgstr "" #: ../lib/pdk/cli/new/transport.rb:4 msgid "transport [options] <name>" @@ -549,26 +557,22 @@ #: ../lib/pdk/cli/test/unit.rb:30 msgid "Unit tests can only be run from inside a valid module directory." msgstr "" -#: ../lib/pdk/cli/test/unit.rb:53 +#: ../lib/pdk/cli/test/unit.rb:52 msgid "No unit test files with examples were found." msgstr "" -#: ../lib/pdk/cli/test/unit.rb:55 +#: ../lib/pdk/cli/test/unit.rb:54 msgid "Unit Test Files:" msgstr "" -#: ../lib/pdk/cli/test/unit.rb:64 +#: ../lib/pdk/cli/test/unit.rb:63 msgid "\t%{id}\t%{description}" msgstr "" -#: ../lib/pdk/cli/test/unit.rb:69 -msgid "--verbose has no effect when not used with --list" -msgstr "" - #: ../lib/pdk/cli/update.rb:4 msgid "update [options]" msgstr "" #: ../lib/pdk/cli/update.rb:5 @@ -601,79 +605,79 @@ #: ../lib/pdk/cli/update.rb:39 msgid "Please update your PDK installation and try again. You may also use the --force flag to override this and continue at your own risk." msgstr "" -#: ../lib/pdk/cli/util.rb:17 +#: ../lib/pdk/cli/util.rb:25 msgid "This command must be run from inside a valid module (no metadata.json found)." msgstr "" -#: ../lib/pdk/cli/util.rb:41 +#: ../lib/pdk/cli/util.rb:51 msgid "Answer \"Y\" to continue or \"n\" to cancel." msgstr "" -#: ../lib/pdk/cli/util.rb:88 +#: ../lib/pdk/cli/util.rb:98 msgid "This module is not PDK compatible. Run `pdk convert` to make it compatible with your version of PDK." msgstr "" -#: ../lib/pdk/cli/util.rb:94 +#: ../lib/pdk/cli/util.rb:104 msgid "This module template is out of date. Run `pdk convert` to make it compatible with your version of PDK." msgstr "" -#: ../lib/pdk/cli/util.rb:99 +#: ../lib/pdk/cli/util.rb:109 msgid "This module is compatible with a newer version of PDK. Upgrade your version of PDK to ensure compatibility." msgstr "" -#: ../lib/pdk/cli/util.rb:103 +#: ../lib/pdk/cli/util.rb:113 msgid "This module is compatible with an older version of PDK. Run `pdk update` to update it to your version of PDK." msgstr "" -#: ../lib/pdk/cli/util.rb:114 +#: ../lib/pdk/cli/util.rb:124 msgid "Support for Puppet versions older than %{version} is deprecated and will be removed in a future version of PDK." msgstr "" -#: ../lib/pdk/cli/util.rb:151 +#: ../lib/pdk/cli/util.rb:162 msgid "Using Ruby %{version}" msgstr "" -#: ../lib/pdk/cli/util.rb:165 +#: ../lib/pdk/cli/util.rb:176 msgid "Using %{gem} %{version}" msgstr "" -#: ../lib/pdk/cli/util.rb:196 ../lib/pdk/cli/util.rb:208 +#: ../lib/pdk/cli/util.rb:207 ../lib/pdk/cli/util.rb:219 msgid "You cannot specify a %{first} and %{second} at the same time." msgstr "" -#: ../lib/pdk/cli/util.rb:244 +#: ../lib/pdk/cli/util.rb:255 msgid "--template-ref requires --template-url to also be specified." msgstr "" -#: ../lib/pdk/cli/util.rb:248 +#: ../lib/pdk/cli/util.rb:259 msgid "--template-url may not be used to specify paths containing #'s." msgstr "" -#: ../lib/pdk/cli/util/command_redirector.rb:18 +#: ../lib/pdk/cli/util/command_redirector.rb:19 msgid "Did you mean '%{command}'?" msgstr "" -#: ../lib/pdk/cli/util/interview.rb:32 +#: ../lib/pdk/cli/util/interview.rb:33 msgid "[Q %{current_number}/%{questions_total}]" msgstr "" -#: ../lib/pdk/cli/util/interview.rb:38 ../lib/pdk/cli/util/interview.rb:42 ../lib/pdk/cli/util/interview.rb:51 +#: ../lib/pdk/cli/util/interview.rb:39 ../lib/pdk/cli/util/interview.rb:43 ../lib/pdk/cli/util/interview.rb:52 msgid "-->" msgstr "" -#: ../lib/pdk/cli/util/option_normalizer.rb:6 +#: ../lib/pdk/cli/util/option_normalizer.rb:8 msgid "Error: expected comma separated list" msgstr "" -#: ../lib/pdk/cli/util/option_normalizer.rb:32 +#: ../lib/pdk/cli/util/option_normalizer.rb:34 msgid "'%{name}' is not a valid report format (%{valid})" msgstr "" -#: ../lib/pdk/cli/util/option_validator.rb:14 +#: ../lib/pdk/cli/util/option_validator.rb:16 msgid "Error: the following values are invalid: %{invalid_entries}" msgstr "" #: ../lib/pdk/cli/validate.rb:4 msgid "validate [validators] [options] [targets]" @@ -718,92 +722,92 @@ #: ../lib/pdk/cli/validate.rb:68 ../lib/pdk/cli/validate.rb:72 msgid "Running all available validators..." msgstr "" -#: ../lib/pdk/cli/validate.rb:112 +#: ../lib/pdk/cli/validate.rb:111 msgid "Validating module using %{num_of_threads} threads" msgstr "" -#: ../lib/pdk/config.rb:47 +#: ../lib/pdk/config.rb:46 msgid "Unable to load %{file}: %{message}" msgstr "" -#: ../lib/pdk/config.rb:80 +#: ../lib/pdk/config.rb:79 msgid "" "PDK collects anonymous usage information to help us understand how it is being used and make decisions on how to improve it. You can find out more about what data we collect and how it is used in the PDK documentation at %{url}.\n" msgstr "" -#: ../lib/pdk/config.rb:86 +#: ../lib/pdk/config.rb:85 msgid "You can opt in or out of the usage data collection at any time by editing the analytics configuration file at %{path} and changing the '%{key}' value." msgstr "" -#: ../lib/pdk/config.rb:98 +#: ../lib/pdk/config.rb:97 msgid "Do you consent to the collection of anonymous PDK usage information?" msgstr "" -#: ../lib/pdk/config.rb:112 +#: ../lib/pdk/config.rb:111 msgid "No answer given, opting out of analytics collection." msgstr "" -#: ../lib/pdk/config/json_schema_namespace.rb:100 +#: ../lib/pdk/config/json_schema_namespace.rb:102 msgid "Setting '#{key}' does not exist'" msgstr "" -#: ../lib/pdk/config/json_schema_namespace.rb:124 +#: ../lib/pdk/config/json_schema_namespace.rb:123 msgid "Unable to open %{file} for reading. File does not exist" msgstr "" -#: ../lib/pdk/config/json_schema_namespace.rb:136 +#: ../lib/pdk/config/json_schema_namespace.rb:135 msgid "Unable to open %{file} for reading. JSON Error: %{msg}" msgstr "" -#: ../lib/pdk/config/json_schema_setting.rb:27 ../lib/pdk/config/setting.rb:96 +#: ../lib/pdk/config/json_schema_setting.rb:27 ../lib/pdk/config/setting.rb:98 msgid "%{key} %{message}" msgstr "" -#: ../lib/pdk/config/json_with_schema.rb:23 ../lib/pdk/config/yaml_with_schema.rb:23 +#: ../lib/pdk/config/json_with_schema.rb:22 ../lib/pdk/config/yaml_with_schema.rb:23 msgid "The configuration file %{filename} is not valid: %{message}" msgstr "" -#: ../lib/pdk/config/namespace.rb:65 +#: ../lib/pdk/config/namespace.rb:67 msgid "Only PDK::Config::Namespace objects can be mounted into a namespace" msgstr "" -#: ../lib/pdk/config/namespace.rb:137 +#: ../lib/pdk/config/namespace.rb:139 msgid "Namespace mounts can not be set a value" msgstr "" -#: ../lib/pdk/config/namespace.rb:286 +#: ../lib/pdk/config/namespace.rb:288 msgid "Unable to open %{file} for reading" msgstr "" -#: ../lib/pdk/config/namespace.rb:309 +#: ../lib/pdk/config/namespace.rb:311 msgid "Unable to open %{file} for writing" msgstr "" -#: ../lib/pdk/config/setting.rb:77 +#: ../lib/pdk/config/setting.rb:79 msgid "`validator` must be a Hash" msgstr "" -#: ../lib/pdk/config/setting.rb:78 +#: ../lib/pdk/config/setting.rb:80 msgid "the :proc key must contain a Proc" msgstr "" -#: ../lib/pdk/config/setting.rb:79 +#: ../lib/pdk/config/setting.rb:81 msgid "the :message key must contain a String" msgstr "" -#: ../lib/pdk/config/setting.rb:110 +#: ../lib/pdk/config/setting.rb:112 msgid "must be passed a block" msgstr "" -#: ../lib/pdk/config/yaml.rb:22 ../lib/pdk/config/yaml_with_schema.rb:39 +#: ../lib/pdk/config/yaml.rb:21 ../lib/pdk/config/yaml_with_schema.rb:39 msgid "Syntax error when loading %{file}: %{error}" msgstr "" -#: ../lib/pdk/config/yaml.rb:27 ../lib/pdk/config/yaml_with_schema.rb:44 +#: ../lib/pdk/config/yaml.rb:26 ../lib/pdk/config/yaml_with_schema.rb:44 msgid "Unsupported class in %{file}: %{error}" msgstr "" #: ../lib/pdk/generate/module.rb:12 msgid "" @@ -960,11 +964,11 @@ #: ../lib/pdk/generate/module.rb:329 msgid "Process cancelled; exiting." msgstr "" #: ../lib/pdk/generate/provider.rb:23 -msgid "%{error}: Creating a provider needs some local configuration in your module. Please follow the docs at https://github.com/puppetlabs/puppet-resource_api#getting-started." +msgid "%{error}: Creating a provider needs some local configuration in your module. Please follow the docs at https://puppet.com/docs/puppet/latest/create_types_and_providers_resource_api.html." msgstr "" #: ../lib/pdk/generate/provider.rb:33 ../lib/pdk/generate/transport.rb:33 msgid ".sync.yml not found" msgstr "" @@ -999,35 +1003,35 @@ #: ../lib/pdk/generate/provider.rb:51 ../lib/pdk/generate/transport.rb:51 msgid "spec/spec_helper.rb.mock_with not set to ':rspec'" msgstr "" -#: ../lib/pdk/generate/puppet_object.rb:140 +#: ../lib/pdk/generate/puppet_object.rb:142 msgid "Unable to generate %{object_type}; '%{file}' already exists." msgstr "" -#: ../lib/pdk/generate/puppet_object.rb:224 +#: ../lib/pdk/generate/puppet_object.rb:226 msgid "Creating '%{file}' from template." msgstr "" -#: ../lib/pdk/generate/puppet_object.rb:231 +#: ../lib/pdk/generate/puppet_object.rb:233 msgid "Unable to create directory '%{path}': %{message}" msgstr "" -#: ../lib/pdk/generate/puppet_object.rb:239 +#: ../lib/pdk/generate/puppet_object.rb:241 msgid "Unable to write to file '%{path}': %{message}" msgstr "" -#: ../lib/pdk/generate/puppet_object.rb:266 +#: ../lib/pdk/generate/puppet_object.rb:268 msgid "No %{dir_type} template found; trying next template directory." msgstr "" -#: ../lib/pdk/generate/puppet_object.rb:279 +#: ../lib/pdk/generate/puppet_object.rb:281 msgid "Unable to find a %{type} template in %{url}; trying next template directory." msgstr "" -#: ../lib/pdk/generate/puppet_object.rb:281 +#: ../lib/pdk/generate/puppet_object.rb:283 msgid "Unable to find the %{type} template in %{url}." msgstr "" #: ../lib/pdk/generate/task.rb:54 msgid "A task named '%{name}' already exists in this module; defined in %{file}" @@ -1035,68 +1039,68 @@ #: ../lib/pdk/generate/transport.rb:23 msgid "%{error}: Creating a transport needs some local configuration in your module. Please follow the docs at https://github.com/puppetlabs/puppet-resource_api#getting-started." msgstr "" -#: ../lib/pdk/module/build.rb:130 +#: ../lib/pdk/module/build.rb:132 msgid "%{message} Rename the file or exclude it from the package by adding it to the .pdkignore file in your module." msgstr "" -#: ../lib/pdk/module/build.rb:160 +#: ../lib/pdk/module/build.rb:162 msgid "Symlinks in modules are not supported and will not be included in the package. Please investigate symlink %{from} -> %{to}." msgstr "" -#: ../lib/pdk/module/build.rb:187 +#: ../lib/pdk/module/build.rb:189 msgid "The path '%{path}' is longer than 256 bytes." msgstr "" -#: ../lib/pdk/module/build.rb:211 +#: ../lib/pdk/module/build.rb:213 msgid "'%{path}' could not be split at a directory separator into two parts, the first having a maximum length of 155 bytes and the second having a maximum length of 100 bytes." msgstr "" -#: ../lib/pdk/module/build.rb:247 +#: ../lib/pdk/module/build.rb:249 msgid "Updated permissions of packaged '%{entry}' to %{new_mode}" msgstr "" -#: ../lib/pdk/module/convert.rb:27 ../lib/pdk/module/update.rb:20 +#: ../lib/pdk/module/convert.rb:29 ../lib/pdk/module/update.rb:20 msgid "No changes required." msgstr "" -#: ../lib/pdk/module/convert.rb:42 +#: ../lib/pdk/module/convert.rb:44 msgid "Module conversion is a potentially destructive action. Ensure that you have committed your module to a version control system or have a backup, and review the changes above before continuing." msgstr "" -#: ../lib/pdk/module/convert.rb:47 ../lib/pdk/module/update.rb:32 +#: ../lib/pdk/module/convert.rb:49 ../lib/pdk/module/update.rb:32 msgid "Do you want to continue and make these changes to your module?" msgstr "" -#: ../lib/pdk/module/convert.rb:133 +#: ../lib/pdk/module/convert.rb:135 msgid "skipping '%{path}'" msgstr "" -#: ../lib/pdk/module/convert.rb:172 +#: ../lib/pdk/module/convert.rb:174 msgid "Unable to update module metadata; %{path} exists but it is not readable." msgstr "" -#: ../lib/pdk/module/convert.rb:188 +#: ../lib/pdk/module/convert.rb:190 msgid "Unable to update module metadata; %{path} exists but it is not a file." msgstr "" -#: ../lib/pdk/module/convert.rb:233 ../lib/pdk/module/convert.rb:238 ../lib/pdk/module/convert.rb:244 +#: ../lib/pdk/module/convert.rb:235 ../lib/pdk/module/convert.rb:240 ../lib/pdk/module/convert.rb:246 msgid "" "\n" "%{banner}" msgstr "" -#: ../lib/pdk/module/convert.rb:246 +#: ../lib/pdk/module/convert.rb:248 msgid "" "\n" "%{summary}\n" "\n" msgstr "" -#: ../lib/pdk/module/convert.rb:259 +#: ../lib/pdk/module/convert.rb:261 msgid "" "\n" "You can find a report of differences in %{path}.\n" "\n" msgstr "" @@ -1115,97 +1119,97 @@ #: ../lib/pdk/module/metadata.rb:108 msgid "Invalid JSON in metadata.json: %{msg}" msgstr "" -#: ../lib/pdk/module/metadata.rb:144 +#: ../lib/pdk/module/metadata.rb:145 msgid "Module metadata does not contain any requirements." msgstr "" -#: ../lib/pdk/module/metadata.rb:145 +#: ../lib/pdk/module/metadata.rb:146 msgid "Module metadata does not contain a \"puppet\" requirement." msgstr "" -#: ../lib/pdk/module/metadata.rb:146 +#: ../lib/pdk/module/metadata.rb:147 msgid "The \"puppet\" requirement in module metadata does not specify a \"version_requirement\"." msgstr "" -#: ../lib/pdk/module/metadata.rb:186 +#: ../lib/pdk/module/metadata.rb:187 msgid "Field must be a dash-separated user name and module name." msgstr "" -#: ../lib/pdk/module/metadata.rb:188 +#: ../lib/pdk/module/metadata.rb:189 msgid "Module name must contain only alphanumeric or underscore characters." msgstr "" -#: ../lib/pdk/module/metadata.rb:190 +#: ../lib/pdk/module/metadata.rb:191 msgid "Module name must begin with a letter." msgstr "" -#: ../lib/pdk/module/metadata.rb:192 +#: ../lib/pdk/module/metadata.rb:193 msgid "Namespace must contain only alphanumeric characters." msgstr "" -#: ../lib/pdk/module/metadata.rb:195 +#: ../lib/pdk/module/metadata.rb:196 msgid "Invalid 'name' field in metadata.json: %{err}" msgstr "" -#: ../lib/pdk/module/templatedir.rb:40 +#: ../lib/pdk/module/templatedir.rb:42 msgid "%{class_name} must be initialized with a block." msgstr "" -#: ../lib/pdk/module/templatedir.rb:43 +#: ../lib/pdk/module/templatedir.rb:45 msgid "PDK::Module::TemplateDir.new must be initialized with a PDK::Util::TemplateURI, got a %{uri_type}" msgstr "" -#: ../lib/pdk/module/templatedir.rb:57 +#: ../lib/pdk/module/templatedir.rb:59 msgid "Repository '%{repo}' has a work-tree; skipping git reset." msgstr "" -#: ../lib/pdk/module/templatedir.rb:124 +#: ../lib/pdk/module/templatedir.rb:126 msgid "Rendering '%{template}'..." msgstr "" -#: ../lib/pdk/module/templatedir.rb:142 +#: ../lib/pdk/module/templatedir.rb:144 msgid "" "Failed to render template '%{template}'\n" "%{exception}: %{message}" msgstr "" -#: ../lib/pdk/module/templatedir.rb:215 +#: ../lib/pdk/module/templatedir.rb:217 msgid "The built-in template has substantially changed. Please run \"pdk convert\" on your module to continue." msgstr "" -#: ../lib/pdk/module/templatedir.rb:217 +#: ../lib/pdk/module/templatedir.rb:219 msgid "The specified template '%{path}' is not a directory." msgstr "" -#: ../lib/pdk/module/templatedir.rb:222 +#: ../lib/pdk/module/templatedir.rb:224 msgid "The template at '%{path}' does not contain a 'moduleroot/' directory." msgstr "" -#: ../lib/pdk/module/templatedir.rb:227 +#: ../lib/pdk/module/templatedir.rb:229 msgid "The template at '%{path}' does not contain a 'moduleroot_init/' directory, which indicates you are using an older style of template. Before continuing please use the --template-url flag when running the pdk new commands to pass a new style template." msgstr "" -#: ../lib/pdk/module/templatedir.rb:243 +#: ../lib/pdk/module/templatedir.rb:245 msgid "The directory '%{dir}' doesn't exist" msgstr "" -#: ../lib/pdk/module/templatedir.rb:318 +#: ../lib/pdk/module/templatedir.rb:320 msgid "'%{file}' is not a valid YAML file: %{problem} %{context} at line %{line} column %{column}" msgstr "" -#: ../lib/pdk/module/templatedir.rb:356 +#: ../lib/pdk/module/templatedir.rb:358 msgid "Unable to clone git repository at '%{repo}' into '%{dest}'." msgstr "" -#: ../lib/pdk/module/templatedir.rb:375 +#: ../lib/pdk/module/templatedir.rb:377 msgid "Unable to checkout '%{ref}' of git repository at '%{path}'." msgstr "" -#: ../lib/pdk/module/templatedir.rb:378 +#: ../lib/pdk/module/templatedir.rb:380 msgid "Uncommitted changes found when attempting to checkout '%{ref}' of git repository at '%{path}'; skipping git reset." msgstr "" #: ../lib/pdk/module/update.rb:14 msgid "This module is already up to date with version %{version} of the template." @@ -1217,79 +1221,79 @@ #: ../lib/pdk/module/update.rb:111 msgid "Updating %{module_name} using the template at %{template_url}, from %{current_version} to %{new_version}" msgstr "" -#: ../lib/pdk/module/update_manager.rb:109 +#: ../lib/pdk/module/update_manager.rb:111 msgid "unlinking '%{path}'" msgstr "" -#: ../lib/pdk/module/update_manager.rb:112 +#: ../lib/pdk/module/update_manager.rb:114 msgid "'%{path}': already gone" msgstr "" -#: ../lib/pdk/module/update_manager.rb:115 +#: ../lib/pdk/module/update_manager.rb:117 msgid "Unable to remove '%{path}': %{message}" msgstr "" -#: ../lib/pdk/module/update_manager.rb:135 +#: ../lib/pdk/module/update_manager.rb:137 msgid "Unable to open '%{path}' for reading" msgstr "" -#: ../lib/pdk/module/update_manager.rb:154 +#: ../lib/pdk/module/update_manager.rb:156 msgid "writing '%{path}'" msgstr "" -#: ../lib/pdk/module/update_manager.rb:157 +#: ../lib/pdk/module/update_manager.rb:159 msgid "You do not have permission to write to '%{path}'" msgstr "" -#: ../lib/pdk/report/event.rb:190 +#: ../lib/pdk/report/event.rb:192 msgid "File not specified." msgstr "" -#: ../lib/pdk/report/event.rb:194 +#: ../lib/pdk/report/event.rb:196 msgid "File must be a String." msgstr "" -#: ../lib/pdk/report/event.rb:230 +#: ../lib/pdk/report/event.rb:232 msgid "State not specified." msgstr "" -#: ../lib/pdk/report/event.rb:235 +#: ../lib/pdk/report/event.rb:237 msgid "State must be a Symbol, not %{type}" msgstr "" -#: ../lib/pdk/report/event.rb:240 +#: ../lib/pdk/report/event.rb:242 msgid "Invalid state %{state}. Valid states are: %{valid}." msgstr "" -#: ../lib/pdk/report/event.rb:259 +#: ../lib/pdk/report/event.rb:261 msgid "Source not specified." msgstr "" -#: ../lib/pdk/report/event.rb:280 +#: ../lib/pdk/report/event.rb:282 msgid "Line must be an Integer or a String representation of an Integer." msgstr "" -#: ../lib/pdk/report/event.rb:284 +#: ../lib/pdk/report/event.rb:286 msgid "The line number can contain only the digits 0-9." msgstr "" -#: ../lib/pdk/report/event.rb:305 +#: ../lib/pdk/report/event.rb:307 msgid "Column must be an Integer or a String representation of an Integer." msgstr "" -#: ../lib/pdk/report/event.rb:309 +#: ../lib/pdk/report/event.rb:311 msgid "The column number can contain only the digits 0-9." msgstr "" -#: ../lib/pdk/report/event.rb:327 +#: ../lib/pdk/report/event.rb:329 msgid "Trace must be an Array of stack trace lines." msgstr "" -#: ../lib/pdk/template_file.rb:68 +#: ../lib/pdk/template_file.rb:69 msgid "'%{template}' is not a readable file" msgstr "" #: ../lib/pdk/tests/unit.rb:64 msgid "Cleaning up after running unit tests." @@ -1321,236 +1325,268 @@ #: ../lib/pdk/tests/unit.rb:95 msgid "Running unit tests." msgstr "" -#: ../lib/pdk/tests/unit.rb:115 +#: ../lib/pdk/tests/unit.rb:120 msgid "Unit test output did not contain a valid JSON result: %{output}" msgstr "" -#: ../lib/pdk/tests/unit.rb:167 +#: ../lib/pdk/tests/unit.rb:172 msgid "Evaluated %{total} tests in %{duration} seconds: %{failures} failures, %{pending} pending." msgstr "" -#: ../lib/pdk/tests/unit.rb:221 +#: ../lib/pdk/tests/unit.rb:226 msgid "Finding unit tests." msgstr "" -#: ../lib/pdk/tests/unit.rb:224 +#: ../lib/pdk/tests/unit.rb:229 msgid "Failed to find valid JSON in output from rspec: %{output}" msgstr "" -#: ../lib/pdk/tests/unit.rb:229 +#: ../lib/pdk/tests/unit.rb:234 msgid "Unable to enumerate examples. rspec reported: %{message}" msgstr "" -#: ../lib/pdk/util.rb:59 +#: ../lib/pdk/util.rb:76 msgid "Cannot resolve a full path to '%{path}', as it does not currently exist." msgstr "" -#: ../lib/pdk/util.rb:88 +#: ../lib/pdk/util.rb:105 msgid "Package basedir requested for non-package install." msgstr "" -#: ../lib/pdk/util/bundler.rb:15 +#: ../lib/pdk/util/bundler.rb:17 msgid "Bundler managed gems already up to date." msgstr "" -#: ../lib/pdk/util/bundler.rb:20 +#: ../lib/pdk/util/bundler.rb:22 msgid "No Gemfile found in '%{cwd}'. Skipping bundler management." msgstr "" -#: ../lib/pdk/util/bundler.rb:96 +#: ../lib/pdk/util/bundler.rb:98 msgid "Checking for missing Gemfile dependencies." msgstr "" -#: ../lib/pdk/util/bundler.rb:125 +#: ../lib/pdk/util/bundler.rb:127 msgid "Vendored Gemfile.lock (%{source}) not found." msgstr "" -#: ../lib/pdk/util/bundler.rb:130 +#: ../lib/pdk/util/bundler.rb:132 msgid "Using vendored Gemfile.lock from %{source}." msgstr "" -#: ../lib/pdk/util/bundler.rb:136 +#: ../lib/pdk/util/bundler.rb:138 msgid "Resolving default Gemfile dependencies." msgstr "" -#: ../lib/pdk/util/bundler.rb:143 +#: ../lib/pdk/util/bundler.rb:145 msgid "Unable to resolve default Gemfile dependencies." msgstr "" -#: ../lib/pdk/util/bundler.rb:156 +#: ../lib/pdk/util/bundler.rb:158 msgid "Updating Gemfile dependencies." msgstr "" -#: ../lib/pdk/util/bundler.rb:184 +#: ../lib/pdk/util/bundler.rb:186 msgid "Unable to resolve Gemfile dependencies." msgstr "" -#: ../lib/pdk/util/bundler.rb:197 +#: ../lib/pdk/util/bundler.rb:199 msgid "Installing missing Gemfile dependencies." msgstr "" -#: ../lib/pdk/util/bundler.rb:205 +#: ../lib/pdk/util/bundler.rb:207 msgid "Unable to install missing Gemfile dependencies." msgstr "" -#: ../lib/pdk/util/bundler.rb:219 +#: ../lib/pdk/util/bundler.rb:221 msgid "" "Failed to generate binstubs for '%{gems}':\n" "%{output}" msgstr "" -#: ../lib/pdk/util/bundler.rb:220 +#: ../lib/pdk/util/bundler.rb:222 msgid "Unable to install requested binstubs." msgstr "" -#: ../lib/pdk/util/git.rb:15 +#: ../lib/pdk/util/filesystem.rb:7 +msgid "content must be a String" +msgstr "" + +#: ../lib/pdk/util/filesystem.rb:8 +msgid "path must be a String or Pathname" +msgstr "" + +#: ../lib/pdk/util/git.rb:17 msgid "Git command failed: git %{args}" msgstr "" -#: ../lib/pdk/util/git.rb:90 +#: ../lib/pdk/util/git.rb:92 msgid "Unable to locate git work dir \"%{workdir}\"" msgstr "" -#: ../lib/pdk/util/git.rb:91 +#: ../lib/pdk/util/git.rb:93 msgid "Unable to locate git dir \"%{gitdir}\"" msgstr "" -#: ../lib/pdk/util/git.rb:106 +#: ../lib/pdk/util/git.rb:108 msgid "Unable to access the template repository \"%{repository}\"" msgstr "" -#: ../lib/pdk/util/git.rb:113 +#: ../lib/pdk/util/git.rb:115 msgid "Unable to find a branch or tag named \"%{ref}\" in %{repo}" msgstr "" -#: ../lib/pdk/util/puppet_strings.rb:23 +#: ../lib/pdk/util/puppet_strings.rb:25 msgid "Examining module contents" msgstr "" -#: ../lib/pdk/util/puppet_strings.rb:45 +#: ../lib/pdk/util/puppet_strings.rb:47 msgid "Unable to parse puppet-strings output" msgstr "" -#: ../lib/pdk/util/puppet_version.rb:39 +#: ../lib/pdk/util/puppet_version.rb:41 msgid "Unable to find a Puppet gem in current Ruby environment or from Rubygems.org." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:63 +#: ../lib/pdk/util/puppet_version.rb:71 msgid "Unable to clone git repository from '%{repo}'." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:72 +#: ../lib/pdk/util/puppet_version.rb:80 msgid "Unable to fetch from git remote at '%{repo}'." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:81 +#: ../lib/pdk/util/puppet_version.rb:91 msgid "Unable to update git repository at '%{cachedir}'." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:102 +#: ../lib/pdk/util/puppet_version.rb:112 msgid "Unable to find a Puppet gem matching %{requirement}." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:109 +#: ../lib/pdk/util/puppet_version.rb:119 msgid "Puppet %{requested_version} is not available, activating %{found_version} instead." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:126 +#: ../lib/pdk/util/puppet_version.rb:136 msgid "Unable to map Puppet Enterprise version %{pe_version} to a Puppet version." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:131 +#: ../lib/pdk/util/puppet_version.rb:141 msgid "Puppet Enterprise %{pe_version} maps to Puppet %{puppet_version}." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:147 +#: ../lib/pdk/util/puppet_version.rb:157 msgid "Unable to determine Puppet version for module: no metadata.json present in module." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:173 +#: ../lib/pdk/util/puppet_version.rb:183 msgid "%{version} is not a valid version number." msgstr "" -#: ../lib/pdk/util/puppet_version.rb:209 +#: ../lib/pdk/util/puppet_version.rb:219 msgid "Failed to parse Puppet Enterprise version map file." msgstr "" -#: ../lib/pdk/util/ruby_version.rb:36 +#: ../lib/pdk/util/ruby_version.rb:37 msgid "Unknown Ruby version \"%{ruby_version}\"" msgstr "" -#: ../lib/pdk/util/template_uri.rb:49 +#: ../lib/pdk/util/template_uri.rb:51 msgid "PDK::Util::TemplateURI attempted initialization with a non-uri string: {string}" msgstr "" -#: ../lib/pdk/util/template_uri.rb:165 +#: ../lib/pdk/util/template_uri.rb:167 msgid "%{scp_uri} appears to be an SCP style URL; it will be converted to an RFC compliant URI: %{rfc_uri}" msgstr "" -#: ../lib/pdk/util/template_uri.rb:216 +#: ../lib/pdk/util/template_uri.rb:218 msgid "--template-url" msgstr "" -#: ../lib/pdk/util/template_uri.rb:217 +#: ../lib/pdk/util/template_uri.rb:219 msgid "metadata.json" msgstr "" -#: ../lib/pdk/util/template_uri.rb:218 +#: ../lib/pdk/util/template_uri.rb:220 msgid "PDK answers" msgstr "" -#: ../lib/pdk/util/template_uri.rb:219 +#: ../lib/pdk/util/template_uri.rb:221 msgid "default" msgstr "" -#: ../lib/pdk/util/template_uri.rb:243 +#: ../lib/pdk/util/template_uri.rb:245 msgid "Unable to find a valid module template to use." msgstr "" -#: ../lib/pdk/util/template_uri.rb:268 +#: ../lib/pdk/util/template_uri.rb:270 msgid "Unable to find a valid template at %{uri}" msgstr "" -#: ../lib/pdk/util/vendored_file.rb:48 +#: ../lib/pdk/util/vendored_file.rb:50 msgid "%{file_name} was not found in the cache, downloading it from %{url}." msgstr "" -#: ../lib/pdk/util/vendored_file.rb:63 +#: ../lib/pdk/util/vendored_file.rb:65 msgid "Unable to download %{url}. %{code}: %{message}." msgstr "" -#: ../lib/pdk/util/vendored_file.rb:72 +#: ../lib/pdk/util/vendored_file.rb:74 msgid "Unable to download %{url}. Check internet connectivity and try again. %{error}" msgstr "" -#: ../lib/pdk/util/windows/api_types.rb:24 +#: ../lib/pdk/util/windows/api_types.rb:31 msgid "Unable to convert value %{string} to encoding %{encoding} due to %{error}" msgstr "" +#: ../lib/pdk/util/windows/api_types.rb:41 +msgid "Unable to read wide strings with %{null_terminator} terminal nulls" +msgstr "" + #: ../lib/pdk/util/windows/file.rb:15 msgid "Failed to call GetLongPathName" msgstr "" -#: ../lib/pdk/validate/base_validator.rb:103 +#: ../lib/pdk/util/windows/process.rb:14 +msgid "Discarding environment variable %{string} which contains invalid bytes" +msgstr "" + +#: ../lib/pdk/util/windows/process.rb:32 +msgid "FreeEnvironmentStringsW memory leak" +msgstr "" + +#: ../lib/pdk/util/windows/process.rb:39 +msgid "Environment variable name must not be nil or empty" +msgstr "" + +#: ../lib/pdk/util/windows/process.rb:44 +msgid "Failed to remove environment variable: %{name}" +msgstr "" + +#: ../lib/pdk/util/windows/process.rb:49 +msgid "Failed to set environment variaible: %{name}" +msgstr "" + +#: ../lib/pdk/validate/base_validator.rb:105 msgid "Invoking %{cmd}" msgstr "" -#: ../lib/pdk/validate/base_validator.rb:108 +#: ../lib/pdk/validate/base_validator.rb:110 msgid "%{validator}: Skipped '%{target}'. Target does not contain any files to validate (%{pattern})." msgstr "" -#: ../lib/pdk/validate/base_validator.rb:112 +#: ../lib/pdk/validate/base_validator.rb:114 msgid "Target does not contain any files to validate (%{pattern})." msgstr "" -#: ../lib/pdk/validate/base_validator.rb:121 +#: ../lib/pdk/validate/base_validator.rb:123 msgid "%{validator}: Skipped '%{target}'. Target file not found." msgstr "" -#: ../lib/pdk/validate/base_validator.rb:125 +#: ../lib/pdk/validate/base_validator.rb:127 msgid "File does not exist." msgstr "" #: ../lib/pdk/validate/metadata/metadata_json_lint.rb:19 msgid "Checking module metadata style (%{targets})."