hammer_cli 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +1 -1
  3. data/doc/release_notes.md +12 -0
  4. data/lib/hammer_cli/defaults.rb +1 -1
  5. data/lib/hammer_cli/defaults_commands.rb +2 -2
  6. data/lib/hammer_cli/i18n.rb +48 -59
  7. data/lib/hammer_cli/options/option_definition.rb +25 -0
  8. data/lib/hammer_cli/output/adapter/table.rb +1 -1
  9. data/lib/hammer_cli/settings.rb +8 -4
  10. data/lib/hammer_cli/version.rb +1 -1
  11. data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
  12. data/locale/ca/hammer-cli.edit.po +54 -31
  13. data/locale/ca/hammer-cli.po +15 -8
  14. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  15. data/locale/de/hammer-cli.edit.po +72 -49
  16. data/locale/de/hammer-cli.po +15 -8
  17. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  18. data/locale/en/hammer-cli.edit.po +20 -8
  19. data/locale/en/hammer-cli.po +15 -8
  20. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  21. data/locale/en_GB/hammer-cli.edit.po +53 -30
  22. data/locale/en_GB/hammer-cli.po +15 -8
  23. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  24. data/locale/es/hammer-cli.edit.po +83 -60
  25. data/locale/es/hammer-cli.po +15 -8
  26. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  27. data/locale/fr/hammer-cli.edit.po +53 -30
  28. data/locale/fr/hammer-cli.po +15 -8
  29. data/locale/hammer-cli.pot +23 -13
  30. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  31. data/locale/it/hammer-cli.edit.po +53 -30
  32. data/locale/it/hammer-cli.po +15 -8
  33. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/ja/hammer-cli.edit.po +74 -51
  35. data/locale/ja/hammer-cli.po +15 -8
  36. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  37. data/locale/ko/hammer-cli.edit.po +77 -54
  38. data/locale/ko/hammer-cli.po +15 -8
  39. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  40. data/locale/pt_BR/hammer-cli.edit.po +73 -50
  41. data/locale/pt_BR/hammer-cli.po +15 -8
  42. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  43. data/locale/ru/hammer-cli.edit.po +54 -31
  44. data/locale/ru/hammer-cli.po +15 -8
  45. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  46. data/locale/zh_CN/hammer-cli.edit.po +76 -53
  47. data/locale/zh_CN/hammer-cli.po +15 -8
  48. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  49. data/locale/zh_TW/hammer-cli.edit.po +75 -52
  50. data/locale/zh_TW/hammer-cli.po +15 -8
  51. data/man/hammer.1.gz +0 -0
  52. data/test/functional/defaults_test.rb +1 -1
  53. data/test/unit/apipie/option_builder_test.rb +0 -4
  54. data/test/unit/exception_handler_test.rb +1 -1
  55. data/test/unit/i18n_test.rb +58 -12
  56. data/test/unit/options/option_definition_test.rb +18 -0
  57. metadata +3 -2
@@ -3,13 +3,13 @@
3
3
  # This file is distributed under the same license as the hammer-cli package.
4
4
  #
5
5
  # Translators:
6
- # Andi Chandler <andi@gowling.com>, 2015
6
+ # Andi Chandler <andi@gowling.com>, 2015-2016
7
7
  msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: Foreman\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2015-12-08 08:56+0000\n"
12
- "PO-Revision-Date: 2015-12-15 15:11+0000\n"
11
+ "POT-Creation-Date: 2016-06-14 23:26+0200\n"
12
+ "PO-Revision-Date: 2016-07-11 07:30+0000\n"
13
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"
@@ -54,11 +54,11 @@ msgstr "No such sub-command '%<name>s'"
54
54
  msgid "no value provided"
55
55
  msgstr "no value provided"
56
56
 
57
- #: ../lib/hammer_cli/defaults.rb:72
57
+ #: ../lib/hammer_cli/defaults.rb:77
58
58
  msgid "Couldn't create %s please create the path before defaults are enabled."
59
59
  msgstr "Couldn't create %s please create the path before defaults are enabled."
60
60
 
61
- #: ../lib/hammer_cli/defaults.rb:82
61
+ #: ../lib/hammer_cli/defaults.rb:101
62
62
  msgid "Defaults management"
63
63
  msgstr "Defaults management"
64
64
 
@@ -266,59 +266,60 @@ msgstr "Warning: An error occured while loading module %s"
266
266
  msgid "Error: Some of the required modules are disabled in configuration: %s "
267
267
  msgstr "Error: Some of the required modules are disabled in configuration: %s "
268
268
 
269
- #: ../lib/hammer_cli/options/normalizers.rb:26
269
+ #: ../lib/hammer_cli/options/normalizers.rb:29
270
270
  msgid "Comma-separated list of key=value."
271
271
  msgstr "Comma-separated list of key=value."
272
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 "value must be defined as a comma-separated list of key=value"
273
+ #: ../lib/hammer_cli/options/normalizers.rb:43
274
+ msgid ""
275
+ "value must be defined as a comma-separated list of key=value or valid JSON"
276
+ msgstr "value must be defined as a comma-separated list of key=value or valid JSON"
276
277
 
277
- #: ../lib/hammer_cli/options/normalizers.rb:73
278
+ #: ../lib/hammer_cli/options/normalizers.rb:85
278
279
  msgid "Comma separated list of values."
279
280
  msgstr "Comma separated list of values."
280
281
 
281
- #: ../lib/hammer_cli/options/normalizers.rb:88
282
+ #: ../lib/hammer_cli/options/normalizers.rb:100
282
283
  msgid "numeric value is required"
283
284
  msgstr "numeric value is required"
284
285
 
285
- #: ../lib/hammer_cli/options/normalizers.rb:102
286
+ #: ../lib/hammer_cli/options/normalizers.rb:114
286
287
  msgid "One of true/false, yes/no, 1/0."
287
288
  msgstr "One of true/false, yes/no, 1/0."
288
289
 
289
- #: ../lib/hammer_cli/options/normalizers.rb:112
290
+ #: ../lib/hammer_cli/options/normalizers.rb:124
290
291
  msgid "value must be one of true/false, yes/no, 1/0"
291
292
  msgstr "value must be one of true/false, yes/no, 1/0"
292
293
 
293
- #: ../lib/hammer_cli/options/normalizers.rb:151
294
+ #: ../lib/hammer_cli/options/normalizers.rb:163
294
295
  msgid "Unable to parse JSON input"
295
296
  msgstr "Unable to parse JSON input"
296
297
 
297
- #: ../lib/hammer_cli/options/normalizers.rb:165
298
+ #: ../lib/hammer_cli/options/normalizers.rb:177
298
299
  msgid "Possible value(s): %s"
299
300
  msgstr "Possible value(s): %s"
300
301
 
301
- #: ../lib/hammer_cli/options/normalizers.rb:173
302
+ #: ../lib/hammer_cli/options/normalizers.rb:185
302
303
  msgid "value must be %s"
303
304
  msgstr "value must be %s"
304
305
 
305
- #: ../lib/hammer_cli/options/normalizers.rb:175
306
+ #: ../lib/hammer_cli/options/normalizers.rb:187
306
307
  msgid "value must be one of %s"
307
308
  msgstr "value must be one of %s"
308
309
 
309
- #: ../lib/hammer_cli/options/normalizers.rb:196
310
+ #: ../lib/hammer_cli/options/normalizers.rb:208
310
311
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
311
312
  msgstr "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
312
313
 
313
- #: ../lib/hammer_cli/options/normalizers.rb:203
314
+ #: ../lib/hammer_cli/options/normalizers.rb:215
314
315
  msgid "'%s' is not a valid date"
315
316
  msgstr "'%s' is not a valid date"
316
317
 
317
- #: ../lib/hammer_cli/options/normalizers.rb:214
318
+ #: ../lib/hammer_cli/options/normalizers.rb:226
318
319
  msgid "Any combination (comma separated list) of '%s'"
319
320
  msgstr "Any combination (comma separated list) of '%s'"
320
321
 
321
- #: ../lib/hammer_cli/options/normalizers.rb:234
322
+ #: ../lib/hammer_cli/options/normalizers.rb:246
322
323
  msgid "value must be a combination of '%s'"
323
324
  msgstr "value must be a combination of '%s'"
324
325
 
@@ -338,26 +339,32 @@ msgstr "Default: "
338
339
  msgid ", or "
339
340
  msgstr ", or "
340
341
 
341
- #: ../lib/hammer_cli/output/adapter/csv.rb:174
342
+ #: ../lib/hammer_cli/output/adapter/csv.rb:179
342
343
  msgid "Message"
343
344
  msgstr "Message"
344
345
 
345
- #: ../lib/hammer_cli/output/adapter/csv.rb:178
346
+ #: ../lib/hammer_cli/output/adapter/csv.rb:183
346
347
  msgid "Id"
347
348
  msgstr "Id"
348
349
 
349
- #: ../lib/hammer_cli/output/adapter/csv.rb:183
350
+ #: ../lib/hammer_cli/output/adapter/csv.rb:188
350
351
  msgid "Name"
351
352
  msgstr "Name"
352
353
 
353
- #: ../lib/hammer_cli/output/formatters.rb:154
354
- msgid "yes"
355
- msgstr "yes"
354
+ #: ../lib/hammer_cli/output/adapter/table.rb:63
355
+ msgid ""
356
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for "
357
+ "navigation)\""
358
+ msgstr "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navigation)\""
356
359
 
357
- #: ../lib/hammer_cli/output/formatters.rb:154
360
+ #: ../lib/hammer_cli/output/formatters.rb:160
358
361
  msgid "no"
359
362
  msgstr "no"
360
363
 
364
+ #: ../lib/hammer_cli/output/formatters.rb:160
365
+ msgid "yes"
366
+ msgstr "yes"
367
+
361
368
  #: ../lib/hammer_cli/settings.rb:27
362
369
  msgid ""
363
370
  "Warning: location hammer.modules.d is deprecated, move your module "
@@ -402,10 +409,26 @@ msgstr "You can't set all options %s at one time"
402
409
  msgid "Options %s are required"
403
410
  msgstr "Options %s are required"
404
411
 
405
- #: ../lib/hammer_cli/validator.rb:79
412
+ #: ../lib/hammer_cli/validator.rb:77
413
+ msgid "You can't set option %s"
414
+ msgstr "You can't set option %s"
415
+
416
+ #: ../lib/hammer_cli/validator.rb:78
417
+ msgid "Option %s is required"
418
+ msgstr "Option %s is required"
419
+
420
+ #: ../lib/hammer_cli/validator.rb:90
406
421
  msgid "You can't set any of options %s"
407
422
  msgstr "You can't set any of options %s"
408
423
 
409
- #: ../lib/hammer_cli/validator.rb:80
424
+ #: ../lib/hammer_cli/validator.rb:91
410
425
  msgid "At least one of options %s is required"
411
426
  msgstr "At least one of options %s is required"
427
+
428
+ #: ../lib/hammer_cli/validator.rb:116
429
+ msgid "One of options %s is required"
430
+ msgstr "One of options %s is required"
431
+
432
+ #: ../lib/hammer_cli/validator.rb:120
433
+ msgid "Only one of options %s can be set"
434
+ msgstr "Only one of options %s can be set"
@@ -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.7.0\n"
9
+ "Project-Id-Version: hammer-cli 0.8.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"
@@ -45,7 +45,7 @@ msgstr "No such sub-command '%<name>s'"
45
45
  msgid "no value provided"
46
46
  msgstr "no value provided"
47
47
 
48
- msgid "Couldn't create %s please create the path before defaults are enabled."
48
+ msgid "Couldn't create %s. Please create the directory before setting defaults."
49
49
  msgstr ""
50
50
 
51
51
  msgid "Defaults management"
@@ -101,8 +101,8 @@ msgid "Added %{key_val} default-option with value %{val_val}."
101
101
  msgstr ""
102
102
 
103
103
  msgid ""
104
- "\"Provider #{namespace} was not found. See `hammer defaults providers` for avai"
105
- "lable providers.\""
104
+ "Provider %{name} was not found. See `hammer defaults providers` for available "
105
+ "providers."
106
106
  msgstr ""
107
107
 
108
108
  msgid ""
@@ -113,7 +113,7 @@ msgstr ""
113
113
  msgid "%{param} was deleted successfully."
114
114
  msgstr ""
115
115
 
116
- msgid "You must specify value or a provider name, cant specify both."
116
+ msgid "You must specify value or a provider name, can't specify both."
117
117
  msgstr ""
118
118
 
119
119
  msgid "Couldn't find the requested param in %s."
@@ -259,6 +259,12 @@ msgstr "value must be a combination of '%s'"
259
259
  msgid "Warning: Option %{option} is deprecated. %{message}"
260
260
  msgstr ""
261
261
 
262
+ msgid "Deprecated: %{deprecated_msg}"
263
+ msgstr ""
264
+
265
+ msgid "%{flag} is deprecated: %{deprecated_msg}"
266
+ msgstr ""
267
+
262
268
  msgid "Can be specified multiple times. "
263
269
  msgstr "Can be specified multiple times. "
264
270
 
@@ -277,9 +283,7 @@ msgstr "Id"
277
283
  msgid "Name"
278
284
  msgstr "Name"
279
285
 
280
- msgid ""
281
- "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
282
- "ation)\""
286
+ msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
283
287
  msgstr ""
284
288
 
285
289
  msgid "no"
@@ -295,6 +299,9 @@ msgstr ""
295
299
  "Warning: location hammer.modules.d is deprecated, move your module configurati"
296
300
  "ons to cli.modules.d"
297
301
 
302
+ msgid "Warning: Couldn't load configuration file %{path}: %{message}"
303
+ msgstr ""
304
+
298
305
  msgid "Print help for commands"
299
306
  msgstr "Print help for commands"
300
307
 
Binary file
@@ -11,9 +11,9 @@ msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: Foreman\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
- "POT-Creation-Date: 2015-12-08 08:56+0000\n"
15
- "PO-Revision-Date: 2015-12-11 09:09+0000\n"
16
- "Last-Translator: Lukáš Zapletal\n"
14
+ "POT-Creation-Date: 2016-06-14 23:26+0200\n"
15
+ "PO-Revision-Date: 2016-08-22 15:05+0000\n"
16
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
17
17
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)\n"
18
18
  "MIME-Version: 1.0\n"
19
19
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -57,101 +57,101 @@ msgstr "Subcomando no existe '%<name>s'"
57
57
  msgid "no value provided"
58
58
  msgstr "no se proporcionó un valor"
59
59
 
60
- #: ../lib/hammer_cli/defaults.rb:72
60
+ #: ../lib/hammer_cli/defaults.rb:77
61
61
  msgid "Couldn't create %s please create the path before defaults are enabled."
62
- msgstr ""
62
+ msgstr "No se pudo crear %s. Cree la ruta antes de que se habiliten los valores predeterminados."
63
63
 
64
- #: ../lib/hammer_cli/defaults.rb:82
64
+ #: ../lib/hammer_cli/defaults.rb:101
65
65
  msgid "Defaults management"
66
- msgstr ""
66
+ msgstr "Administración de valores predeterminados"
67
67
 
68
68
  #: ../lib/hammer_cli/defaults_commands.rb:25
69
69
  msgid "List all the providers"
70
- msgstr ""
70
+ msgstr "Listar todos los proveedores"
71
71
 
72
72
  #: ../lib/hammer_cli/defaults_commands.rb:37
73
73
  msgid "Provider"
74
- msgstr ""
74
+ msgstr "Proveedor"
75
75
 
76
76
  #: ../lib/hammer_cli/defaults_commands.rb:38
77
77
  msgid "Supported defaults"
78
- msgstr ""
78
+ msgstr "Valores predeterminados admitidos"
79
79
 
80
80
  #: ../lib/hammer_cli/defaults_commands.rb:39
81
81
  msgid "Description"
82
- msgstr ""
82
+ msgstr "Descripción"
83
83
 
84
84
  #: ../lib/hammer_cli/defaults_commands.rb:56
85
85
  msgid "List all the default parameters"
86
- msgstr ""
86
+ msgstr "Listar todos los parámetros predeterminados"
87
87
 
88
88
  #: ../lib/hammer_cli/defaults_commands.rb:67
89
89
  msgid "Parameter"
90
- msgstr ""
90
+ msgstr "Parámetro"
91
91
 
92
92
  #: ../lib/hammer_cli/defaults_commands.rb:68
93
93
  msgid "Value"
94
- msgstr ""
94
+ msgstr "Valor"
95
95
 
96
96
  #: ../lib/hammer_cli/defaults_commands.rb:86
97
97
  msgid "Delete a default param"
98
- msgstr ""
98
+ msgstr "Eliminar un parámetros predeterminado"
99
99
 
100
100
  #: ../lib/hammer_cli/defaults_commands.rb:87
101
101
  msgid "The name of the default option"
102
- msgstr ""
102
+ msgstr "El nombre de la opción predeterminada"
103
103
 
104
104
  #: ../lib/hammer_cli/defaults_commands.rb:103
105
105
  msgid "Add a default parameter to config"
106
- msgstr ""
106
+ msgstr "Agregar un parámetro predeterminado a la configuración"
107
107
 
108
108
  #: ../lib/hammer_cli/defaults_commands.rb:104
109
109
  msgid "The name of the default option (e.g. organization_id)."
110
- msgstr ""
110
+ msgstr "El nombre de la opción predeterminada (por ejemplo, ID de la organización)."
111
111
 
112
112
  #: ../lib/hammer_cli/defaults_commands.rb:105
113
113
  msgid "The value for the default option"
114
- msgstr ""
114
+ msgstr "El valor de la opción predeterminada"
115
115
 
116
116
  #: ../lib/hammer_cli/defaults_commands.rb:106
117
117
  msgid ""
118
118
  "The name of the provider providing the value. For list available providers "
119
119
  "see `hammer defaults providers`."
120
- msgstr ""
120
+ msgstr "El nombre del proveedor que proporciona valor. Para consultar la lista de proveedores disponibles, consulte `proveedores predeterminados de martillos`."
121
121
 
122
122
  #: ../lib/hammer_cli/defaults_commands.rb:134
123
123
  msgid ""
124
124
  "Added %{key_val} default-option with value that will be generated from the "
125
125
  "server."
126
- msgstr ""
126
+ msgstr "La opción predeterminada %{key_val} agregada con valor que se generará a partir del servidor."
127
127
 
128
128
  #: ../lib/hammer_cli/defaults_commands.rb:135
129
129
  msgid "Added %{key_val} default-option with value %{val_val}."
130
- msgstr ""
130
+ msgstr "Opción predeterminada %{key_val} agregada con el valor %{val_val}."
131
131
 
132
132
  #: ../lib/hammer_cli/defaults_commands.rb:139
133
133
  msgid ""
134
134
  "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
135
135
  "available providers.\""
136
- msgstr ""
136
+ msgstr "No se encontró el proveedor #{namespace}. Consulte `proveedores predeterminados de martillos` para conocer los proveedores disponibles."
137
137
 
138
138
  #: ../lib/hammer_cli/defaults_commands.rb:143
139
139
  msgid ""
140
140
  "The param name is not supported by provider. See `hammer defaults providers`"
141
141
  " for supported params."
142
- msgstr ""
142
+ msgstr "El proveedor no admite el nombre del parámetro. Consulte `proveedores predeterminados de martillos` para conocer los parámetros admitidos."
143
143
 
144
144
  #: ../lib/hammer_cli/defaults_commands.rb:147
145
145
  msgid "%{param} was deleted successfully."
146
- msgstr ""
146
+ msgstr "%{param} se eliminó con correctamente."
147
147
 
148
148
  #: ../lib/hammer_cli/defaults_commands.rb:151
149
149
  msgid "You must specify value or a provider name, cant specify both."
150
- msgstr ""
150
+ msgstr "Debe especificar el valor o el nombre de un proveedor, no puede especificar ambos."
151
151
 
152
152
  #: ../lib/hammer_cli/defaults_commands.rb:155
153
153
  msgid "Couldn't find the requested param in %s."
154
- msgstr ""
154
+ msgstr "No se pudo encontrar el parámetro solicitado en %s."
155
155
 
156
156
  #: ../lib/hammer_cli/exception_handler.rb:62
157
157
  msgid "Error: %s"
@@ -175,13 +175,13 @@ msgstr "No se pudo cargar la descripción de la API desde el servidor"
175
175
 
176
176
  #: ../lib/hammer_cli/exception_handler.rb:94
177
177
  msgid "is the server down?"
178
- msgstr "¿Está caído el servidor?"
178
+ msgstr "¿Está apagado el servidor?"
179
179
 
180
180
  #: ../lib/hammer_cli/exception_handler.rb:95
181
181
  msgid ""
182
182
  "was '%s' run on the server when using apipie cache? (typical production "
183
183
  "settings)"
184
- msgstr "¿Se ejecutó '%s' en el servidor al usar la caché apipe? (parámetros típicos de producción)"
184
+ msgstr "¿Se ejecutó '%s' en el servidor al usar la caché apipe? (configuración típica de producción)"
185
185
 
186
186
  #: ../lib/hammer_cli/exception_handler.rb:101
187
187
  msgid "Missing arguments for %s"
@@ -229,7 +229,7 @@ msgstr "mostrar versión"
229
229
 
230
230
  #: ../lib/hammer_cli/main.rb:23
231
231
  msgid "unknown version"
232
- msgstr "versión desconocida"
232
+ msgstr "Versión desconocida"
233
233
 
234
234
  #: ../lib/hammer_cli/main.rb:29
235
235
  msgid "Show ids of associated resources"
@@ -269,65 +269,66 @@ msgstr "Advertencia: Ha ocurrido un error al cargar el módulo %s"
269
269
  msgid "Error: Some of the required modules are disabled in configuration: %s "
270
270
  msgstr "Error: Algunos de los módulos requeridos se desactivan en esta configuración: %s "
271
271
 
272
- #: ../lib/hammer_cli/options/normalizers.rb:26
272
+ #: ../lib/hammer_cli/options/normalizers.rb:29
273
273
  msgid "Comma-separated list of key=value."
274
274
  msgstr "Lista de pares llave=valor separados por comas."
275
275
 
276
- #: ../lib/hammer_cli/options/normalizers.rb:39
277
- msgid "value must be defined as a comma-separated list of key=value"
278
- msgstr "el valor debe definirse como una lista de pares llave=valor separados por comas"
276
+ #: ../lib/hammer_cli/options/normalizers.rb:43
277
+ msgid ""
278
+ "value must be defined as a comma-separated list of key=value or valid JSON"
279
+ msgstr "el valor debe definirse como una lista de llave=valor o JSON válidos separados por comas"
279
280
 
280
- #: ../lib/hammer_cli/options/normalizers.rb:73
281
+ #: ../lib/hammer_cli/options/normalizers.rb:85
281
282
  msgid "Comma separated list of values."
282
283
  msgstr "Lista de valores separadas por comas."
283
284
 
284
- #: ../lib/hammer_cli/options/normalizers.rb:88
285
+ #: ../lib/hammer_cli/options/normalizers.rb:100
285
286
  msgid "numeric value is required"
286
- msgstr "se requiere un valor numérico"
287
+ msgstr "el valor numérico es obligatorio."
287
288
 
288
- #: ../lib/hammer_cli/options/normalizers.rb:102
289
+ #: ../lib/hammer_cli/options/normalizers.rb:114
289
290
  msgid "One of true/false, yes/no, 1/0."
290
291
  msgstr "Uno de verdadero/falso, si/no, 1/0."
291
292
 
292
- #: ../lib/hammer_cli/options/normalizers.rb:112
293
+ #: ../lib/hammer_cli/options/normalizers.rb:124
293
294
  msgid "value must be one of true/false, yes/no, 1/0"
294
295
  msgstr "el valor debe ser uno de verdadero/falso, sí/no, 1/0"
295
296
 
296
- #: ../lib/hammer_cli/options/normalizers.rb:151
297
+ #: ../lib/hammer_cli/options/normalizers.rb:163
297
298
  msgid "Unable to parse JSON input"
298
299
  msgstr "Imposible analizar la entrada JSON"
299
300
 
300
- #: ../lib/hammer_cli/options/normalizers.rb:165
301
+ #: ../lib/hammer_cli/options/normalizers.rb:177
301
302
  msgid "Possible value(s): %s"
302
303
  msgstr "Valores posibles: %s"
303
304
 
304
- #: ../lib/hammer_cli/options/normalizers.rb:173
305
+ #: ../lib/hammer_cli/options/normalizers.rb:185
305
306
  msgid "value must be %s"
306
- msgstr "el valor debe ser %s"
307
+ msgstr "valor debe ser uno de '%s'"
307
308
 
308
- #: ../lib/hammer_cli/options/normalizers.rb:175
309
+ #: ../lib/hammer_cli/options/normalizers.rb:187
309
310
  msgid "value must be one of %s"
310
- msgstr "el valor debe ser uno de %s"
311
+ msgstr "valor debe ser uno de '%s'"
311
312
 
312
- #: ../lib/hammer_cli/options/normalizers.rb:196
313
+ #: ../lib/hammer_cli/options/normalizers.rb:208
313
314
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
314
315
  msgstr "Fecha y hora en AAAA-MM-DD HH:MM:SS o formato ISO 8601"
315
316
 
316
- #: ../lib/hammer_cli/options/normalizers.rb:203
317
+ #: ../lib/hammer_cli/options/normalizers.rb:215
317
318
  msgid "'%s' is not a valid date"
318
319
  msgstr "'%s' no es una fecha válida"
319
320
 
320
- #: ../lib/hammer_cli/options/normalizers.rb:214
321
+ #: ../lib/hammer_cli/options/normalizers.rb:226
321
322
  msgid "Any combination (comma separated list) of '%s'"
322
323
  msgstr "Cualquier combinación (lista separada por comas) de '%s'"
323
324
 
324
- #: ../lib/hammer_cli/options/normalizers.rb:234
325
+ #: ../lib/hammer_cli/options/normalizers.rb:246
325
326
  msgid "value must be a combination of '%s'"
326
327
  msgstr "el valor debe ser una combinación de '%s'"
327
328
 
328
329
  #: ../lib/hammer_cli/options/option_definition.rb:56
329
330
  msgid "Warning: Option %{option} is deprecated. %{message}"
330
- msgstr ""
331
+ msgstr "Advertencia: La opción %{option} es obsoleta. %{message}"
331
332
 
332
333
  #: ../lib/hammer_cli/options/option_definition.rb:80
333
334
  msgid "Can be specified multiple times. "
@@ -341,25 +342,31 @@ msgstr "Predeterminado: "
341
342
  msgid ", or "
342
343
  msgstr ", o "
343
344
 
344
- #: ../lib/hammer_cli/output/adapter/csv.rb:174
345
+ #: ../lib/hammer_cli/output/adapter/csv.rb:179
345
346
  msgid "Message"
346
347
  msgstr "Mensaje"
347
348
 
348
- #: ../lib/hammer_cli/output/adapter/csv.rb:178
349
+ #: ../lib/hammer_cli/output/adapter/csv.rb:183
349
350
  msgid "Id"
350
351
  msgstr "ID"
351
352
 
352
- #: ../lib/hammer_cli/output/adapter/csv.rb:183
353
+ #: ../lib/hammer_cli/output/adapter/csv.rb:188
353
354
  msgid "Name"
354
355
  msgstr "Nombre"
355
356
 
356
- #: ../lib/hammer_cli/output/formatters.rb:154
357
- msgid "yes"
358
- msgstr "sí"
357
+ #: ../lib/hammer_cli/output/adapter/table.rb:63
358
+ msgid ""
359
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for "
360
+ "navigation)\""
361
+ msgstr "\"Página #{collection.meta.page} de #{pages} (use --page y --per-page para navegación)\""
359
362
 
360
- #: ../lib/hammer_cli/output/formatters.rb:154
363
+ #: ../lib/hammer_cli/output/formatters.rb:160
361
364
  msgid "no"
362
- msgstr "no"
365
+ msgstr "No"
366
+
367
+ #: ../lib/hammer_cli/output/formatters.rb:160
368
+ msgid "yes"
369
+ msgstr "Sí"
363
370
 
364
371
  #: ../lib/hammer_cli/settings.rb:27
365
372
  msgid ""
@@ -405,10 +412,26 @@ msgstr "No se pueden establecer todas las opciones %s al mismo tiempo"
405
412
  msgid "Options %s are required"
406
413
  msgstr "Se necesitan las opciones %s"
407
414
 
408
- #: ../lib/hammer_cli/validator.rb:79
415
+ #: ../lib/hammer_cli/validator.rb:77
416
+ msgid "You can't set option %s"
417
+ msgstr ""
418
+
419
+ #: ../lib/hammer_cli/validator.rb:78
420
+ msgid "Option %s is required"
421
+ msgstr ""
422
+
423
+ #: ../lib/hammer_cli/validator.rb:90
409
424
  msgid "You can't set any of options %s"
410
425
  msgstr "No se puede establecer ninguna de las opciones %s"
411
426
 
412
- #: ../lib/hammer_cli/validator.rb:80
427
+ #: ../lib/hammer_cli/validator.rb:91
413
428
  msgid "At least one of options %s is required"
414
429
  msgstr "Se necesita al menos una de las opciones %s"
430
+
431
+ #: ../lib/hammer_cli/validator.rb:116
432
+ msgid "One of options %s is required"
433
+ msgstr ""
434
+
435
+ #: ../lib/hammer_cli/validator.rb:120
436
+ msgid "Only one of options %s can be set"
437
+ msgstr ""
@@ -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.7.0\n"
11
+ "Project-Id-Version: hammer-cli 0.8.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"
@@ -48,7 +48,7 @@ msgstr "Subcomando no existe '%<name>s'"
48
48
  msgid "no value provided"
49
49
  msgstr "no se proporcionó un valor"
50
50
 
51
- msgid "Couldn't create %s please create the path before defaults are enabled."
51
+ msgid "Couldn't create %s. Please create the directory before setting defaults."
52
52
  msgstr ""
53
53
 
54
54
  msgid "Defaults management"
@@ -104,8 +104,8 @@ msgid "Added %{key_val} default-option with value %{val_val}."
104
104
  msgstr ""
105
105
 
106
106
  msgid ""
107
- "\"Provider #{namespace} was not found. See `hammer defaults providers` for avai"
108
- "lable providers.\""
107
+ "Provider %{name} was not found. See `hammer defaults providers` for available "
108
+ "providers."
109
109
  msgstr ""
110
110
 
111
111
  msgid ""
@@ -116,7 +116,7 @@ msgstr ""
116
116
  msgid "%{param} was deleted successfully."
117
117
  msgstr ""
118
118
 
119
- msgid "You must specify value or a provider name, cant specify both."
119
+ msgid "You must specify value or a provider name, can't specify both."
120
120
  msgstr ""
121
121
 
122
122
  msgid "Couldn't find the requested param in %s."
@@ -265,6 +265,12 @@ msgstr "el valor debe ser una combinación de '%s'"
265
265
  msgid "Warning: Option %{option} is deprecated. %{message}"
266
266
  msgstr ""
267
267
 
268
+ msgid "Deprecated: %{deprecated_msg}"
269
+ msgstr ""
270
+
271
+ msgid "%{flag} is deprecated: %{deprecated_msg}"
272
+ msgstr ""
273
+
268
274
  msgid "Can be specified multiple times. "
269
275
  msgstr "Puede especificarse varias veces."
270
276
 
@@ -283,9 +289,7 @@ msgstr "ID"
283
289
  msgid "Name"
284
290
  msgstr "Nombre"
285
291
 
286
- msgid ""
287
- "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
288
- "ation)\""
292
+ msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
289
293
  msgstr ""
290
294
 
291
295
  msgid "no"
@@ -301,6 +305,9 @@ msgstr ""
301
305
  "Advertencia: la localización hammer.modules.d está obsoleta, desplace los mód"
302
306
  "ulos de configuración a cli.modules.d"
303
307
 
308
+ msgid "Warning: Couldn't load configuration file %{path}: %{message}"
309
+ msgstr ""
310
+
304
311
  msgid "Print help for commands"
305
312
  msgstr "Imprimir ayuda para comandos"
306
313
 
Binary file