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
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli 0.6.0\n"
8
+ "Project-Id-Version: hammer-cli 0.7.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2014-03-04 16:38+0000\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -208,7 +208,7 @@ msgstr ""
208
208
  msgid "Comma-separated list of key=value."
209
209
  msgstr ""
210
210
 
211
- msgid "value must be defined as a comma-separated list of key=value"
211
+ msgid "value must be defined as a comma-separated list of key=value or valid JSON"
212
212
  msgstr ""
213
213
 
214
214
  msgid "Comma separated list of values."
@@ -268,12 +268,17 @@ msgstr ""
268
268
  msgid "Name"
269
269
  msgstr ""
270
270
 
271
- msgid "yes"
271
+ msgid ""
272
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
273
+ "ation)\""
272
274
  msgstr ""
273
275
 
274
276
  msgid "no"
275
277
  msgstr ""
276
278
 
279
+ msgid "yes"
280
+ msgstr ""
281
+
277
282
  msgid ""
278
283
  "Warning: location hammer.modules.d is deprecated, move your module configurati"
279
284
  "ons to cli.modules.d"
@@ -308,8 +313,20 @@ msgstr ""
308
313
  msgid "Options %s are required"
309
314
  msgstr ""
310
315
 
316
+ msgid "You can't set option %s"
317
+ msgstr ""
318
+
319
+ msgid "Option %s is required"
320
+ msgstr ""
321
+
311
322
  msgid "You can't set any of options %s"
312
323
  msgstr ""
313
324
 
314
325
  msgid "At least one of options %s is required"
315
326
  msgstr ""
327
+
328
+ msgid "One of options %s is required"
329
+ msgstr ""
330
+
331
+ msgid "Only one of options %s can be set"
332
+ msgstr ""
Binary file
@@ -9,8 +9,8 @@ msgstr ""
9
9
  "Project-Id-Version: Foreman\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
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"
12
+ "PO-Revision-Date: 2015-12-15 15:11+0000\n"
13
+ "Last-Translator: Andi Chandler <andi@gowling.com>\n"
14
14
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -56,99 +56,99 @@ msgstr "no value provided"
56
56
 
57
57
  #: ../lib/hammer_cli/defaults.rb:72
58
58
  msgid "Couldn't create %s please create the path before defaults are enabled."
59
- msgstr ""
59
+ msgstr "Couldn't create %s please create the path before defaults are enabled."
60
60
 
61
61
  #: ../lib/hammer_cli/defaults.rb:82
62
62
  msgid "Defaults management"
63
- msgstr ""
63
+ msgstr "Defaults management"
64
64
 
65
65
  #: ../lib/hammer_cli/defaults_commands.rb:25
66
66
  msgid "List all the providers"
67
- msgstr ""
67
+ msgstr "List all the providers"
68
68
 
69
69
  #: ../lib/hammer_cli/defaults_commands.rb:37
70
70
  msgid "Provider"
71
- msgstr ""
71
+ msgstr "Provider"
72
72
 
73
73
  #: ../lib/hammer_cli/defaults_commands.rb:38
74
74
  msgid "Supported defaults"
75
- msgstr ""
75
+ msgstr "Supported defaults"
76
76
 
77
77
  #: ../lib/hammer_cli/defaults_commands.rb:39
78
78
  msgid "Description"
79
- msgstr ""
79
+ msgstr "Description"
80
80
 
81
81
  #: ../lib/hammer_cli/defaults_commands.rb:56
82
82
  msgid "List all the default parameters"
83
- msgstr ""
83
+ msgstr "List all the default parameters"
84
84
 
85
85
  #: ../lib/hammer_cli/defaults_commands.rb:67
86
86
  msgid "Parameter"
87
- msgstr ""
87
+ msgstr "Parameter"
88
88
 
89
89
  #: ../lib/hammer_cli/defaults_commands.rb:68
90
90
  msgid "Value"
91
- msgstr ""
91
+ msgstr "Value"
92
92
 
93
93
  #: ../lib/hammer_cli/defaults_commands.rb:86
94
94
  msgid "Delete a default param"
95
- msgstr ""
95
+ msgstr "Delete a default param"
96
96
 
97
97
  #: ../lib/hammer_cli/defaults_commands.rb:87
98
98
  msgid "The name of the default option"
99
- msgstr ""
99
+ msgstr "The name of the default option"
100
100
 
101
101
  #: ../lib/hammer_cli/defaults_commands.rb:103
102
102
  msgid "Add a default parameter to config"
103
- msgstr ""
103
+ msgstr "Add a default parameter to config"
104
104
 
105
105
  #: ../lib/hammer_cli/defaults_commands.rb:104
106
106
  msgid "The name of the default option (e.g. organization_id)."
107
- msgstr ""
107
+ msgstr "The name of the default option (e.g. organisation_id)."
108
108
 
109
109
  #: ../lib/hammer_cli/defaults_commands.rb:105
110
110
  msgid "The value for the default option"
111
- msgstr ""
111
+ msgstr "The value for the default option"
112
112
 
113
113
  #: ../lib/hammer_cli/defaults_commands.rb:106
114
114
  msgid ""
115
115
  "The name of the provider providing the value. For list available providers "
116
116
  "see `hammer defaults providers`."
117
- msgstr ""
117
+ msgstr "The name of the provider providing the value. For list available providers see `hammer defaults providers`."
118
118
 
119
119
  #: ../lib/hammer_cli/defaults_commands.rb:134
120
120
  msgid ""
121
121
  "Added %{key_val} default-option with value that will be generated from the "
122
122
  "server."
123
- msgstr ""
123
+ msgstr "Added %{key_val} default-option with value that will be generated from the server."
124
124
 
125
125
  #: ../lib/hammer_cli/defaults_commands.rb:135
126
126
  msgid "Added %{key_val} default-option with value %{val_val}."
127
- msgstr ""
127
+ msgstr "Added %{key_val} default-option with value %{val_val}."
128
128
 
129
129
  #: ../lib/hammer_cli/defaults_commands.rb:139
130
130
  msgid ""
131
131
  "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
132
132
  "available providers.\""
133
- msgstr ""
133
+ msgstr "\"Provider #{namespace} was not found. See `hammer defaults providers` for available providers.\""
134
134
 
135
135
  #: ../lib/hammer_cli/defaults_commands.rb:143
136
136
  msgid ""
137
137
  "The param name is not supported by provider. See `hammer defaults providers`"
138
138
  " for supported params."
139
- msgstr ""
139
+ msgstr "The param name is not supported by provider. See `hammer defaults providers` for supported params."
140
140
 
141
141
  #: ../lib/hammer_cli/defaults_commands.rb:147
142
142
  msgid "%{param} was deleted successfully."
143
- msgstr ""
143
+ msgstr "%{param} was deleted successfully."
144
144
 
145
145
  #: ../lib/hammer_cli/defaults_commands.rb:151
146
146
  msgid "You must specify value or a provider name, cant specify both."
147
- msgstr ""
147
+ msgstr "You must specify value or a provider name, cant specify both."
148
148
 
149
149
  #: ../lib/hammer_cli/defaults_commands.rb:155
150
150
  msgid "Couldn't find the requested param in %s."
151
- msgstr ""
151
+ msgstr "Couldn't find the requested param in %s."
152
152
 
153
153
  #: ../lib/hammer_cli/exception_handler.rb:62
154
154
  msgid "Error: %s"
@@ -324,7 +324,7 @@ msgstr "value must be a combination of '%s'"
324
324
 
325
325
  #: ../lib/hammer_cli/options/option_definition.rb:56
326
326
  msgid "Warning: Option %{option} is deprecated. %{message}"
327
- msgstr ""
327
+ msgstr "Warning: Option %{option} is deprecated. %{message}"
328
328
 
329
329
  #: ../lib/hammer_cli/options/option_definition.rb:80
330
330
  msgid "Can be specified multiple times. "
@@ -6,7 +6,7 @@
6
6
  # Andi Chandler <andi@gowling.com>, 2015
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: hammer-cli 0.6.0\n"
9
+ "Project-Id-Version: hammer-cli 0.7.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "PO-Revision-Date: 2015-08-30 02:01+0000\n"
12
12
  "Last-Translator: Andi Chandler <andi@gowling.com>\n"
@@ -215,8 +215,8 @@ msgstr "Error: Some of the required modules are disabled in configuration: %s "
215
215
  msgid "Comma-separated list of key=value."
216
216
  msgstr "Comma-separated list of key=value."
217
217
 
218
- msgid "value must be defined as a comma-separated list of key=value"
219
- msgstr "value must be defined as a comma-separated list of key=value"
218
+ msgid "value must be defined as a comma-separated list of key=value or valid JSON"
219
+ msgstr ""
220
220
 
221
221
  msgid "Comma separated list of values."
222
222
  msgstr "Comma separated list of values."
@@ -277,12 +277,17 @@ msgstr "Id"
277
277
  msgid "Name"
278
278
  msgstr "Name"
279
279
 
280
- msgid "yes"
281
- msgstr "yes"
280
+ msgid ""
281
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
282
+ "ation)\""
283
+ msgstr ""
282
284
 
283
285
  msgid "no"
284
286
  msgstr "no"
285
287
 
288
+ msgid "yes"
289
+ msgstr "yes"
290
+
286
291
  msgid ""
287
292
  "Warning: location hammer.modules.d is deprecated, move your module configurati"
288
293
  "ons to cli.modules.d"
@@ -321,8 +326,23 @@ msgstr "You can't set all options %s at one time"
321
326
  msgid "Options %s are required"
322
327
  msgstr "Options %s are required"
323
328
 
329
+ #, fuzzy
330
+ msgid "You can't set option %s"
331
+ msgstr "You can't set any of options %s"
332
+
333
+ #, fuzzy
334
+ msgid "Option %s is required"
335
+ msgstr "Options %s are required"
336
+
324
337
  msgid "You can't set any of options %s"
325
338
  msgstr "You can't set any of options %s"
326
339
 
327
340
  msgid "At least one of options %s is required"
328
341
  msgstr "At least one of options %s is required"
342
+
343
+ #, fuzzy
344
+ msgid "One of options %s is required"
345
+ msgstr "At least one of options %s is required"
346
+
347
+ msgid "Only one of options %s can be set"
348
+ msgstr ""
Binary file
@@ -8,7 +8,7 @@
8
8
  # gguerrer <gguerrer@redhat.com>, 2015. #zanata
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: hammer-cli 0.6.0\n"
11
+ "Project-Id-Version: hammer-cli 0.7.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2015-04-27 06:26+0000\n"
14
14
  "Last-Translator: gguerrer <gguerrer@redhat.com>\n"
@@ -221,10 +221,8 @@ msgstr ""
221
221
  msgid "Comma-separated list of key=value."
222
222
  msgstr "Lista de pares llave=valor separados por comas."
223
223
 
224
- msgid "value must be defined as a comma-separated list of key=value"
224
+ msgid "value must be defined as a comma-separated list of key=value or valid JSON"
225
225
  msgstr ""
226
- "el valor debe definirse como una lista de pares llave=valor separados por coma"
227
- "s"
228
226
 
229
227
  msgid "Comma separated list of values."
230
228
  msgstr "Lista de valores separadas por comas."
@@ -285,12 +283,17 @@ msgstr "ID"
285
283
  msgid "Name"
286
284
  msgstr "Nombre"
287
285
 
288
- msgid "yes"
289
- msgstr "sí"
286
+ msgid ""
287
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
288
+ "ation)\""
289
+ msgstr ""
290
290
 
291
291
  msgid "no"
292
292
  msgstr "no"
293
293
 
294
+ msgid "yes"
295
+ msgstr "sí"
296
+
294
297
  msgid ""
295
298
  "Warning: location hammer.modules.d is deprecated, move your module configurati"
296
299
  "ons to cli.modules.d"
@@ -329,8 +332,23 @@ msgstr "No se pueden establecer todas las opciones %s al mismo tiempo"
329
332
  msgid "Options %s are required"
330
333
  msgstr "Se necesitan las opciones %s"
331
334
 
335
+ #, fuzzy
336
+ msgid "You can't set option %s"
337
+ msgstr "No se puede establecer ninguna de las opciones %s"
338
+
339
+ #, fuzzy
340
+ msgid "Option %s is required"
341
+ msgstr "Se necesitan las opciones %s"
342
+
332
343
  msgid "You can't set any of options %s"
333
344
  msgstr "No se puede establecer ninguna de las opciones %s"
334
345
 
335
346
  msgid "At least one of options %s is required"
336
347
  msgstr "Se necesita al menos una de las opciones %s"
348
+
349
+ #, fuzzy
350
+ msgid "One of options %s is required"
351
+ msgstr "Se necesita al menos una de las opciones %s"
352
+
353
+ msgid "Only one of options %s can be set"
354
+ msgstr ""
Binary file
@@ -3,7 +3,7 @@
3
3
  # This file is distributed under the same license as the hammer-cli package.
4
4
  #
5
5
  # Translators:
6
- # Claer <transiblu@claer.hammock.fr>, 2014-2015
6
+ # Claer <transiblu@claer.hammock.fr>, 2014-2016
7
7
  # Dominic Cleal <dominic@cleal.org>, 2014
8
8
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014
9
9
  msgid ""
@@ -11,8 +11,8 @@ msgstr ""
11
11
  "Project-Id-Version: Foreman\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "POT-Creation-Date: 2015-12-08 08:56+0000\n"
14
- "PO-Revision-Date: 2015-12-11 09:09+0000\n"
15
- "Last-Translator: Lukáš Zapletal\n"
14
+ "PO-Revision-Date: 2016-05-04 17:58+0000\n"
15
+ "Last-Translator: Claer <transiblu@claer.hammock.fr>\n"
16
16
  "Language-Team: French (http://www.transifex.com/foreman/foreman/language/fr/)\n"
17
17
  "MIME-Version: 1.0\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -58,99 +58,99 @@ msgstr "Aucune valeur fournit"
58
58
 
59
59
  #: ../lib/hammer_cli/defaults.rb:72
60
60
  msgid "Couldn't create %s please create the path before defaults are enabled."
61
- msgstr ""
61
+ msgstr "Impossible de créer %s, merci de créer le répertoire avant d'activer les options par défaut."
62
62
 
63
63
  #: ../lib/hammer_cli/defaults.rb:82
64
64
  msgid "Defaults management"
65
- msgstr ""
65
+ msgstr "Gestion par défaut"
66
66
 
67
67
  #: ../lib/hammer_cli/defaults_commands.rb:25
68
68
  msgid "List all the providers"
69
- msgstr ""
69
+ msgstr "Afficher tous les fournisseurs"
70
70
 
71
71
  #: ../lib/hammer_cli/defaults_commands.rb:37
72
72
  msgid "Provider"
73
- msgstr ""
73
+ msgstr "Fournisseur"
74
74
 
75
75
  #: ../lib/hammer_cli/defaults_commands.rb:38
76
76
  msgid "Supported defaults"
77
- msgstr ""
77
+ msgstr "Valeurs par défaut prises en charge"
78
78
 
79
79
  #: ../lib/hammer_cli/defaults_commands.rb:39
80
80
  msgid "Description"
81
- msgstr ""
81
+ msgstr "Description"
82
82
 
83
83
  #: ../lib/hammer_cli/defaults_commands.rb:56
84
84
  msgid "List all the default parameters"
85
- msgstr ""
85
+ msgstr "Afficher les paramètres par défaut"
86
86
 
87
87
  #: ../lib/hammer_cli/defaults_commands.rb:67
88
88
  msgid "Parameter"
89
- msgstr ""
89
+ msgstr "Paramètre"
90
90
 
91
91
  #: ../lib/hammer_cli/defaults_commands.rb:68
92
92
  msgid "Value"
93
- msgstr ""
93
+ msgstr "Valeur"
94
94
 
95
95
  #: ../lib/hammer_cli/defaults_commands.rb:86
96
96
  msgid "Delete a default param"
97
- msgstr ""
97
+ msgstr "Supprimer un paramètre par défaut"
98
98
 
99
99
  #: ../lib/hammer_cli/defaults_commands.rb:87
100
100
  msgid "The name of the default option"
101
- msgstr ""
101
+ msgstr "Le nom de l'option par défaut"
102
102
 
103
103
  #: ../lib/hammer_cli/defaults_commands.rb:103
104
104
  msgid "Add a default parameter to config"
105
- msgstr ""
105
+ msgstr "Ajout d'un paramètre par défaut à la configuration"
106
106
 
107
107
  #: ../lib/hammer_cli/defaults_commands.rb:104
108
108
  msgid "The name of the default option (e.g. organization_id)."
109
- msgstr ""
109
+ msgstr "Le nom de l'option par défaut (par ex. organization_id)."
110
110
 
111
111
  #: ../lib/hammer_cli/defaults_commands.rb:105
112
112
  msgid "The value for the default option"
113
- msgstr ""
113
+ msgstr "La valeur pour l'option par défaut"
114
114
 
115
115
  #: ../lib/hammer_cli/defaults_commands.rb:106
116
116
  msgid ""
117
117
  "The name of the provider providing the value. For list available providers "
118
118
  "see `hammer defaults providers`."
119
- msgstr ""
119
+ msgstr "Le nom du fournisseur délivrant la valeur par défaut. Pour une liste des fournisseurs disponibles veuillez consulter `hammer defaults providers`."
120
120
 
121
121
  #: ../lib/hammer_cli/defaults_commands.rb:134
122
122
  msgid ""
123
123
  "Added %{key_val} default-option with value that will be generated from the "
124
124
  "server."
125
- msgstr ""
125
+ msgstr "Ajout de l'option par défaut %{key_val} avec la valeur qui est générée par le serveur."
126
126
 
127
127
  #: ../lib/hammer_cli/defaults_commands.rb:135
128
128
  msgid "Added %{key_val} default-option with value %{val_val}."
129
- msgstr ""
129
+ msgstr "Ajout de l'option par défaut %{key_val} avec la valeur %{val_val}."
130
130
 
131
131
  #: ../lib/hammer_cli/defaults_commands.rb:139
132
132
  msgid ""
133
133
  "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
134
134
  "available providers.\""
135
- msgstr ""
135
+ msgstr "\"Le fournisseur #{namespace} est indisponible. Voir `hammer defaults providers` pour afficher la liste des fournisseurs disponibles.\""
136
136
 
137
137
  #: ../lib/hammer_cli/defaults_commands.rb:143
138
138
  msgid ""
139
139
  "The param name is not supported by provider. See `hammer defaults providers`"
140
140
  " for supported params."
141
- msgstr ""
141
+ msgstr "Le paramètre n'est pas supporté par le fournisseur. Voir `hammer defaults providers` pour afficher la liste des paramètres supportés."
142
142
 
143
143
  #: ../lib/hammer_cli/defaults_commands.rb:147
144
144
  msgid "%{param} was deleted successfully."
145
- msgstr ""
145
+ msgstr "Succès de la suppression de %{param}."
146
146
 
147
147
  #: ../lib/hammer_cli/defaults_commands.rb:151
148
148
  msgid "You must specify value or a provider name, cant specify both."
149
- msgstr ""
149
+ msgstr "Vous devez spécifier une valeur ou un nom de fournisseur, vous ne pouvez pas spécifier les deux."
150
150
 
151
151
  #: ../lib/hammer_cli/defaults_commands.rb:155
152
152
  msgid "Couldn't find the requested param in %s."
153
- msgstr ""
153
+ msgstr "Impossible de trouver le paramètre dans %s."
154
154
 
155
155
  #: ../lib/hammer_cli/exception_handler.rb:62
156
156
  msgid "Error: %s"
@@ -326,7 +326,7 @@ msgstr "la valeur doit être une combinaison de '%s'"
326
326
 
327
327
  #: ../lib/hammer_cli/options/option_definition.rb:56
328
328
  msgid "Warning: Option %{option} is deprecated. %{message}"
329
- msgstr ""
329
+ msgstr "Attention : L'option %{option} n'est plus supportée. %{message}"
330
330
 
331
331
  #: ../lib/hammer_cli/options/option_definition.rb:80
332
332
  msgid "Can be specified multiple times. "
@@ -9,7 +9,7 @@
9
9
  # jcarbone <jcarbone@redhat.com>, 2015. #zanata
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: hammer-cli 0.6.0\n"
12
+ "Project-Id-Version: hammer-cli 0.7.0\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
14
  "PO-Revision-Date: 2015-04-28 08:20+0000\n"
15
15
  "Last-Translator: jcarbone <jcarbone@redhat.com>\n"
@@ -218,10 +218,8 @@ msgstr "Erreur : certains modules requis sont désactivés dans la configuratio
218
218
  msgid "Comma-separated list of key=value."
219
219
  msgstr "Liste de clef=valeur séparées par des virgules."
220
220
 
221
- msgid "value must be defined as a comma-separated list of key=value"
221
+ msgid "value must be defined as a comma-separated list of key=value or valid JSON"
222
222
  msgstr ""
223
- "la valeur doit être définie comme liste de clef=valeur séparées par des virgul"
224
- "es"
225
223
 
226
224
  msgid "Comma separated list of values."
227
225
  msgstr "Liste de valeurs séparées par des virgules."
@@ -282,12 +280,17 @@ msgstr "Id"
282
280
  msgid "Name"
283
281
  msgstr "Nom"
284
282
 
285
- msgid "yes"
286
- msgstr "oui"
283
+ msgid ""
284
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
285
+ "ation)\""
286
+ msgstr ""
287
287
 
288
288
  msgid "no"
289
289
  msgstr "non"
290
290
 
291
+ msgid "yes"
292
+ msgstr "oui"
293
+
291
294
  msgid ""
292
295
  "Warning: location hammer.modules.d is deprecated, move your module configurati"
293
296
  "ons to cli.modules.d"
@@ -326,8 +329,23 @@ msgstr "Vous ne pouvez pas définir toutes les options %s en même temps"
326
329
  msgid "Options %s are required"
327
330
  msgstr "Options %s requises"
328
331
 
332
+ #, fuzzy
333
+ msgid "You can't set option %s"
334
+ msgstr "Vous ne pouvez définir les options de %s"
335
+
336
+ #, fuzzy
337
+ msgid "Option %s is required"
338
+ msgstr "Options %s requises"
339
+
329
340
  msgid "You can't set any of options %s"
330
341
  msgstr "Vous ne pouvez définir les options de %s"
331
342
 
332
343
  msgid "At least one of options %s is required"
333
344
  msgstr "Au moins une options de %s est requise"
345
+
346
+ #, fuzzy
347
+ msgid "One of options %s is required"
348
+ msgstr "Au moins une options de %s est requise"
349
+
350
+ msgid "Only one of options %s can be set"
351
+ msgstr ""