hammer_cli 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (225) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +22 -1
  3. data/config/cli_config.template.yml +20 -0
  4. data/doc/release_notes.md +7 -0
  5. data/lib/hammer_cli/abstract.rb +12 -15
  6. data/lib/hammer_cli/apipie/api_connection.rb +3 -1
  7. data/lib/hammer_cli/ca_cert_fetcher.rb +67 -0
  8. data/lib/hammer_cli/defaults.rb +18 -10
  9. data/lib/hammer_cli/exception_handler.rb +44 -5
  10. data/lib/hammer_cli/main.rb +8 -0
  11. data/lib/hammer_cli/options/option_collector.rb +22 -0
  12. data/lib/hammer_cli/options/sources/command_line.rb +18 -0
  13. data/lib/hammer_cli/options/sources/saved_defaults.rb +31 -0
  14. data/lib/hammer_cli/output/adapter/table.rb +66 -87
  15. data/lib/hammer_cli/output/fields.rb +1 -1
  16. data/lib/hammer_cli/ssloptions.rb +65 -0
  17. data/lib/hammer_cli/version.rb +1 -1
  18. data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
  19. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  20. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  21. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  22. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  23. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  24. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  25. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  26. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  27. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  28. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  29. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  30. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  31. data/man/hammer.1.gz +0 -0
  32. data/test/unit/abstract_test.rb +34 -0
  33. data/test/unit/apipie/api_connection_test.rb +3 -2
  34. data/test/unit/defaults_test.rb +15 -5
  35. data/test/unit/fixtures/defaults/defaults.yml +2 -0
  36. data/test/unit/options/option_collector_test.rb +29 -0
  37. data/test/unit/options/sources/command_line_test.rb +36 -0
  38. data/test/unit/options/sources/saved_defaults_test.rb +59 -0
  39. data/test/unit/output/adapter/table_test.rb +0 -27
  40. data/test/unit/{options → output}/field_filter_test.rb +0 -0
  41. data/test/unit/output/fields_test.rb +9 -6
  42. data/test/unit/validator_test.rb +0 -6
  43. metadata +60 -382
  44. data/lib/hammer_cli/table_print/column.rb +0 -19
  45. data/lib/hammer_cli/table_print/formatter.rb +0 -18
  46. data/locale/Makefile +0 -57
  47. data/locale/README.md +0 -18
  48. data/locale/ca/hammer-cli.edit.po +0 -445
  49. data/locale/ca/hammer-cli.po +0 -361
  50. data/locale/ca/hammer-cli.po.time_stamp +0 -0
  51. data/locale/de/hammer-cli.edit.po +0 -451
  52. data/locale/de/hammer-cli.po +0 -379
  53. data/locale/de/hammer-cli.po.time_stamp +0 -0
  54. data/locale/en/hammer-cli.edit.po +0 -443
  55. data/locale/en/hammer-cli.po +0 -355
  56. data/locale/en/hammer-cli.po.time_stamp +0 -0
  57. data/locale/en_GB/hammer-cli.edit.po +0 -445
  58. data/locale/en_GB/hammer-cli.po +0 -371
  59. data/locale/en_GB/hammer-cli.po.time_stamp +0 -0
  60. data/locale/es/hammer-cli.edit.po +0 -448
  61. data/locale/es/hammer-cli.po +0 -377
  62. data/locale/es/hammer-cli.po.time_stamp +0 -0
  63. data/locale/fr/hammer-cli.edit.po +0 -447
  64. data/locale/fr/hammer-cli.po +0 -374
  65. data/locale/fr/hammer-cli.po.time_stamp +0 -0
  66. data/locale/hammer-cli.pot +0 -461
  67. data/locale/it/hammer-cli.edit.po +0 -446
  68. data/locale/it/hammer-cli.po +0 -377
  69. data/locale/it/hammer-cli.po.time_stamp +0 -0
  70. data/locale/ja/hammer-cli.edit.po +0 -445
  71. data/locale/ja/hammer-cli.po +0 -363
  72. data/locale/ja/hammer-cli.po.time_stamp +0 -0
  73. data/locale/ko/hammer-cli.edit.po +0 -445
  74. data/locale/ko/hammer-cli.po +0 -364
  75. data/locale/ko/hammer-cli.po.time_stamp +0 -0
  76. data/locale/pt_BR/hammer-cli.edit.po +0 -449
  77. data/locale/pt_BR/hammer-cli.po +0 -374
  78. data/locale/pt_BR/hammer-cli.po.time_stamp +0 -0
  79. data/locale/ru/hammer-cli.edit.po +0 -448
  80. data/locale/ru/hammer-cli.po +0 -374
  81. data/locale/ru/hammer-cli.po.time_stamp +0 -0
  82. data/locale/zanata.xml +0 -28
  83. data/locale/zh_CN/hammer-cli.edit.po +0 -445
  84. data/locale/zh_CN/hammer-cli.po +0 -367
  85. data/locale/zh_CN/hammer-cli.po.time_stamp +0 -0
  86. data/locale/zh_TW/hammer-cli.edit.po +0 -445
  87. data/locale/zh_TW/hammer-cli.po +0 -364
  88. data/locale/zh_TW/hammer-cli.po.time_stamp +0 -0
  89. data/test/reports/TEST-Fields-ContainerField-display-.xml +0 -7
  90. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +0 -15
  91. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +0 -15
  92. data/test/reports/TEST-Fields-ContainerField.xml +0 -7
  93. data/test/reports/TEST-Fields-Field-display-.xml +0 -7
  94. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +0 -11
  95. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +0 -11
  96. data/test/reports/TEST-Fields-Field-hide-blank-.xml +0 -11
  97. data/test/reports/TEST-Fields-Field-parameters.xml +0 -9
  98. data/test/reports/TEST-Fields-Field.xml +0 -13
  99. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +0 -15
  100. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +0 -13
  101. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +0 -21
  102. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +0 -11
  103. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +0 -11
  104. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +0 -19
  105. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +0 -11
  106. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +0 -13
  107. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +0 -11
  108. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +0 -7
  109. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +0 -11
  110. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +0 -11
  111. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +0 -9
  112. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +0 -19
  113. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +0 -9
  114. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +0 -13
  115. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +0 -15
  116. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +0 -11
  117. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +0 -9
  118. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +0 -11
  119. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +0 -15
  120. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +0 -7
  121. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +0 -29
  122. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +0 -17
  123. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +0 -19
  124. data/test/reports/TEST-HammerCLI-Completer.xml +0 -7
  125. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +0 -25
  126. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +0 -29
  127. data/test/reports/TEST-HammerCLI-CompleterLine.xml +0 -7
  128. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +0 -23
  129. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +0 -15
  130. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +0 -13
  131. data/test/reports/TEST-HammerCLI-CompleterWord.xml +0 -7
  132. data/test/reports/TEST-HammerCLI-Connection.xml +0 -21
  133. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +0 -21
  134. data/test/reports/TEST-HammerCLI-I18n.xml +0 -11
  135. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +0 -11
  136. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +0 -11
  137. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +0 -9
  138. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +0 -7
  139. data/test/reports/TEST-HammerCLI-MainCommand.xml +0 -7
  140. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +0 -13
  141. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +0 -13
  142. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +0 -13
  143. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +0 -15
  144. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +0 -7
  145. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +0 -9
  146. data/test/reports/TEST-HammerCLI-Modules-names.xml +0 -13
  147. data/test/reports/TEST-HammerCLI-Modules.xml +0 -7
  148. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +0 -7
  149. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +0 -11
  150. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +0 -9
  151. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +0 -31
  152. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +0 -17
  153. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +0 -15
  154. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +0 -21
  155. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +0 -15
  156. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +0 -17
  157. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +0 -15
  158. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +0 -7
  159. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +0 -9
  160. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +0 -11
  161. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +0 -7
  162. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +0 -15
  163. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +0 -11
  164. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +0 -15
  165. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +0 -17
  166. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +0 -9
  167. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +0 -27
  168. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +0 -7
  169. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +0 -11
  170. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +0 -13
  171. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +0 -11
  172. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +0 -11
  173. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +0 -11
  174. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +0 -11
  175. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +0 -7
  176. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +0 -15
  177. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +0 -11
  178. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +0 -11
  179. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +0 -9
  180. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +0 -11
  181. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +0 -7
  182. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +0 -11
  183. data/test/reports/TEST-HammerCLI-Output-Definition.xml +0 -11
  184. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +0 -13
  185. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +0 -11
  186. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +0 -15
  187. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +0 -13
  188. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +0 -13
  189. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +0 -9
  190. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +0 -13
  191. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +0 -11
  192. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +0 -9
  193. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +0 -11
  194. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +0 -13
  195. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +0 -13
  196. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +0 -11
  197. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +0 -13
  198. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +0 -13
  199. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +0 -13
  200. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +0 -17
  201. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +0 -15
  202. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +0 -9
  203. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +0 -19
  204. data/test/reports/TEST-HammerCLI-Output-Output.xml +0 -7
  205. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +0 -13
  206. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +0 -15
  207. data/test/reports/TEST-HammerCLI-Settings.xml +0 -25
  208. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +0 -11
  209. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +0 -15
  210. data/test/reports/TEST-HammerCLI-ShellHistory.xml +0 -7
  211. data/test/reports/TEST-MiniTest-Spec.xml +0 -7
  212. data/test/reports/TEST-String-camelize.xml +0 -11
  213. data/test/reports/TEST-String-formatting.xml +0 -17
  214. data/test/reports/TEST-String-indent.xml +0 -11
  215. data/test/reports/TEST-String-interactive-.xml +0 -13
  216. data/test/reports/TEST-String.xml +0 -7
  217. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +0 -13
  218. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +0 -7
  219. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +0 -13
  220. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +0 -7
  221. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +0 -9
  222. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +0 -13
  223. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +0 -13
  224. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +0 -7
  225. data/test/reports/TEST-constraints.xml +0 -7
@@ -1,445 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer-cli package.
4
- #
5
- # Translators:
6
- # Automatically generated, 2014
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: Foreman\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-09-01 12:28+0200\n"
12
- "PO-Revision-Date: 2016-09-02 10:08+0000\n"
13
- "Last-Translator: Lukáš Zapletal\n"
14
- "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)\n"
15
- "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=UTF-8\n"
17
- "Content-Transfer-Encoding: 8bit\n"
18
- "Language: zh_TW\n"
19
- "Plural-Forms: nplurals=1; plural=0;\n"
20
-
21
- #: ../lib/hammer_cli/clamp.rb:5
22
- msgid "too many arguments"
23
- msgstr "引數過多"
24
-
25
- #: ../lib/hammer_cli/clamp.rb:6
26
- msgid "option '%<option>s' is required"
27
- msgstr "需要使用 '%<option>s' 選項"
28
-
29
- #: ../lib/hammer_cli/clamp.rb:7
30
- msgid "option '%<option>s' (or env %<env>s) is required"
31
- msgstr "需要使用 '%<option>s'(或是 %<env>s 環境)選項"
32
-
33
- #: ../lib/hammer_cli/clamp.rb:8
34
- msgid "option '%<switch>s': %<message>s"
35
- msgstr "選項 '%<switch>s':%<message>s"
36
-
37
- #: ../lib/hammer_cli/clamp.rb:9
38
- msgid "parameter '%<param>s': %<message>s"
39
- msgstr "參數 '%<param>s':%<message>s"
40
-
41
- #: ../lib/hammer_cli/clamp.rb:10
42
- msgid "%<env>s: %<message>s"
43
- msgstr "%<env>s:%<message>s"
44
-
45
- #: ../lib/hammer_cli/clamp.rb:11
46
- msgid "Unrecognised option '%<switch>s'"
47
- msgstr "無法辨識的選項 '%<switch>s'"
48
-
49
- #: ../lib/hammer_cli/clamp.rb:12
50
- msgid "No such sub-command '%<name>s'"
51
- msgstr "此類型的次指令不存在:'%<name>s'"
52
-
53
- #: ../lib/hammer_cli/clamp.rb:13
54
- msgid "no value provided"
55
- msgstr "未提供值"
56
-
57
- #: ../lib/hammer_cli/defaults.rb:77
58
- msgid ""
59
- "Couldn't create %s. Please create the directory before setting defaults."
60
- msgstr ""
61
-
62
- #: ../lib/hammer_cli/defaults.rb:101
63
- msgid "Defaults management"
64
- msgstr "預設值管理"
65
-
66
- #: ../lib/hammer_cli/defaults_commands.rb:25
67
- msgid "List all the providers"
68
- msgstr "列出所有供應者"
69
-
70
- #: ../lib/hammer_cli/defaults_commands.rb:37
71
- msgid "Provider"
72
- msgstr "供應商"
73
-
74
- #: ../lib/hammer_cli/defaults_commands.rb:38
75
- msgid "Supported defaults"
76
- msgstr "已支援的預設值"
77
-
78
- #: ../lib/hammer_cli/defaults_commands.rb:39
79
- msgid "Description"
80
- msgstr "說明"
81
-
82
- #: ../lib/hammer_cli/defaults_commands.rb:56
83
- msgid "List all the default parameters"
84
- msgstr "列出所有預設參數"
85
-
86
- #: ../lib/hammer_cli/defaults_commands.rb:67
87
- msgid "Parameter"
88
- msgstr "參數"
89
-
90
- #: ../lib/hammer_cli/defaults_commands.rb:68
91
- msgid "Value"
92
- msgstr "值"
93
-
94
- #: ../lib/hammer_cli/defaults_commands.rb:86
95
- msgid "Delete a default param"
96
- msgstr "刪除預設參數"
97
-
98
- #: ../lib/hammer_cli/defaults_commands.rb:87
99
- msgid "The name of the default option"
100
- msgstr "預設選項的名稱"
101
-
102
- #: ../lib/hammer_cli/defaults_commands.rb:103
103
- msgid "Add a default parameter to config"
104
- msgstr "新增預設參數至配置"
105
-
106
- #: ../lib/hammer_cli/defaults_commands.rb:104
107
- msgid "The name of the default option (e.g. organization_id)."
108
- msgstr "預設選項的名稱(例如 organization_id)。"
109
-
110
- #: ../lib/hammer_cli/defaults_commands.rb:105
111
- msgid "The value for the default option"
112
- msgstr "預設選項的值"
113
-
114
- #: ../lib/hammer_cli/defaults_commands.rb:106
115
- msgid ""
116
- "The name of the provider providing the value. For list available providers "
117
- "see `hammer defaults providers`."
118
- msgstr "提供這個值的供應者。欲知可用供應者的清單,請參見「hammer defaults providers」。"
119
-
120
- #: ../lib/hammer_cli/defaults_commands.rb:134
121
- msgid ""
122
- "Added %{key_val} default-option with value that will be generated from the "
123
- "server."
124
- msgstr "已新增 %{key_val} 預設選項與預設值,這是由伺服器所產生。"
125
-
126
- #: ../lib/hammer_cli/defaults_commands.rb:135
127
- msgid "Added %{key_val} default-option with value %{val_val}."
128
- msgstr "已新增 %{key_val} 預設選項,數值為 %{val_val}。"
129
-
130
- #: ../lib/hammer_cli/defaults_commands.rb:139
131
- msgid ""
132
- "Provider %{name} was not found. See `hammer defaults providers` for "
133
- "available providers."
134
- msgstr ""
135
-
136
- #: ../lib/hammer_cli/defaults_commands.rb:143
137
- msgid ""
138
- "The param name is not supported by provider. See `hammer defaults providers`"
139
- " for supported params."
140
- msgstr "供應者並不支援此參數名稱。欲知支援的參數名稱,請參閱 `hammer defaults providers`。"
141
-
142
- #: ../lib/hammer_cli/defaults_commands.rb:147
143
- msgid "%{param} was deleted successfully."
144
- msgstr "已成功刪除 %{param}。"
145
-
146
- #: ../lib/hammer_cli/defaults_commands.rb:151
147
- msgid "You must specify value or a provider name, can't specify both."
148
- msgstr ""
149
-
150
- #: ../lib/hammer_cli/defaults_commands.rb:155
151
- msgid "Couldn't find the requested param in %s."
152
- msgstr "在 %s 中找不到要求的參數。"
153
-
154
- #: ../lib/hammer_cli/exception_handler.rb:62
155
- msgid "Error: %s"
156
- msgstr "錯誤:%s"
157
-
158
- #: ../lib/hammer_cli/exception_handler.rb:68
159
- msgid "Error: %{message}"
160
- msgstr "錯誤:%{message}"
161
-
162
- #: ../lib/hammer_cli/exception_handler.rb:69
163
- msgid "See: '%{path} --help'"
164
- msgstr "請參閱:'%{path} --help'"
165
-
166
- #: ../lib/hammer_cli/exception_handler.rb:86
167
- msgid "Invalid username or password"
168
- msgstr "無效的使用者名稱或密碼"
169
-
170
- #: ../lib/hammer_cli/exception_handler.rb:93
171
- msgid "Could not load the API description from the server"
172
- msgstr "無法從伺服器載入 API 描述"
173
-
174
- #: ../lib/hammer_cli/exception_handler.rb:94
175
- msgid "is the server down?"
176
- msgstr "伺服器是否沒有在運作?"
177
-
178
- #: ../lib/hammer_cli/exception_handler.rb:95
179
- msgid ""
180
- "was '%s' run on the server when using apipie cache? (typical production "
181
- "settings)"
182
- msgstr "使用 apipie 快取時 '%s' 是否有在伺服器上運作?(典型的生產設定)"
183
-
184
- #: ../lib/hammer_cli/exception_handler.rb:101
185
- msgid "Missing arguments for %s"
186
- msgstr "%s 缺少了引數"
187
-
188
- #: ../lib/hammer_cli/logger.rb:57
189
- msgid "No permissions to create log dir %s"
190
- msgstr "沒有建立日誌目錄 %s 的權限"
191
-
192
- #: ../lib/hammer_cli/logger.rb:72
193
- msgid "File %s not writeable, won't log anything to the file!"
194
- msgstr "%s 檔案不允許寫入,將不會記錄任何資料至此檔案中!"
195
-
196
- #: ../lib/hammer_cli/main.rb:7
197
- msgid "be verbose"
198
- msgstr "詳細提供資料"
199
-
200
- #: ../lib/hammer_cli/main.rb:8
201
- msgid "show debugging output "
202
- msgstr "顯示除錯輸出"
203
-
204
- #: ../lib/hammer_cli/main.rb:9
205
- msgid "force reload of Apipie cache"
206
- msgstr "強制重新載入 Apipie 快取"
207
-
208
- #: ../lib/hammer_cli/main.rb:11
209
- msgid "path to custom config file"
210
- msgstr "自訂配置檔案的路徑"
211
-
212
- #: ../lib/hammer_cli/main.rb:13
213
- msgid "username to access the remote system"
214
- msgstr "用來存取遠端系統的使用者名稱"
215
-
216
- #: ../lib/hammer_cli/main.rb:15
217
- msgid "password to access the remote system"
218
- msgstr "用來存取遠端系統的密碼"
219
-
220
- #: ../lib/hammer_cli/main.rb:17
221
- msgid "remote system address"
222
- msgstr "遠端系統位址"
223
-
224
- #: ../lib/hammer_cli/main.rb:20
225
- msgid "show version"
226
- msgstr "顯示版本"
227
-
228
- #: ../lib/hammer_cli/main.rb:23
229
- msgid "unknown version"
230
- msgstr "不明的版本"
231
-
232
- #: ../lib/hammer_cli/main.rb:29
233
- msgid "Show ids of associated resources"
234
- msgstr "顯示相聯資源的 id"
235
-
236
- #: ../lib/hammer_cli/main.rb:31
237
- msgid "Explicitly turn interactive mode on/off"
238
- msgstr "明確開啓或關閉互動式模式"
239
-
240
- #: ../lib/hammer_cli/main.rb:35
241
- msgid "Output as CSV (same as --output=csv)"
242
- msgstr "輸出為 CSV(與 --output=csv 相同)"
243
-
244
- #: ../lib/hammer_cli/main.rb:36
245
- msgid "Set output format. One of [%s]"
246
- msgstr "設定輸出模式。[%s] 之一"
247
-
248
- #: ../lib/hammer_cli/main.rb:39
249
- msgid "Character to separate the values"
250
- msgstr "用來隔開值的字元"
251
-
252
- #: ../lib/hammer_cli/main.rb:43
253
- msgid "Get list of possible endings"
254
- msgstr "取得一列可能的結尾"
255
-
256
- #: ../lib/hammer_cli/modules.rb:12
257
- msgid ""
258
- "Legacy configuration of modules detected. Check section about configuration "
259
- "in user manual"
260
- msgstr "偵測到了舊式的模組配置。請查看使用者指南中的配置部分"
261
-
262
- #: ../lib/hammer_cli/modules.rb:60
263
- msgid "Warning: An error occured while loading module %s"
264
- msgstr "警告:載入 %s 模組時發生了錯誤"
265
-
266
- #: ../lib/hammer_cli/modules.rb:87
267
- msgid "Error: Some of the required modules are disabled in configuration: %s "
268
- msgstr "錯誤:某些必要的模組在配置中已停用:%s "
269
-
270
- #: ../lib/hammer_cli/options/normalizers.rb:29
271
- msgid "Comma-separated list of key=value."
272
- msgstr "逗號區隔開的一列 key=value。"
273
-
274
- #: ../lib/hammer_cli/options/normalizers.rb:43
275
- msgid ""
276
- "value must be defined as a comma-separated list of key=value or valid JSON"
277
- msgstr ""
278
-
279
- #: ../lib/hammer_cli/options/normalizers.rb:85
280
- msgid "Comma separated list of values."
281
- msgstr "逗號區隔開的值。"
282
-
283
- #: ../lib/hammer_cli/options/normalizers.rb:100
284
- msgid "numeric value is required"
285
- msgstr "需要數字值"
286
-
287
- #: ../lib/hammer_cli/options/normalizers.rb:114
288
- msgid "One of true/false, yes/no, 1/0."
289
- msgstr "true/false、yes/no、1/0 之一。"
290
-
291
- #: ../lib/hammer_cli/options/normalizers.rb:124
292
- msgid "value must be one of true/false, yes/no, 1/0"
293
- msgstr "值必須是 true/false、yes/no、1/0 之一"
294
-
295
- #: ../lib/hammer_cli/options/normalizers.rb:163
296
- msgid "Unable to parse JSON input"
297
- msgstr "無法叵析 JSON 輸入"
298
-
299
- #: ../lib/hammer_cli/options/normalizers.rb:177
300
- msgid "Possible value(s): %s"
301
- msgstr "可能的值:%s"
302
-
303
- #: ../lib/hammer_cli/options/normalizers.rb:185
304
- msgid "value must be %s"
305
- msgstr "值必須是 %s"
306
-
307
- #: ../lib/hammer_cli/options/normalizers.rb:187
308
- msgid "value must be one of %s"
309
- msgstr "值必須是 %s 之一"
310
-
311
- #: ../lib/hammer_cli/options/normalizers.rb:208
312
- msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
313
- msgstr "日期與時間,格式為 YYYY-MM-DD HH:MM:SS 或是 ISO 8601 格式"
314
-
315
- #: ../lib/hammer_cli/options/normalizers.rb:215
316
- msgid "'%s' is not a valid date"
317
- msgstr "「%s」不是個有效的日期"
318
-
319
- #: ../lib/hammer_cli/options/normalizers.rb:226
320
- msgid "Any combination (comma separated list) of '%s'"
321
- msgstr "任何(以逗號隔開的)「%s」的組合"
322
-
323
- #: ../lib/hammer_cli/options/normalizers.rb:246
324
- msgid "value must be a combination of '%s'"
325
- msgstr "值必須是「%s」的組合"
326
-
327
- #: ../lib/hammer_cli/options/option_definition.rb:56
328
- msgid "Warning: Option %{option} is deprecated. %{message}"
329
- msgstr "警告:選項 %{option} 已淘汰。%{message}"
330
-
331
- #: ../lib/hammer_cli/options/option_definition.rb:75
332
- msgid "Deprecated: %{deprecated_msg}"
333
- msgstr ""
334
-
335
- #: ../lib/hammer_cli/options/option_definition.rb:78
336
- msgid "%{flag} is deprecated: %{deprecated_msg}"
337
- msgstr ""
338
-
339
- #: ../lib/hammer_cli/options/option_definition.rb:101
340
- msgid "Can be specified multiple times. "
341
- msgstr "可指定多次。"
342
-
343
- #: ../lib/hammer_cli/options/option_definition.rb:102
344
- msgid "Default: "
345
- msgstr "預設值:"
346
-
347
- #: ../lib/hammer_cli/options/option_definition.rb:102
348
- msgid ", or "
349
- msgstr ",或是"
350
-
351
- #: ../lib/hammer_cli/output/adapter/csv.rb:179
352
- msgid "Message"
353
- msgstr "訊息"
354
-
355
- #: ../lib/hammer_cli/output/adapter/csv.rb:183
356
- msgid "Id"
357
- msgstr "ID"
358
-
359
- #: ../lib/hammer_cli/output/adapter/csv.rb:188
360
- msgid "Name"
361
- msgstr "名稱"
362
-
363
- #: ../lib/hammer_cli/output/adapter/table.rb:63
364
- msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
365
- msgstr ""
366
-
367
- #: ../lib/hammer_cli/output/formatters.rb:160
368
- msgid "no"
369
- msgstr "否"
370
-
371
- #: ../lib/hammer_cli/output/formatters.rb:160
372
- msgid "yes"
373
- msgstr "是"
374
-
375
- #: ../lib/hammer_cli/settings.rb:27
376
- msgid ""
377
- "Warning: location hammer.modules.d is deprecated, move your module "
378
- "configurations to cli.modules.d"
379
- msgstr "警告:hammer.modules.d 這個位置已淘汰使用,請將您的模組配置移至 cli.modules.d"
380
-
381
- #: ../lib/hammer_cli/settings.rb:44
382
- msgid "Warning: Couldn't load configuration file %{path}: %{message}"
383
- msgstr ""
384
-
385
- #: ../lib/hammer_cli/shell.rb:10
386
- msgid "Print help for commands"
387
- msgstr "印出指令的說明"
388
-
389
- #: ../lib/hammer_cli/shell.rb:22
390
- msgid "Exit interactive shell"
391
- msgstr "退出互動式 shell"
392
-
393
- #: ../lib/hammer_cli/shell.rb:116
394
- msgid "Welcome to the hammer interactive shell"
395
- msgstr "歡迎使用 hammer 互動式 shell"
396
-
397
- #: ../lib/hammer_cli/shell.rb:117
398
- msgid "Type 'help' for usage information"
399
- msgstr "請輸入「help」以查看使用說明"
400
-
401
- #: ../lib/hammer_cli/shell.rb:133
402
- msgid "Interactive shell"
403
- msgstr "互動式 shell"
404
-
405
- #: ../lib/hammer_cli/subcommand.rb:56
406
- msgid ""
407
- "can't replace subcommand %<name>s (%<existing_class>s) with %<name>s "
408
- "(%<new_class>s)"
409
- msgstr "無法將次指令 %<name>s (%<existing_class>s) 替換為 %<name>s (%<new_class>s)"
410
-
411
- #: ../lib/hammer_cli/validator.rb:41
412
- msgid "Unknown option name '%s'"
413
- msgstr "不明選項名稱「%s」"
414
-
415
- #: ../lib/hammer_cli/validator.rb:62
416
- msgid "You can't set all options %s at one time"
417
- msgstr "您不可一次將所有選項設為 %s"
418
-
419
- #: ../lib/hammer_cli/validator.rb:63
420
- msgid "Options %s are required"
421
- msgstr "%s 選項乃必要的"
422
-
423
- #: ../lib/hammer_cli/validator.rb:77
424
- msgid "You can't set option %s"
425
- msgstr ""
426
-
427
- #: ../lib/hammer_cli/validator.rb:78
428
- msgid "Option %s is required"
429
- msgstr ""
430
-
431
- #: ../lib/hammer_cli/validator.rb:90
432
- msgid "You can't set any of options %s"
433
- msgstr "您不可將任何選項設為 %s"
434
-
435
- #: ../lib/hammer_cli/validator.rb:91
436
- msgid "At least one of options %s is required"
437
- msgstr "需要至少一項 %s 選項"
438
-
439
- #: ../lib/hammer_cli/validator.rb:116
440
- msgid "One of options %s is required"
441
- msgstr ""
442
-
443
- #: ../lib/hammer_cli/validator.rb:120
444
- msgid "Only one of options %s can be set"
445
- msgstr ""