hammer_cli 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/hammer +1 -1
- data/doc/release_notes.md +9 -0
- data/lib/hammer_cli/abstract.rb +14 -4
- data/lib/hammer_cli/context.rb +13 -0
- data/lib/hammer_cli/defaults.rb +83 -0
- data/lib/hammer_cli/defaults_commands.rb +160 -0
- data/lib/hammer_cli/options/option_definition.rb +3 -3
- data/lib/hammer_cli/output/adapter/json.rb +13 -0
- data/lib/hammer_cli/output/adapter/yaml.rb +13 -0
- data/lib/hammer_cli/settings.rb +1 -0
- data/lib/hammer_cli/version.rb +1 -1
- data/lib/hammer_cli.rb +2 -0
- data/locale/de/hammer-cli.edit.po +251 -139
- data/locale/de/hammer-cli.po +81 -7
- data/locale/en/hammer-cli.edit.po +95 -7
- data/locale/en/hammer-cli.po +79 -5
- data/locale/en_GB/hammer-cli.edit.po +248 -136
- data/locale/en_GB/hammer-cli.po +81 -7
- data/locale/es/hammer-cli.edit.po +250 -138
- data/locale/es/hammer-cli.po +81 -7
- data/locale/fr/hammer-cli.edit.po +250 -138
- data/locale/fr/hammer-cli.po +81 -7
- data/locale/hammer-cli.pot +104 -8
- data/locale/it/hammer-cli.edit.po +249 -137
- data/locale/it/hammer-cli.po +81 -7
- data/locale/ja/hammer-cli.edit.po +248 -136
- data/locale/ja/hammer-cli.po +81 -7
- data/locale/ko/hammer-cli.edit.po +248 -136
- data/locale/ko/hammer-cli.po +81 -7
- data/locale/pt_BR/hammer-cli.edit.po +250 -137
- data/locale/pt_BR/hammer-cli.po +81 -7
- data/locale/ru/hammer-cli.edit.po +249 -137
- data/locale/ru/hammer-cli.po +81 -7
- data/locale/zh_CN/hammer-cli.edit.po +248 -136
- data/locale/zh_CN/hammer-cli.po +82 -8
- data/locale/zh_TW/hammer-cli.edit.po +248 -136
- data/locale/zh_TW/hammer-cli.po +81 -7
- data/test/functional/defaults_test.rb +177 -0
- data/test/reports/TEST-Fields-ContainerField-display-.xml +1 -1
- data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +5 -5
- data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +5 -5
- data/test/reports/TEST-Fields-ContainerField.xml +1 -1
- data/test/reports/TEST-Fields-Field-display-.xml +1 -1
- data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +3 -3
- data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +3 -3
- data/test/reports/TEST-Fields-Field-hide-blank-.xml +3 -3
- data/test/reports/TEST-Fields-Field-parameters.xml +2 -2
- data/test/reports/TEST-Fields-Field.xml +4 -4
- data/test/reports/TEST-Fields-Label-display-.xml +7 -0
- data/test/reports/TEST-Fields-Label-display-blank-is-allowed.xml +15 -0
- data/test/reports/TEST-Fields-Label-display-blank-is-not-allowed.xml +15 -0
- data/test/reports/TEST-Fields-Label.xml +7 -0
- data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +5 -5
- data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +4 -4
- data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +10 -8
- data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +3 -3
- data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +3 -3
- data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +7 -7
- data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +3 -3
- data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +4 -4
- data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +3 -3
- data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +1 -1
- data/test/reports/TEST-HammerCLI-AbstractCommand.xml +3 -3
- data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +3 -3
- data/test/reports/TEST-HammerCLI-Apipie-Command-reload-apipie-cache.xml +11 -0
- data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +2 -2
- data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +7 -7
- data/test/reports/TEST-HammerCLI-Apipie-Command.xml +2 -2
- data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +4 -4
- data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +5 -5
- data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +3 -3
- data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +8 -2
- data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-referenced-resources.xml +9 -0
- data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +3 -3
- data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +5 -5
- data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +1 -1
- data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition-referenced-resource.xml +13 -0
- data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition.xml +7 -0
- data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +12 -12
- data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +6 -6
- data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +7 -7
- data/test/reports/TEST-HammerCLI-Completer.xml +1 -1
- data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +10 -10
- data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +12 -12
- data/test/reports/TEST-HammerCLI-CompleterLine.xml +1 -1
- data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +9 -9
- data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +5 -5
- data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +4 -4
- data/test/reports/TEST-HammerCLI-CompleterWord.xml +1 -1
- data/test/reports/TEST-HammerCLI-Connection.xml +8 -8
- data/test/reports/TEST-HammerCLI-Defaults.xml +19 -0
- data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +8 -8
- data/test/reports/TEST-HammerCLI-I18n.xml +3 -3
- data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +3 -3
- data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +3 -3
- data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +2 -2
- data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +1 -1
- data/test/reports/TEST-HammerCLI-MainCommand.xml +1 -1
- data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +4 -4
- data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +4 -4
- data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +4 -4
- data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +5 -5
- data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +1 -1
- data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +4 -2
- data/test/reports/TEST-HammerCLI-Modules-names.xml +4 -4
- data/test/reports/TEST-HammerCLI-Modules.xml +1 -1
- data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +5 -1
- data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +1 -5
- data/test/reports/TEST-HammerCLI-Options-Matcher.xml +17 -0
- data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +2 -2
- data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +13 -13
- data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +6 -6
- data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +5 -5
- data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +8 -8
- data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +5 -5
- data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +26 -6
- data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +5 -5
- data/test/reports/TEST-HammerCLI-Options-Normalizers-number.xml +11 -0
- data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +1 -1
- data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +2 -2
- data/test/reports/TEST-HammerCLI-Options-OptionDefinition-deprecated-options.xml +11 -0
- data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +3 -3
- data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +1 -1
- data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +5 -5
- data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +5 -5
- data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +6 -6
- data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +2 -2
- data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +11 -11
- data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +1 -1
- data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +1 -1
- data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection-show-ids.xml +9 -0
- data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection.xml +27 -0
- data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-message.xml +11 -0
- data/test/reports/TEST-HammerCLI-Output-Adapter-Json.xml +7 -0
- data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +11 -5
- data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +7 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +2 -2
- data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +1 -1
- data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection-show-ids.xml +9 -0
- data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection.xml +27 -0
- data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-message.xml +11 -0
- data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml.xml +7 -0
- data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Definition.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +5 -5
- data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Dsl.xml +2 -2
- data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +2 -2
- data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +3 -3
- data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +4 -4
- data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +6 -6
- data/test/reports/TEST-HammerCLI-Output-Output-data.xml +5 -5
- data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +2 -2
- data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +7 -7
- data/test/reports/TEST-HammerCLI-Output-Output.xml +1 -1
- data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +4 -4
- data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +5 -5
- data/test/reports/TEST-HammerCLI-Settings.xml +10 -10
- data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +3 -3
- data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +5 -5
- data/test/reports/TEST-HammerCLI-ShellHistory.xml +1 -1
- data/test/reports/TEST-HammerCLI-constant-path.xml +15 -0
- data/test/reports/{TEST-String-interactive-.xml → TEST-HammerCLI-interactive-.xml} +4 -4
- data/test/reports/TEST-HammerCLI.xml +7 -0
- data/test/reports/TEST-Logging-LogEvent-filtering.xml +9 -0
- data/test/reports/TEST-Logging-LogEvent.xml +7 -0
- data/test/reports/TEST-MiniTest-Spec.xml +1 -1
- data/test/reports/TEST-String-camelize.xml +3 -3
- data/test/reports/TEST-String-constantize.xml +15 -0
- data/test/reports/TEST-String-formatting.xml +6 -6
- data/test/reports/TEST-String-indent.xml +3 -3
- data/test/reports/TEST-String-underscore.xml +13 -0
- data/test/reports/TEST-String.xml +1 -1
- data/test/reports/TEST-commands-defaults-add.xml +21 -0
- data/test/reports/TEST-commands-defaults-delete.xml +11 -0
- data/test/reports/TEST-commands-defaults-list.xml +11 -0
- data/test/reports/TEST-commands-defaults-providers.xml +11 -0
- data/test/reports/TEST-commands.xml +7 -0
- data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +4 -4
- data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +1 -1
- data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +4 -4
- data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +1 -1
- data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +2 -2
- data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +4 -4
- data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +4 -4
- data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +1 -1
- data/test/reports/TEST-constraints.xml +1 -1
- data/test/unit/apipie/command_test.rb +1 -0
- data/test/unit/defaults_test.rb +45 -0
- data/test/unit/fixtures/defaults/defaults.yml +6 -0
- data/test/unit/output/adapter/json_test.rb +30 -0
- data/test/unit/output/adapter/yaml_test.rb +28 -0
- metadata +258 -186
|
@@ -8,9 +8,9 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: Foreman\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date:
|
|
12
|
-
"PO-Revision-Date: 2015-
|
|
13
|
-
"Last-Translator:
|
|
11
|
+
"POT-Creation-Date: 2015-12-08 08:56+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2015-12-11 09:09+0000\n"
|
|
13
|
+
"Last-Translator: Lukáš Zapletal\n"
|
|
14
14
|
"Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)\n"
|
|
15
15
|
"MIME-Version: 1.0\n"
|
|
16
16
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -18,282 +18,394 @@ msgstr ""
|
|
|
18
18
|
"Language: zh_CN\n"
|
|
19
19
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
20
20
|
|
|
21
|
-
#: lib/hammer_cli/clamp.rb:5
|
|
21
|
+
#: ../lib/hammer_cli/clamp.rb:5
|
|
22
22
|
msgid "too many arguments"
|
|
23
23
|
msgstr "参数太多"
|
|
24
24
|
|
|
25
|
-
#: lib/hammer_cli/clamp.rb:6
|
|
25
|
+
#: ../lib/hammer_cli/clamp.rb:6
|
|
26
26
|
msgid "option '%<option>s' is required"
|
|
27
27
|
msgstr "需要选项 '%<option>s'"
|
|
28
28
|
|
|
29
|
-
#: lib/hammer_cli/clamp.rb:7
|
|
29
|
+
#: ../lib/hammer_cli/clamp.rb:7
|
|
30
30
|
msgid "option '%<option>s' (or env %<env>s) is required"
|
|
31
31
|
msgstr "需要选项 '%<option>s'(或者 env %<env>s)"
|
|
32
32
|
|
|
33
|
-
#: lib/hammer_cli/clamp.rb:8
|
|
33
|
+
#: ../lib/hammer_cli/clamp.rb:8
|
|
34
34
|
msgid "option '%<switch>s': %<message>s"
|
|
35
35
|
msgstr "选项 '%<switch>s': %<message>s"
|
|
36
36
|
|
|
37
|
-
#: lib/hammer_cli/clamp.rb:9
|
|
37
|
+
#: ../lib/hammer_cli/clamp.rb:9
|
|
38
38
|
msgid "parameter '%<param>s': %<message>s"
|
|
39
39
|
msgstr "参数 '%<param>s': %<message>s"
|
|
40
40
|
|
|
41
|
-
#: lib/hammer_cli/clamp.rb:10
|
|
41
|
+
#: ../lib/hammer_cli/clamp.rb:10
|
|
42
42
|
msgid "%<env>s: %<message>s"
|
|
43
43
|
msgstr "%<env>s: %<message>s"
|
|
44
44
|
|
|
45
|
-
#: lib/hammer_cli/clamp.rb:11
|
|
45
|
+
#: ../lib/hammer_cli/clamp.rb:11
|
|
46
46
|
msgid "Unrecognised option '%<switch>s'"
|
|
47
47
|
msgstr "无法识别的选项 '%<switch>s'"
|
|
48
48
|
|
|
49
|
-
#: lib/hammer_cli/clamp.rb:12
|
|
49
|
+
#: ../lib/hammer_cli/clamp.rb:12
|
|
50
50
|
msgid "No such sub-command '%<name>s'"
|
|
51
51
|
msgstr "没有子命令 '%<name>s'"
|
|
52
52
|
|
|
53
|
-
#: lib/hammer_cli/clamp.rb:13
|
|
53
|
+
#: ../lib/hammer_cli/clamp.rb:13
|
|
54
54
|
msgid "no value provided"
|
|
55
55
|
msgstr "未提供数值"
|
|
56
56
|
|
|
57
|
-
#: lib/hammer_cli/
|
|
58
|
-
msgid "
|
|
59
|
-
msgstr "
|
|
57
|
+
#: ../lib/hammer_cli/defaults.rb:72
|
|
58
|
+
msgid "Couldn't create %s please create the path before defaults are enabled."
|
|
59
|
+
msgstr ""
|
|
60
60
|
|
|
61
|
-
#: lib/hammer_cli/
|
|
62
|
-
msgid "
|
|
63
|
-
msgstr "
|
|
61
|
+
#: ../lib/hammer_cli/defaults.rb:82
|
|
62
|
+
msgid "Defaults management"
|
|
63
|
+
msgstr ""
|
|
64
64
|
|
|
65
|
-
#: lib/hammer_cli/
|
|
66
|
-
msgid "
|
|
67
|
-
msgstr "
|
|
65
|
+
#: ../lib/hammer_cli/defaults_commands.rb:25
|
|
66
|
+
msgid "List all the providers"
|
|
67
|
+
msgstr ""
|
|
68
68
|
|
|
69
|
-
#: lib/hammer_cli/
|
|
70
|
-
msgid "
|
|
71
|
-
msgstr "
|
|
69
|
+
#: ../lib/hammer_cli/defaults_commands.rb:37
|
|
70
|
+
msgid "Provider"
|
|
71
|
+
msgstr ""
|
|
72
72
|
|
|
73
|
-
#: lib/hammer_cli/
|
|
74
|
-
msgid "
|
|
75
|
-
msgstr "
|
|
73
|
+
#: ../lib/hammer_cli/defaults_commands.rb:38
|
|
74
|
+
msgid "Supported defaults"
|
|
75
|
+
msgstr ""
|
|
76
76
|
|
|
77
|
-
#: lib/hammer_cli/
|
|
78
|
-
msgid "
|
|
79
|
-
msgstr "
|
|
77
|
+
#: ../lib/hammer_cli/defaults_commands.rb:39
|
|
78
|
+
msgid "Description"
|
|
79
|
+
msgstr ""
|
|
80
80
|
|
|
81
|
-
#: lib/hammer_cli/
|
|
82
|
-
msgid "
|
|
83
|
-
msgstr "
|
|
81
|
+
#: ../lib/hammer_cli/defaults_commands.rb:56
|
|
82
|
+
msgid "List all the default parameters"
|
|
83
|
+
msgstr ""
|
|
84
84
|
|
|
85
|
-
#: lib/hammer_cli/
|
|
86
|
-
msgid "
|
|
87
|
-
msgstr "
|
|
85
|
+
#: ../lib/hammer_cli/defaults_commands.rb:67
|
|
86
|
+
msgid "Parameter"
|
|
87
|
+
msgstr ""
|
|
88
88
|
|
|
89
|
-
#: lib/hammer_cli/
|
|
90
|
-
msgid "
|
|
91
|
-
msgstr "
|
|
89
|
+
#: ../lib/hammer_cli/defaults_commands.rb:68
|
|
90
|
+
msgid "Value"
|
|
91
|
+
msgstr ""
|
|
92
92
|
|
|
93
|
-
#: lib/hammer_cli/
|
|
94
|
-
msgid "
|
|
95
|
-
msgstr "
|
|
93
|
+
#: ../lib/hammer_cli/defaults_commands.rb:86
|
|
94
|
+
msgid "Delete a default param"
|
|
95
|
+
msgstr ""
|
|
96
96
|
|
|
97
|
-
#: lib/hammer_cli/
|
|
98
|
-
msgid "
|
|
99
|
-
msgstr "
|
|
97
|
+
#: ../lib/hammer_cli/defaults_commands.rb:87
|
|
98
|
+
msgid "The name of the default option"
|
|
99
|
+
msgstr ""
|
|
100
100
|
|
|
101
|
-
#: lib/hammer_cli/
|
|
102
|
-
msgid "
|
|
103
|
-
msgstr "
|
|
101
|
+
#: ../lib/hammer_cli/defaults_commands.rb:103
|
|
102
|
+
msgid "Add a default parameter to config"
|
|
103
|
+
msgstr ""
|
|
104
104
|
|
|
105
|
-
#: lib/hammer_cli/
|
|
106
|
-
msgid "
|
|
107
|
-
msgstr "
|
|
105
|
+
#: ../lib/hammer_cli/defaults_commands.rb:104
|
|
106
|
+
msgid "The name of the default option (e.g. organization_id)."
|
|
107
|
+
msgstr ""
|
|
108
108
|
|
|
109
|
-
#: lib/hammer_cli/
|
|
110
|
-
msgid "
|
|
111
|
-
msgstr "
|
|
109
|
+
#: ../lib/hammer_cli/defaults_commands.rb:105
|
|
110
|
+
msgid "The value for the default option"
|
|
111
|
+
msgstr ""
|
|
112
112
|
|
|
113
|
-
#: lib/hammer_cli/
|
|
114
|
-
msgid "
|
|
115
|
-
|
|
113
|
+
#: ../lib/hammer_cli/defaults_commands.rb:106
|
|
114
|
+
msgid ""
|
|
115
|
+
"The name of the provider providing the value. For list available providers "
|
|
116
|
+
"see `hammer defaults providers`."
|
|
117
|
+
msgstr ""
|
|
118
|
+
|
|
119
|
+
#: ../lib/hammer_cli/defaults_commands.rb:134
|
|
120
|
+
msgid ""
|
|
121
|
+
"Added %{key_val} default-option with value that will be generated from the "
|
|
122
|
+
"server."
|
|
123
|
+
msgstr ""
|
|
116
124
|
|
|
117
|
-
#: lib/hammer_cli/
|
|
125
|
+
#: ../lib/hammer_cli/defaults_commands.rb:135
|
|
126
|
+
msgid "Added %{key_val} default-option with value %{val_val}."
|
|
127
|
+
msgstr ""
|
|
128
|
+
|
|
129
|
+
#: ../lib/hammer_cli/defaults_commands.rb:139
|
|
130
|
+
msgid ""
|
|
131
|
+
"\"Provider #{namespace} was not found. See `hammer defaults providers` for "
|
|
132
|
+
"available providers.\""
|
|
133
|
+
msgstr ""
|
|
134
|
+
|
|
135
|
+
#: ../lib/hammer_cli/defaults_commands.rb:143
|
|
136
|
+
msgid ""
|
|
137
|
+
"The param name is not supported by provider. See `hammer defaults providers`"
|
|
138
|
+
" for supported params."
|
|
139
|
+
msgstr ""
|
|
140
|
+
|
|
141
|
+
#: ../lib/hammer_cli/defaults_commands.rb:147
|
|
142
|
+
msgid "%{param} was deleted successfully."
|
|
143
|
+
msgstr ""
|
|
144
|
+
|
|
145
|
+
#: ../lib/hammer_cli/defaults_commands.rb:151
|
|
146
|
+
msgid "You must specify value or a provider name, cant specify both."
|
|
147
|
+
msgstr ""
|
|
148
|
+
|
|
149
|
+
#: ../lib/hammer_cli/defaults_commands.rb:155
|
|
150
|
+
msgid "Couldn't find the requested param in %s."
|
|
151
|
+
msgstr ""
|
|
152
|
+
|
|
153
|
+
#: ../lib/hammer_cli/exception_handler.rb:62
|
|
154
|
+
msgid "Error: %s"
|
|
155
|
+
msgstr "错误:%s"
|
|
156
|
+
|
|
157
|
+
#: ../lib/hammer_cli/exception_handler.rb:68
|
|
158
|
+
msgid "Error: %{message}"
|
|
159
|
+
msgstr "错误:%{message}"
|
|
160
|
+
|
|
161
|
+
#: ../lib/hammer_cli/exception_handler.rb:69
|
|
162
|
+
msgid "See: '%{path} --help'"
|
|
163
|
+
msgstr "请查看: '%{path} --help'"
|
|
164
|
+
|
|
165
|
+
#: ../lib/hammer_cli/exception_handler.rb:86
|
|
166
|
+
msgid "Invalid username or password"
|
|
167
|
+
msgstr "无效用户名或密码"
|
|
168
|
+
|
|
169
|
+
#: ../lib/hammer_cli/exception_handler.rb:93
|
|
170
|
+
msgid "Could not load the API description from the server"
|
|
171
|
+
msgstr "无法从服务器载入 API 描述"
|
|
172
|
+
|
|
173
|
+
#: ../lib/hammer_cli/exception_handler.rb:94
|
|
174
|
+
msgid "is the server down?"
|
|
175
|
+
msgstr "服务器宕机了吗?"
|
|
176
|
+
|
|
177
|
+
#: ../lib/hammer_cli/exception_handler.rb:95
|
|
178
|
+
msgid ""
|
|
179
|
+
"was '%s' run on the server when using apipie cache? (typical production "
|
|
180
|
+
"settings)"
|
|
181
|
+
msgstr "使用 apipie 缓存时服务器中是否运行了 '%s'?(典型产品设置)"
|
|
182
|
+
|
|
183
|
+
#: ../lib/hammer_cli/exception_handler.rb:101
|
|
184
|
+
msgid "Missing arguments for %s"
|
|
185
|
+
msgstr "缺少 %s 的参数"
|
|
186
|
+
|
|
187
|
+
#: ../lib/hammer_cli/logger.rb:57
|
|
118
188
|
msgid "No permissions to create log dir %s"
|
|
119
189
|
msgstr "没有创建日志目录 %s 的权限"
|
|
120
190
|
|
|
121
|
-
#: lib/hammer_cli/logger.rb:
|
|
191
|
+
#: ../lib/hammer_cli/logger.rb:72
|
|
122
192
|
msgid "File %s not writeable, won't log anything to the file!"
|
|
123
193
|
msgstr "无法写入文件 %s,因此无法记录文件的任何变化!"
|
|
124
194
|
|
|
125
|
-
#: lib/hammer_cli/main.rb:7
|
|
195
|
+
#: ../lib/hammer_cli/main.rb:7
|
|
126
196
|
msgid "be verbose"
|
|
127
197
|
msgstr "更详细"
|
|
128
198
|
|
|
129
|
-
#: lib/hammer_cli/main.rb:8
|
|
199
|
+
#: ../lib/hammer_cli/main.rb:8
|
|
130
200
|
msgid "show debugging output "
|
|
131
201
|
msgstr "显示调试输出结果"
|
|
132
202
|
|
|
133
|
-
#: lib/hammer_cli/main.rb:9
|
|
203
|
+
#: ../lib/hammer_cli/main.rb:9
|
|
134
204
|
msgid "force reload of Apipie cache"
|
|
135
205
|
msgstr "强制重新载入 Apipie 缓存"
|
|
136
206
|
|
|
137
|
-
#: lib/hammer_cli/main.rb:11
|
|
207
|
+
#: ../lib/hammer_cli/main.rb:11
|
|
138
208
|
msgid "path to custom config file"
|
|
139
209
|
msgstr "到自定义配置文件的路径"
|
|
140
210
|
|
|
141
|
-
#: lib/hammer_cli/main.rb:13
|
|
211
|
+
#: ../lib/hammer_cli/main.rb:13
|
|
142
212
|
msgid "username to access the remote system"
|
|
143
213
|
msgstr "访问远程系统的用户名"
|
|
144
214
|
|
|
145
|
-
#: lib/hammer_cli/main.rb:15
|
|
215
|
+
#: ../lib/hammer_cli/main.rb:15
|
|
146
216
|
msgid "password to access the remote system"
|
|
147
217
|
msgstr "访问远程系统的密码"
|
|
148
218
|
|
|
149
|
-
#: lib/hammer_cli/main.rb:17
|
|
219
|
+
#: ../lib/hammer_cli/main.rb:17
|
|
150
220
|
msgid "remote system address"
|
|
151
221
|
msgstr "远程系统地址"
|
|
152
222
|
|
|
153
|
-
#: lib/hammer_cli/main.rb:20
|
|
223
|
+
#: ../lib/hammer_cli/main.rb:20
|
|
154
224
|
msgid "show version"
|
|
155
225
|
msgstr "显示版本"
|
|
156
226
|
|
|
157
|
-
#: lib/hammer_cli/main.rb:
|
|
227
|
+
#: ../lib/hammer_cli/main.rb:23
|
|
228
|
+
msgid "unknown version"
|
|
229
|
+
msgstr ""
|
|
230
|
+
|
|
231
|
+
#: ../lib/hammer_cli/main.rb:29
|
|
158
232
|
msgid "Show ids of associated resources"
|
|
159
233
|
msgstr "显示关联资源的 id"
|
|
160
234
|
|
|
161
|
-
#: lib/hammer_cli/main.rb:31
|
|
235
|
+
#: ../lib/hammer_cli/main.rb:31
|
|
162
236
|
msgid "Explicitly turn interactive mode on/off"
|
|
163
237
|
msgstr "明确打开/关闭互动模式"
|
|
164
238
|
|
|
165
|
-
#: lib/hammer_cli/main.rb:35
|
|
239
|
+
#: ../lib/hammer_cli/main.rb:35
|
|
166
240
|
msgid "Output as CSV (same as --output=csv)"
|
|
167
241
|
msgstr "作为 CSV 输出(与 --output=csv 相同) "
|
|
168
242
|
|
|
169
|
-
#: lib/hammer_cli/main.rb:36
|
|
243
|
+
#: ../lib/hammer_cli/main.rb:36
|
|
170
244
|
msgid "Set output format. One of [%s]"
|
|
171
245
|
msgstr "设定输出格式。[%s] 之一"
|
|
172
246
|
|
|
173
|
-
#: lib/hammer_cli/main.rb:39
|
|
247
|
+
#: ../lib/hammer_cli/main.rb:39
|
|
174
248
|
msgid "Character to separate the values"
|
|
175
249
|
msgstr "用来分开数值的字符"
|
|
176
250
|
|
|
177
|
-
#: lib/hammer_cli/main.rb:43
|
|
251
|
+
#: ../lib/hammer_cli/main.rb:43
|
|
178
252
|
msgid "Get list of possible endings"
|
|
179
253
|
msgstr "获取可能结尾的列表"
|
|
180
254
|
|
|
181
|
-
#: lib/hammer_cli/
|
|
182
|
-
msgid ""
|
|
183
|
-
"Warning: location hammer.modules.d is deprecated, move your module "
|
|
184
|
-
"configurations to cli.modules.d"
|
|
185
|
-
msgstr "警告:位置 hammer.modules.d 已启用,请将您的模块配置移至 cli.modules.d。"
|
|
186
|
-
|
|
187
|
-
#: lib/hammer_cli/modules.rb:12
|
|
255
|
+
#: ../lib/hammer_cli/modules.rb:12
|
|
188
256
|
msgid ""
|
|
189
257
|
"Legacy configuration of modules detected. Check section about configuration "
|
|
190
258
|
"in user manual"
|
|
191
259
|
msgstr "探测到遗留的模块配置。请在用户手册中查看有关配置一节。"
|
|
192
260
|
|
|
193
|
-
#: lib/hammer_cli/modules.rb:60
|
|
261
|
+
#: ../lib/hammer_cli/modules.rb:60
|
|
194
262
|
msgid "Warning: An error occured while loading module %s"
|
|
195
263
|
msgstr "警告:载入模块 %s 时出错"
|
|
196
264
|
|
|
197
|
-
#: lib/hammer_cli/modules.rb:87
|
|
265
|
+
#: ../lib/hammer_cli/modules.rb:87
|
|
198
266
|
msgid "Error: Some of the required modules are disabled in configuration: %s "
|
|
199
267
|
msgstr "错误:在配置中禁用了一些要求的模块:%s"
|
|
200
268
|
|
|
201
|
-
#: lib/hammer_cli/
|
|
202
|
-
msgid "
|
|
203
|
-
msgstr "
|
|
269
|
+
#: ../lib/hammer_cli/options/normalizers.rb:26
|
|
270
|
+
msgid "Comma-separated list of key=value."
|
|
271
|
+
msgstr "用逗号分开的 key=value 列表。"
|
|
204
272
|
|
|
205
|
-
#: lib/hammer_cli/
|
|
206
|
-
msgid "
|
|
207
|
-
msgstr "
|
|
273
|
+
#: ../lib/hammer_cli/options/normalizers.rb:39
|
|
274
|
+
msgid "value must be defined as a comma-separated list of key=value"
|
|
275
|
+
msgstr "必须使用以逗号分开的 key=value 列表定义数值"
|
|
208
276
|
|
|
209
|
-
#: lib/hammer_cli/
|
|
210
|
-
msgid "
|
|
211
|
-
msgstr "
|
|
277
|
+
#: ../lib/hammer_cli/options/normalizers.rb:73
|
|
278
|
+
msgid "Comma separated list of values."
|
|
279
|
+
msgstr "逗号分开的数值列表。"
|
|
212
280
|
|
|
213
|
-
#: lib/hammer_cli/
|
|
214
|
-
msgid "
|
|
215
|
-
msgstr "
|
|
281
|
+
#: ../lib/hammer_cli/options/normalizers.rb:88
|
|
282
|
+
msgid "numeric value is required"
|
|
283
|
+
msgstr ""
|
|
216
284
|
|
|
217
|
-
#: lib/hammer_cli/
|
|
218
|
-
msgid "
|
|
219
|
-
msgstr "
|
|
285
|
+
#: ../lib/hammer_cli/options/normalizers.rb:102
|
|
286
|
+
msgid "One of true/false, yes/no, 1/0."
|
|
287
|
+
msgstr "从 true/false、yes/no、1/0 中选择一组。"
|
|
220
288
|
|
|
221
|
-
#: lib/hammer_cli/
|
|
222
|
-
msgid "
|
|
223
|
-
msgstr "
|
|
289
|
+
#: ../lib/hammer_cli/options/normalizers.rb:112
|
|
290
|
+
msgid "value must be one of true/false, yes/no, 1/0"
|
|
291
|
+
msgstr "数值必须是 true/false、yes/no、1/0 中的一个"
|
|
224
292
|
|
|
225
|
-
#: lib/hammer_cli/
|
|
226
|
-
msgid ""
|
|
227
|
-
"
|
|
228
|
-
"settings)"
|
|
229
|
-
msgstr "使用 apipie 缓存时服务器中是否运行了 '%s'?(典型产品设置)"
|
|
293
|
+
#: ../lib/hammer_cli/options/normalizers.rb:151
|
|
294
|
+
msgid "Unable to parse JSON input"
|
|
295
|
+
msgstr "无法解析 JSON 输入"
|
|
230
296
|
|
|
231
|
-
#: lib/hammer_cli/
|
|
232
|
-
msgid "
|
|
233
|
-
msgstr "
|
|
297
|
+
#: ../lib/hammer_cli/options/normalizers.rb:165
|
|
298
|
+
msgid "Possible value(s): %s"
|
|
299
|
+
msgstr ""
|
|
234
300
|
|
|
235
|
-
#: lib/hammer_cli/
|
|
236
|
-
msgid "
|
|
237
|
-
msgstr "
|
|
301
|
+
#: ../lib/hammer_cli/options/normalizers.rb:173
|
|
302
|
+
msgid "value must be %s"
|
|
303
|
+
msgstr ""
|
|
238
304
|
|
|
239
|
-
#: lib/hammer_cli/
|
|
240
|
-
msgid "
|
|
241
|
-
msgstr "
|
|
305
|
+
#: ../lib/hammer_cli/options/normalizers.rb:175
|
|
306
|
+
msgid "value must be one of %s"
|
|
307
|
+
msgstr ""
|
|
242
308
|
|
|
243
|
-
#: lib/hammer_cli/
|
|
244
|
-
msgid "
|
|
245
|
-
msgstr "
|
|
309
|
+
#: ../lib/hammer_cli/options/normalizers.rb:196
|
|
310
|
+
msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
|
|
311
|
+
msgstr "日期和时间格式为 YYYY-MM-DD HH:MM:SS 或者 ISO 8601 格式"
|
|
246
312
|
|
|
247
|
-
#: lib/hammer_cli/
|
|
248
|
-
msgid "
|
|
249
|
-
msgstr "
|
|
313
|
+
#: ../lib/hammer_cli/options/normalizers.rb:203
|
|
314
|
+
msgid "'%s' is not a valid date"
|
|
315
|
+
msgstr "'%s' 不是有效日期"
|
|
250
316
|
|
|
251
|
-
#: lib/hammer_cli/
|
|
252
|
-
msgid "
|
|
253
|
-
msgstr "
|
|
317
|
+
#: ../lib/hammer_cli/options/normalizers.rb:214
|
|
318
|
+
msgid "Any combination (comma separated list) of '%s'"
|
|
319
|
+
msgstr "'%s' 的任意组合(用逗号分开的列表)"
|
|
320
|
+
|
|
321
|
+
#: ../lib/hammer_cli/options/normalizers.rb:234
|
|
322
|
+
msgid "value must be a combination of '%s'"
|
|
323
|
+
msgstr "数值必须为 '%s' 之一"
|
|
324
|
+
|
|
325
|
+
#: ../lib/hammer_cli/options/option_definition.rb:56
|
|
326
|
+
msgid "Warning: Option %{option} is deprecated. %{message}"
|
|
327
|
+
msgstr ""
|
|
254
328
|
|
|
255
|
-
#: lib/hammer_cli/
|
|
329
|
+
#: ../lib/hammer_cli/options/option_definition.rb:80
|
|
330
|
+
msgid "Can be specified multiple times. "
|
|
331
|
+
msgstr "无法多次指定。"
|
|
332
|
+
|
|
333
|
+
#: ../lib/hammer_cli/options/option_definition.rb:81
|
|
334
|
+
msgid "Default: "
|
|
335
|
+
msgstr "默认:"
|
|
336
|
+
|
|
337
|
+
#: ../lib/hammer_cli/options/option_definition.rb:81
|
|
338
|
+
msgid ", or "
|
|
339
|
+
msgstr ",或者"
|
|
340
|
+
|
|
341
|
+
#: ../lib/hammer_cli/output/adapter/csv.rb:174
|
|
256
342
|
msgid "Message"
|
|
257
343
|
msgstr "信息"
|
|
258
344
|
|
|
259
|
-
#: lib/hammer_cli/output/adapter/csv.rb:178
|
|
345
|
+
#: ../lib/hammer_cli/output/adapter/csv.rb:178
|
|
260
346
|
msgid "Id"
|
|
261
347
|
msgstr "Id"
|
|
262
348
|
|
|
263
|
-
#: lib/hammer_cli/output/adapter/csv.rb:183
|
|
349
|
+
#: ../lib/hammer_cli/output/adapter/csv.rb:183
|
|
264
350
|
msgid "Name"
|
|
265
351
|
msgstr "名称"
|
|
266
352
|
|
|
267
|
-
#: lib/hammer_cli/output/formatters.rb:154
|
|
353
|
+
#: ../lib/hammer_cli/output/formatters.rb:154
|
|
354
|
+
msgid "yes"
|
|
355
|
+
msgstr "是"
|
|
356
|
+
|
|
357
|
+
#: ../lib/hammer_cli/output/formatters.rb:154
|
|
268
358
|
msgid "no"
|
|
269
359
|
msgstr "否"
|
|
270
360
|
|
|
271
|
-
#: lib/hammer_cli/
|
|
272
|
-
msgid "
|
|
273
|
-
|
|
361
|
+
#: ../lib/hammer_cli/settings.rb:27
|
|
362
|
+
msgid ""
|
|
363
|
+
"Warning: location hammer.modules.d is deprecated, move your module "
|
|
364
|
+
"configurations to cli.modules.d"
|
|
365
|
+
msgstr "警告:位置 hammer.modules.d 已启用,请将您的模块配置移至 cli.modules.d。"
|
|
274
366
|
|
|
275
|
-
#: lib/hammer_cli/shell.rb:10
|
|
367
|
+
#: ../lib/hammer_cli/shell.rb:10
|
|
276
368
|
msgid "Print help for commands"
|
|
277
369
|
msgstr "输出命令帮助信息"
|
|
278
370
|
|
|
279
|
-
#: lib/hammer_cli/shell.rb:22
|
|
371
|
+
#: ../lib/hammer_cli/shell.rb:22
|
|
280
372
|
msgid "Exit interactive shell"
|
|
281
373
|
msgstr "退出互动 shell"
|
|
282
374
|
|
|
283
|
-
#: lib/hammer_cli/shell.rb:116
|
|
375
|
+
#: ../lib/hammer_cli/shell.rb:116
|
|
284
376
|
msgid "Welcome to the hammer interactive shell"
|
|
285
377
|
msgstr "欢迎使用 hammer 互动 shell"
|
|
286
378
|
|
|
287
|
-
#: lib/hammer_cli/shell.rb:117
|
|
379
|
+
#: ../lib/hammer_cli/shell.rb:117
|
|
288
380
|
msgid "Type 'help' for usage information"
|
|
289
381
|
msgstr "输入 ‘help’ 获取用法信息"
|
|
290
382
|
|
|
291
|
-
#: lib/hammer_cli/shell.rb:133
|
|
383
|
+
#: ../lib/hammer_cli/shell.rb:133
|
|
292
384
|
msgid "Interactive shell"
|
|
293
385
|
msgstr "互动 shell"
|
|
294
386
|
|
|
295
|
-
#: lib/hammer_cli/subcommand.rb:56
|
|
387
|
+
#: ../lib/hammer_cli/subcommand.rb:56
|
|
296
388
|
msgid ""
|
|
297
389
|
"can't replace subcommand %<name>s (%<existing_class>s) with %<name>s "
|
|
298
390
|
"(%<new_class>s)"
|
|
299
391
|
msgstr "无法使用 %<name>s(%<new_class>s)替换子命令 %<name>s(%<existing_class>s)"
|
|
392
|
+
|
|
393
|
+
#: ../lib/hammer_cli/validator.rb:41
|
|
394
|
+
msgid "Unknown option name '%s'"
|
|
395
|
+
msgstr "未知选项名称 '%s'"
|
|
396
|
+
|
|
397
|
+
#: ../lib/hammer_cli/validator.rb:62
|
|
398
|
+
msgid "You can't set all options %s at one time"
|
|
399
|
+
msgstr "无法一次设置所有选项 %s"
|
|
400
|
+
|
|
401
|
+
#: ../lib/hammer_cli/validator.rb:63
|
|
402
|
+
msgid "Options %s are required"
|
|
403
|
+
msgstr "需要选项 %s"
|
|
404
|
+
|
|
405
|
+
#: ../lib/hammer_cli/validator.rb:79
|
|
406
|
+
msgid "You can't set any of options %s"
|
|
407
|
+
msgstr "无法设置任意选项 %s"
|
|
408
|
+
|
|
409
|
+
#: ../lib/hammer_cli/validator.rb:80
|
|
410
|
+
msgid "At least one of options %s is required"
|
|
411
|
+
msgstr "至少需要选项 %s 中的一个"
|
data/locale/zh_CN/hammer-cli.po
CHANGED
|
@@ -42,6 +42,80 @@ msgstr "没有子命令 '%<name>s'"
|
|
|
42
42
|
msgid "no value provided"
|
|
43
43
|
msgstr "未提供数值"
|
|
44
44
|
|
|
45
|
+
msgid "Couldn't create %s please create the path before defaults are enabled."
|
|
46
|
+
msgstr ""
|
|
47
|
+
|
|
48
|
+
msgid "Defaults management"
|
|
49
|
+
msgstr ""
|
|
50
|
+
|
|
51
|
+
msgid "List all the providers"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
msgid "Provider"
|
|
55
|
+
msgstr ""
|
|
56
|
+
|
|
57
|
+
msgid "Supported defaults"
|
|
58
|
+
msgstr ""
|
|
59
|
+
|
|
60
|
+
msgid "Description"
|
|
61
|
+
msgstr ""
|
|
62
|
+
|
|
63
|
+
msgid "List all the default parameters"
|
|
64
|
+
msgstr ""
|
|
65
|
+
|
|
66
|
+
msgid "Parameter"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
69
|
+
msgid "Value"
|
|
70
|
+
msgstr ""
|
|
71
|
+
|
|
72
|
+
msgid "Delete a default param"
|
|
73
|
+
msgstr ""
|
|
74
|
+
|
|
75
|
+
msgid "The name of the default option"
|
|
76
|
+
msgstr ""
|
|
77
|
+
|
|
78
|
+
msgid "Add a default parameter to config"
|
|
79
|
+
msgstr ""
|
|
80
|
+
|
|
81
|
+
msgid "The name of the default option (e.g. organization_id)."
|
|
82
|
+
msgstr ""
|
|
83
|
+
|
|
84
|
+
msgid "The value for the default option"
|
|
85
|
+
msgstr ""
|
|
86
|
+
|
|
87
|
+
msgid ""
|
|
88
|
+
"The name of the provider providing the value. For list available providers see"
|
|
89
|
+
" `hammer defaults providers`."
|
|
90
|
+
msgstr ""
|
|
91
|
+
|
|
92
|
+
msgid ""
|
|
93
|
+
"Added %{key_val} default-option with value that will be generated from the ser"
|
|
94
|
+
"ver."
|
|
95
|
+
msgstr ""
|
|
96
|
+
|
|
97
|
+
msgid "Added %{key_val} default-option with value %{val_val}."
|
|
98
|
+
msgstr ""
|
|
99
|
+
|
|
100
|
+
msgid ""
|
|
101
|
+
"\"Provider #{namespace} was not found. See `hammer defaults providers` for avai"
|
|
102
|
+
"lable providers.\""
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
msgid ""
|
|
106
|
+
"The param name is not supported by provider. See `hammer defaults providers` f"
|
|
107
|
+
"or supported params."
|
|
108
|
+
msgstr ""
|
|
109
|
+
|
|
110
|
+
msgid "%{param} was deleted successfully."
|
|
111
|
+
msgstr ""
|
|
112
|
+
|
|
113
|
+
msgid "You must specify value or a provider name, cant specify both."
|
|
114
|
+
msgstr ""
|
|
115
|
+
|
|
116
|
+
msgid "Couldn't find the requested param in %s."
|
|
117
|
+
msgstr ""
|
|
118
|
+
|
|
45
119
|
# translation auto-copied from project nm-applet, version 0.8.1, document nm-applet
|
|
46
120
|
msgid "Error: %s"
|
|
47
121
|
msgstr "错误:%s"
|
|
@@ -176,19 +250,19 @@ msgstr "'%s' 的任意组合(用逗号分开的列表)"
|
|
|
176
250
|
msgid "value must be a combination of '%s'"
|
|
177
251
|
msgstr "数值必须为 '%s' 之一"
|
|
178
252
|
|
|
179
|
-
msgid "
|
|
253
|
+
msgid "Warning: Option %{option} is deprecated. %{message}"
|
|
180
254
|
msgstr ""
|
|
181
255
|
|
|
182
256
|
msgid "Can be specified multiple times. "
|
|
183
257
|
msgstr "无法多次指定。"
|
|
184
258
|
|
|
185
|
-
msgid ", or "
|
|
186
|
-
msgstr ",或者"
|
|
187
|
-
|
|
188
259
|
# translation auto-copied from project control-center, version 3.8.6, document gnome-control-center-2.0
|
|
189
260
|
msgid "Default: "
|
|
190
261
|
msgstr "默认:"
|
|
191
262
|
|
|
263
|
+
msgid ", or "
|
|
264
|
+
msgstr ",或者"
|
|
265
|
+
|
|
192
266
|
# translation auto-copied from project webkitgtk3, version 2.0.3, document webkitgtk3, author Leah Liu
|
|
193
267
|
msgid "Message"
|
|
194
268
|
msgstr "信息"
|
|
@@ -201,14 +275,14 @@ msgstr "Id"
|
|
|
201
275
|
msgid "Name"
|
|
202
276
|
msgstr "名称"
|
|
203
277
|
|
|
204
|
-
# translation auto-copied from project firstboot, version 19.6, document firstboot, author Leah Liu
|
|
205
|
-
msgid "no"
|
|
206
|
-
msgstr "否"
|
|
207
|
-
|
|
208
278
|
# translation auto-copied from project NetworkManager, version 0.9.9.0, document NetworkManager
|
|
209
279
|
msgid "yes"
|
|
210
280
|
msgstr "是"
|
|
211
281
|
|
|
282
|
+
# translation auto-copied from project firstboot, version 19.6, document firstboot, author Leah Liu
|
|
283
|
+
msgid "no"
|
|
284
|
+
msgstr "否"
|
|
285
|
+
|
|
212
286
|
msgid ""
|
|
213
287
|
"Warning: location hammer.modules.d is deprecated, move your module configurati"
|
|
214
288
|
"ons to cli.modules.d"
|