hammer_cli 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +4 -4
  2. data/config/cli_config.template.yml +4 -1
  3. data/doc/development_tips.md +2 -2
  4. data/doc/release_notes.md +13 -1
  5. data/lib/hammer_cli/apipie/option_definition.rb +3 -0
  6. data/lib/hammer_cli/defaults.rb +35 -16
  7. data/lib/hammer_cli/defaults_commands.rb +2 -2
  8. data/lib/hammer_cli/logger.rb +1 -1
  9. data/lib/hammer_cli/options/normalizers.rb +22 -10
  10. data/lib/hammer_cli/output/adapter/abstract.rb +5 -0
  11. data/lib/hammer_cli/output/adapter/csv.rb +5 -0
  12. data/lib/hammer_cli/output/adapter/table.rb +5 -0
  13. data/lib/hammer_cli/output/adapter/tree_structure.rb +5 -0
  14. data/lib/hammer_cli/output/output.rb +1 -1
  15. data/lib/hammer_cli/output/record_collection.rb +8 -4
  16. data/lib/hammer_cli/settings.rb +2 -0
  17. data/lib/hammer_cli/validator.rb +49 -1
  18. data/lib/hammer_cli/version.rb +1 -1
  19. data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
  20. data/locale/ca/hammer-cli.edit.po +411 -0
  21. data/locale/ca/hammer-cli.po +338 -0
  22. data/locale/ca/hammer-cli.po.time_stamp +0 -0
  23. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  24. data/locale/de/hammer-cli.edit.po +16 -16
  25. data/locale/de/hammer-cli.po +25 -5
  26. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  27. data/locale/en/hammer-cli.edit.po +46 -26
  28. data/locale/en/hammer-cli.po +20 -3
  29. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  30. data/locale/en_GB/hammer-cli.edit.po +25 -25
  31. data/locale/en_GB/hammer-cli.po +25 -5
  32. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  33. data/locale/es/hammer-cli.po +24 -6
  34. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  35. data/locale/fr/hammer-cli.edit.po +26 -26
  36. data/locale/fr/hammer-cli.po +24 -6
  37. data/locale/hammer-cli.pot +50 -28
  38. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  39. data/locale/it/hammer-cli.edit.po +9 -9
  40. data/locale/it/hammer-cli.po +25 -5
  41. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  42. data/locale/ja/hammer-cli.edit.po +9 -9
  43. data/locale/ja/hammer-cli.po +25 -5
  44. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  45. data/locale/ko/hammer-cli.edit.po +9 -9
  46. data/locale/ko/hammer-cli.po +25 -5
  47. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  48. data/locale/pt_BR/hammer-cli.edit.po +6 -6
  49. data/locale/pt_BR/hammer-cli.po +25 -5
  50. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  51. data/locale/ru/hammer-cli.edit.po +31 -30
  52. data/locale/ru/hammer-cli.po +25 -5
  53. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  54. data/locale/zh_CN/hammer-cli.edit.po +9 -9
  55. data/locale/zh_CN/hammer-cli.po +26 -6
  56. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  57. data/locale/zh_TW/hammer-cli.edit.po +9 -9
  58. data/locale/zh_TW/hammer-cli.po +25 -5
  59. data/test/functional/defaults_test.rb +12 -0
  60. data/test/reports/TEST-Fields-ContainerField-display-.xml +1 -1
  61. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +5 -5
  62. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +5 -5
  63. data/test/reports/TEST-Fields-ContainerField.xml +1 -1
  64. data/test/reports/TEST-Fields-Field-display-.xml +1 -1
  65. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +3 -3
  66. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +3 -3
  67. data/test/reports/TEST-Fields-Field-hide-blank-.xml +3 -3
  68. data/test/reports/TEST-Fields-Field-parameters.xml +2 -2
  69. data/test/reports/TEST-Fields-Field.xml +4 -4
  70. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +5 -5
  71. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +4 -4
  72. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +8 -10
  73. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +3 -3
  74. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +3 -3
  75. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +7 -7
  76. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +3 -3
  77. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +4 -4
  78. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +3 -3
  79. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +1 -1
  80. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +3 -3
  81. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +3 -3
  82. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +2 -2
  83. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +7 -7
  84. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +2 -2
  85. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +4 -4
  86. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +5 -5
  87. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +3 -3
  88. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +2 -8
  89. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +3 -3
  90. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +5 -5
  91. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +1 -1
  92. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +12 -12
  93. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +6 -6
  94. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +7 -7
  95. data/test/reports/TEST-HammerCLI-Completer.xml +1 -1
  96. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +10 -10
  97. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +12 -12
  98. data/test/reports/TEST-HammerCLI-CompleterLine.xml +1 -1
  99. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +9 -9
  100. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +5 -5
  101. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +4 -4
  102. data/test/reports/TEST-HammerCLI-CompleterWord.xml +1 -1
  103. data/test/reports/TEST-HammerCLI-Connection.xml +8 -8
  104. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +8 -8
  105. data/test/reports/TEST-HammerCLI-I18n.xml +3 -3
  106. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +3 -3
  107. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +3 -3
  108. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +2 -2
  109. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +1 -1
  110. data/test/reports/TEST-HammerCLI-MainCommand.xml +1 -1
  111. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +4 -4
  112. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +4 -4
  113. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +4 -4
  114. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +5 -5
  115. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +1 -1
  116. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +2 -4
  117. data/test/reports/TEST-HammerCLI-Modules-names.xml +4 -4
  118. data/test/reports/TEST-HammerCLI-Modules.xml +1 -1
  119. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +1 -5
  120. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +5 -1
  121. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +2 -2
  122. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +13 -13
  123. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +6 -6
  124. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +5 -5
  125. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +8 -8
  126. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +5 -5
  127. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +6 -26
  128. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +5 -5
  129. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +1 -1
  130. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +2 -2
  131. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +3 -3
  132. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +1 -1
  133. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +5 -5
  134. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +3 -3
  135. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +5 -5
  136. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +6 -6
  137. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +2 -2
  138. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +11 -11
  139. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +1 -1
  140. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +3 -3
  141. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +4 -4
  142. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +3 -3
  143. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +3 -3
  144. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +3 -3
  145. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +3 -3
  146. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +1 -1
  147. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +5 -11
  148. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +3 -3
  149. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +3 -7
  150. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +2 -2
  151. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +3 -3
  152. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +1 -1
  153. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +3 -3
  154. data/test/reports/TEST-HammerCLI-Output-Definition.xml +3 -3
  155. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +4 -4
  156. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +3 -3
  157. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +5 -5
  158. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +4 -4
  159. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +4 -4
  160. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +2 -2
  161. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +4 -4
  162. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +3 -3
  163. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +2 -2
  164. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +3 -3
  165. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +4 -4
  166. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +4 -4
  167. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +3 -3
  168. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +4 -4
  169. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +4 -4
  170. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +4 -4
  171. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +6 -6
  172. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +5 -5
  173. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +2 -2
  174. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +7 -7
  175. data/test/reports/TEST-HammerCLI-Output-Output.xml +1 -1
  176. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +4 -4
  177. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +5 -5
  178. data/test/reports/TEST-HammerCLI-Settings.xml +10 -10
  179. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +3 -3
  180. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +5 -5
  181. data/test/reports/TEST-HammerCLI-ShellHistory.xml +1 -1
  182. data/test/reports/TEST-MiniTest-Spec.xml +1 -1
  183. data/test/reports/TEST-String-camelize.xml +3 -3
  184. data/test/reports/TEST-String-formatting.xml +6 -6
  185. data/test/reports/TEST-String-indent.xml +3 -3
  186. data/test/reports/{TEST-HammerCLI-interactive-.xml → TEST-String-interactive-.xml} +4 -4
  187. data/test/reports/TEST-String.xml +1 -1
  188. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +4 -4
  189. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +1 -1
  190. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +4 -4
  191. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +1 -1
  192. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +2 -2
  193. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +4 -4
  194. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +4 -4
  195. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +1 -1
  196. data/test/reports/TEST-constraints.xml +1 -1
  197. data/test/unit/apipie/option_definition_test.rb +9 -0
  198. data/test/unit/defaults_test.rb +84 -22
  199. data/test/unit/fixtures/defaults/defaults_dashed.yml +6 -0
  200. data/test/unit/options/normalizers_test.rb +46 -34
  201. data/test/unit/output/adapter/abstract_test.rb +4 -0
  202. data/test/unit/output/adapter/base_test.rb +4 -0
  203. data/test/unit/output/adapter/csv_test.rb +4 -0
  204. data/test/unit/output/adapter/json_test.rb +4 -0
  205. data/test/unit/output/adapter/table_test.rb +19 -3
  206. data/test/unit/output/adapter/yaml_test.rb +4 -0
  207. data/test/unit/output/record_collection_test.rb +26 -0
  208. data/test/unit/settings_test.rb +11 -1
  209. data/test/unit/validator_test.rb +111 -6
  210. metadata +192 -247
  211. data/test/reports/TEST-Fields-Label-display-.xml +0 -7
  212. data/test/reports/TEST-Fields-Label-display-blank-is-allowed.xml +0 -15
  213. data/test/reports/TEST-Fields-Label-display-blank-is-not-allowed.xml +0 -15
  214. data/test/reports/TEST-Fields-Label.xml +0 -7
  215. data/test/reports/TEST-HammerCLI-Apipie-Command-reload-apipie-cache.xml +0 -11
  216. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-referenced-resources.xml +0 -9
  217. data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition-referenced-resource.xml +0 -13
  218. data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition.xml +0 -7
  219. data/test/reports/TEST-HammerCLI-Defaults.xml +0 -19
  220. data/test/reports/TEST-HammerCLI-Options-Matcher.xml +0 -17
  221. data/test/reports/TEST-HammerCLI-Options-Normalizers-number.xml +0 -11
  222. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-deprecated-options.xml +0 -11
  223. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection-show-ids.xml +0 -9
  224. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection.xml +0 -27
  225. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-message.xml +0 -11
  226. data/test/reports/TEST-HammerCLI-Output-Adapter-Json.xml +0 -7
  227. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection-show-ids.xml +0 -9
  228. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection.xml +0 -27
  229. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-message.xml +0 -11
  230. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml.xml +0 -7
  231. data/test/reports/TEST-HammerCLI-constant-path.xml +0 -15
  232. data/test/reports/TEST-HammerCLI.xml +0 -7
  233. data/test/reports/TEST-Logging-LogEvent-filtering.xml +0 -9
  234. data/test/reports/TEST-Logging-LogEvent.xml +0 -7
  235. data/test/reports/TEST-String-constantize.xml +0 -15
  236. data/test/reports/TEST-String-underscore.xml +0 -13
  237. data/test/reports/TEST-commands-defaults-add.xml +0 -21
  238. data/test/reports/TEST-commands-defaults-delete.xml +0 -11
  239. data/test/reports/TEST-commands-defaults-list.xml +0 -11
  240. data/test/reports/TEST-commands-defaults-providers.xml +0 -11
  241. data/test/reports/TEST-commands.xml +0 -7
@@ -0,0 +1,411 @@
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
+ # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: Foreman\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2015-12-08 08:56+0000\n"
12
+ "PO-Revision-Date: 2015-12-11 09:44+0000\n"
13
+ "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>\n"
14
+ "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Language: ca\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+
21
+ #: ../lib/hammer_cli/clamp.rb:5
22
+ msgid "too many arguments"
23
+ msgstr "massa arguments"
24
+
25
+ #: ../lib/hammer_cli/clamp.rb:6
26
+ msgid "option '%<option>s' is required"
27
+ msgstr "es requereix l'opció '%<option>s'"
28
+
29
+ #: ../lib/hammer_cli/clamp.rb:7
30
+ msgid "option '%<option>s' (or env %<env>s) is required"
31
+ msgstr "es requereix l'opció '%<option>s' (o env %<env>s)"
32
+
33
+ #: ../lib/hammer_cli/clamp.rb:8
34
+ msgid "option '%<switch>s': %<message>s"
35
+ msgstr "opció '%<switch>s': %<message>s"
36
+
37
+ #: ../lib/hammer_cli/clamp.rb:9
38
+ msgid "parameter '%<param>s': %<message>s"
39
+ msgstr "paràmetre '%<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 "Opció no reconeguda '%<switch>s'"
48
+
49
+ #: ../lib/hammer_cli/clamp.rb:12
50
+ msgid "No such sub-command '%<name>s'"
51
+ msgstr "No hi ha la suborde '%<name>s'"
52
+
53
+ #: ../lib/hammer_cli/clamp.rb:13
54
+ msgid "no value provided"
55
+ msgstr "no s'ha proporcionat cap valor"
56
+
57
+ #: ../lib/hammer_cli/defaults.rb:72
58
+ msgid "Couldn't create %s please create the path before defaults are enabled."
59
+ msgstr "No s'ha pogut crear %s, si us plau, creeu el camí abans que s'habilitin els per defecte."
60
+
61
+ #: ../lib/hammer_cli/defaults.rb:82
62
+ msgid "Defaults management"
63
+ msgstr "Gestió dels per defecte"
64
+
65
+ #: ../lib/hammer_cli/defaults_commands.rb:25
66
+ msgid "List all the providers"
67
+ msgstr "Llista tots els proveïdors"
68
+
69
+ #: ../lib/hammer_cli/defaults_commands.rb:37
70
+ msgid "Provider"
71
+ msgstr "Proveïdor"
72
+
73
+ #: ../lib/hammer_cli/defaults_commands.rb:38
74
+ msgid "Supported defaults"
75
+ msgstr "Els per defecte que són compatibles"
76
+
77
+ #: ../lib/hammer_cli/defaults_commands.rb:39
78
+ msgid "Description"
79
+ msgstr "Descripció"
80
+
81
+ #: ../lib/hammer_cli/defaults_commands.rb:56
82
+ msgid "List all the default parameters"
83
+ msgstr "Llista tots els paràmetres per defecte"
84
+
85
+ #: ../lib/hammer_cli/defaults_commands.rb:67
86
+ msgid "Parameter"
87
+ msgstr "Paràmetre"
88
+
89
+ #: ../lib/hammer_cli/defaults_commands.rb:68
90
+ msgid "Value"
91
+ msgstr "Valor"
92
+
93
+ #: ../lib/hammer_cli/defaults_commands.rb:86
94
+ msgid "Delete a default param"
95
+ msgstr "Suprimeix un paràmetre per defecte"
96
+
97
+ #: ../lib/hammer_cli/defaults_commands.rb:87
98
+ msgid "The name of the default option"
99
+ msgstr "El nom de l'opció per defecte"
100
+
101
+ #: ../lib/hammer_cli/defaults_commands.rb:103
102
+ msgid "Add a default parameter to config"
103
+ msgstr "Afegeix un paràmetre per defecte a la configuració"
104
+
105
+ #: ../lib/hammer_cli/defaults_commands.rb:104
106
+ msgid "The name of the default option (e.g. organization_id)."
107
+ msgstr "El nom per a l'opció per defecte (p. ex. organization_id)."
108
+
109
+ #: ../lib/hammer_cli/defaults_commands.rb:105
110
+ msgid "The value for the default option"
111
+ msgstr "El valor per a l'opció per defecte"
112
+
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 "El nom del proveïdor que proporciona el valor. Per a la llista dels proveïdors disponibles, vegeu `hammer defaults providers`."
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 "S'ha afegit l'opció per defecte %{key_val} amb el valor que es generarà des del servidor."
124
+
125
+ #: ../lib/hammer_cli/defaults_commands.rb:135
126
+ msgid "Added %{key_val} default-option with value %{val_val}."
127
+ msgstr "S'ha afegit l'opció per defecte %{key_val} amb el valor %{val_val}."
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 "\"No s'ha trobat el proveïdor #{namespace}. Vegeu `hammer defaults providers` per als proveïdors disponibles.\""
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 "El nom del paràmetre no està admès pel servidor. Vegeu `hammer defaults providers` per als paràmetres admesos."
140
+
141
+ #: ../lib/hammer_cli/defaults_commands.rb:147
142
+ msgid "%{param} was deleted successfully."
143
+ msgstr "S'ha eliminat correctament %{param}."
144
+
145
+ #: ../lib/hammer_cli/defaults_commands.rb:151
146
+ msgid "You must specify value or a provider name, cant specify both."
147
+ msgstr "Heu d'especificar el valor o el nom del proveïdor, però no podeu especificar ambdós."
148
+
149
+ #: ../lib/hammer_cli/defaults_commands.rb:155
150
+ msgid "Couldn't find the requested param in %s."
151
+ msgstr "No s'ha pogut trobar el paràmetre sol·licitat a %s."
152
+
153
+ #: ../lib/hammer_cli/exception_handler.rb:62
154
+ msgid "Error: %s"
155
+ msgstr "Error: %s"
156
+
157
+ #: ../lib/hammer_cli/exception_handler.rb:68
158
+ msgid "Error: %{message}"
159
+ msgstr "Error: %{message}"
160
+
161
+ #: ../lib/hammer_cli/exception_handler.rb:69
162
+ msgid "See: '%{path} --help'"
163
+ msgstr "Vegeu: '%{path} --help'"
164
+
165
+ #: ../lib/hammer_cli/exception_handler.rb:86
166
+ msgid "Invalid username or password"
167
+ msgstr "nom d'usuari no vàlid o contrasenya no vàlida"
168
+
169
+ #: ../lib/hammer_cli/exception_handler.rb:93
170
+ msgid "Could not load the API description from the server"
171
+ msgstr "No s'ha pogut carregar la descripció de l'API des del servidor"
172
+
173
+ #: ../lib/hammer_cli/exception_handler.rb:94
174
+ msgid "is the server down?"
175
+ msgstr "Ha caigut el servidor?"
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 "Es va executar '%s' al servidor quan s'utilitzava la memòria cau d'apipie? (ajustos típics de producció)"
182
+
183
+ #: ../lib/hammer_cli/exception_handler.rb:101
184
+ msgid "Missing arguments for %s"
185
+ msgstr "Falten argument per %s"
186
+
187
+ #: ../lib/hammer_cli/logger.rb:57
188
+ msgid "No permissions to create log dir %s"
189
+ msgstr "Sense els permisos per crear el directori del registre %s"
190
+
191
+ #: ../lib/hammer_cli/logger.rb:72
192
+ msgid "File %s not writeable, won't log anything to the file!"
193
+ msgstr "No es pot escriure al fitxer %s, no s'enregistrarà res al fitxer!"
194
+
195
+ #: ../lib/hammer_cli/main.rb:7
196
+ msgid "be verbose"
197
+ msgstr "mostra informació detallada"
198
+
199
+ #: ../lib/hammer_cli/main.rb:8
200
+ msgid "show debugging output "
201
+ msgstr "mostra la sortida de depuració"
202
+
203
+ #: ../lib/hammer_cli/main.rb:9
204
+ msgid "force reload of Apipie cache"
205
+ msgstr "força la recàrrega de la memòria cau d'Apipie"
206
+
207
+ #: ../lib/hammer_cli/main.rb:11
208
+ msgid "path to custom config file"
209
+ msgstr "camí al fitxer de configuració personalitzat"
210
+
211
+ #: ../lib/hammer_cli/main.rb:13
212
+ msgid "username to access the remote system"
213
+ msgstr "nom d'usuari per accedir al sistema remot"
214
+
215
+ #: ../lib/hammer_cli/main.rb:15
216
+ msgid "password to access the remote system"
217
+ msgstr "contrasenya per accedir al sistema remot"
218
+
219
+ #: ../lib/hammer_cli/main.rb:17
220
+ msgid "remote system address"
221
+ msgstr "adreça del sistema remot"
222
+
223
+ #: ../lib/hammer_cli/main.rb:20
224
+ msgid "show version"
225
+ msgstr "mostra la versió"
226
+
227
+ #: ../lib/hammer_cli/main.rb:23
228
+ msgid "unknown version"
229
+ msgstr "versió desconeguda"
230
+
231
+ #: ../lib/hammer_cli/main.rb:29
232
+ msgid "Show ids of associated resources"
233
+ msgstr "Mostra els ID dels recursos associats"
234
+
235
+ #: ../lib/hammer_cli/main.rb:31
236
+ msgid "Explicitly turn interactive mode on/off"
237
+ msgstr "Explícitament encén o apaga el mode interactiu"
238
+
239
+ #: ../lib/hammer_cli/main.rb:35
240
+ msgid "Output as CSV (same as --output=csv)"
241
+ msgstr "Sortida com a CSV (el mateix que --output=csv)"
242
+
243
+ #: ../lib/hammer_cli/main.rb:36
244
+ msgid "Set output format. One of [%s]"
245
+ msgstr "Estableix el format de sortida. Un de [%s]"
246
+
247
+ #: ../lib/hammer_cli/main.rb:39
248
+ msgid "Character to separate the values"
249
+ msgstr "Caràcter per separar els valors"
250
+
251
+ #: ../lib/hammer_cli/main.rb:43
252
+ msgid "Get list of possible endings"
253
+ msgstr "Obté la llista dels finals possibles"
254
+
255
+ #: ../lib/hammer_cli/modules.rb:12
256
+ msgid ""
257
+ "Legacy configuration of modules detected. Check section about configuration "
258
+ "in user manual"
259
+ msgstr "S'ha detectat la configuració del llegat dels mòduls. Consulteu la secció quant a la configuració al manual d'usuari"
260
+
261
+ #: ../lib/hammer_cli/modules.rb:60
262
+ msgid "Warning: An error occured while loading module %s"
263
+ msgstr "Advertència: S'ha produït un error mentre es carregava el mòdul %s"
264
+
265
+ #: ../lib/hammer_cli/modules.rb:87
266
+ msgid "Error: Some of the required modules are disabled in configuration: %s "
267
+ msgstr "Error: Alguns dels mòduls requerits estan inhabilitats en la configuració: %s "
268
+
269
+ #: ../lib/hammer_cli/options/normalizers.rb:26
270
+ msgid "Comma-separated list of key=value."
271
+ msgstr "Llista separada per comes de clau=valor."
272
+
273
+ #: ../lib/hammer_cli/options/normalizers.rb:39
274
+ msgid "value must be defined as a comma-separated list of key=value"
275
+ msgstr "El valor ha d'estar definit com a una llista separada per comes de clau=valor"
276
+
277
+ #: ../lib/hammer_cli/options/normalizers.rb:73
278
+ msgid "Comma separated list of values."
279
+ msgstr "Llista separada per comes dels valors."
280
+
281
+ #: ../lib/hammer_cli/options/normalizers.rb:88
282
+ msgid "numeric value is required"
283
+ msgstr "es requereix un valor numèric"
284
+
285
+ #: ../lib/hammer_cli/options/normalizers.rb:102
286
+ msgid "One of true/false, yes/no, 1/0."
287
+ msgstr "Un de true/false, yes/no, 1/0."
288
+
289
+ #: ../lib/hammer_cli/options/normalizers.rb:112
290
+ msgid "value must be one of true/false, yes/no, 1/0"
291
+ msgstr "el valor ha de ser un de true/false, yes/no, 1/0"
292
+
293
+ #: ../lib/hammer_cli/options/normalizers.rb:151
294
+ msgid "Unable to parse JSON input"
295
+ msgstr "No es pot analitzar sintàcticament l'entrada de JSON"
296
+
297
+ #: ../lib/hammer_cli/options/normalizers.rb:165
298
+ msgid "Possible value(s): %s"
299
+ msgstr "Valors possibles: %s"
300
+
301
+ #: ../lib/hammer_cli/options/normalizers.rb:173
302
+ msgid "value must be %s"
303
+ msgstr "el valor ha de ser %s"
304
+
305
+ #: ../lib/hammer_cli/options/normalizers.rb:175
306
+ msgid "value must be one of %s"
307
+ msgstr "el valor ha de ser un de %s"
308
+
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 "Data i hora en format YYYY-MM-DD HH:MM:SS o ISO 8601"
312
+
313
+ #: ../lib/hammer_cli/options/normalizers.rb:203
314
+ msgid "'%s' is not a valid date"
315
+ msgstr "'%s' no és una data vàlida"
316
+
317
+ #: ../lib/hammer_cli/options/normalizers.rb:214
318
+ msgid "Any combination (comma separated list) of '%s'"
319
+ msgstr "Qualsevol combinació (llista separada per comes) de '%s'"
320
+
321
+ #: ../lib/hammer_cli/options/normalizers.rb:234
322
+ msgid "value must be a combination of '%s'"
323
+ msgstr "el valor ha de ser una combinació de '%s'"
324
+
325
+ #: ../lib/hammer_cli/options/option_definition.rb:56
326
+ msgid "Warning: Option %{option} is deprecated. %{message}"
327
+ msgstr "Advertència: L'opció %{option} està en desús. %{message}"
328
+
329
+ #: ../lib/hammer_cli/options/option_definition.rb:80
330
+ msgid "Can be specified multiple times. "
331
+ msgstr "Es pot especificar múltiples vegades."
332
+
333
+ #: ../lib/hammer_cli/options/option_definition.rb:81
334
+ msgid "Default: "
335
+ msgstr "Per defecte:"
336
+
337
+ #: ../lib/hammer_cli/options/option_definition.rb:81
338
+ msgid ", or "
339
+ msgstr ", o "
340
+
341
+ #: ../lib/hammer_cli/output/adapter/csv.rb:174
342
+ msgid "Message"
343
+ msgstr "Missatge"
344
+
345
+ #: ../lib/hammer_cli/output/adapter/csv.rb:178
346
+ msgid "Id"
347
+ msgstr "ID"
348
+
349
+ #: ../lib/hammer_cli/output/adapter/csv.rb:183
350
+ msgid "Name"
351
+ msgstr "Nom"
352
+
353
+ #: ../lib/hammer_cli/output/formatters.rb:154
354
+ msgid "yes"
355
+ msgstr "si"
356
+
357
+ #: ../lib/hammer_cli/output/formatters.rb:154
358
+ msgid "no"
359
+ msgstr "no"
360
+
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 "Advertència: la ubicació hammer.modules.d està en desús, moveu les configuracions dels vostres mòduls a cli.modules.d"
366
+
367
+ #: ../lib/hammer_cli/shell.rb:10
368
+ msgid "Print help for commands"
369
+ msgstr "Imprimeix l'ajuda per a les ordres"
370
+
371
+ #: ../lib/hammer_cli/shell.rb:22
372
+ msgid "Exit interactive shell"
373
+ msgstr "Surt del shell interactiu"
374
+
375
+ #: ../lib/hammer_cli/shell.rb:116
376
+ msgid "Welcome to the hammer interactive shell"
377
+ msgstr "Benvingut al shell interactiu de hammer"
378
+
379
+ #: ../lib/hammer_cli/shell.rb:117
380
+ msgid "Type 'help' for usage information"
381
+ msgstr "Teclegeu 'help' per a la informació de l'ús"
382
+
383
+ #: ../lib/hammer_cli/shell.rb:133
384
+ msgid "Interactive shell"
385
+ msgstr "Shell interactiu"
386
+
387
+ #: ../lib/hammer_cli/subcommand.rb:56
388
+ msgid ""
389
+ "can't replace subcommand %<name>s (%<existing_class>s) with %<name>s "
390
+ "(%<new_class>s)"
391
+ msgstr "no es pot substituir la subordre %<name>s (%<existing_class>s) amb %<name>s (%<new_class>s)"
392
+
393
+ #: ../lib/hammer_cli/validator.rb:41
394
+ msgid "Unknown option name '%s'"
395
+ msgstr "Nom desconegut d'opció '%s'"
396
+
397
+ #: ../lib/hammer_cli/validator.rb:62
398
+ msgid "You can't set all options %s at one time"
399
+ msgstr "No podeu establir totes les opcions %s alhora"
400
+
401
+ #: ../lib/hammer_cli/validator.rb:63
402
+ msgid "Options %s are required"
403
+ msgstr "Es requereixen %s opcions"
404
+
405
+ #: ../lib/hammer_cli/validator.rb:79
406
+ msgid "You can't set any of options %s"
407
+ msgstr "No podeu establir cap de les opcions %s"
408
+
409
+ #: ../lib/hammer_cli/validator.rb:80
410
+ msgid "At least one of options %s is required"
411
+ msgstr "Com a mínim es requereix una de les opcions %s"