hammer_cli 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/config/cli_config.template.yml +2 -2
  3. data/doc/release_notes.md +15 -0
  4. data/lib/hammer_cli/abstract.rb +22 -31
  5. data/lib/hammer_cli/apipie.rb +1 -0
  6. data/lib/hammer_cli/apipie/api_connection.rb +27 -0
  7. data/lib/hammer_cli/apipie/option_builder.rb +3 -3
  8. data/lib/hammer_cli/apipie/resource.rb +1 -26
  9. data/lib/hammer_cli/connection.rb +12 -11
  10. data/lib/hammer_cli/context.rb +4 -2
  11. data/lib/hammer_cli/exception_handler.rb +1 -1
  12. data/lib/hammer_cli/help/builder.rb +58 -0
  13. data/lib/hammer_cli/help/text_builder.rb +79 -0
  14. data/lib/hammer_cli/logger.rb +24 -21
  15. data/lib/hammer_cli/options/normalizers.rb +13 -2
  16. data/lib/hammer_cli/output/adapter/table.rb +2 -0
  17. data/lib/hammer_cli/output/formatters.rb +1 -1
  18. data/lib/hammer_cli/output/utils.rb +43 -0
  19. data/lib/hammer_cli/table_print/column.rb +19 -0
  20. data/lib/hammer_cli/table_print/formatter.rb +18 -0
  21. data/lib/hammer_cli/utils.rb +5 -1
  22. data/lib/hammer_cli/validator.rb +12 -2
  23. data/lib/hammer_cli/version.rb +1 -1
  24. data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
  25. data/locale/ca/hammer-cli.edit.po +26 -15
  26. data/locale/ca/hammer-cli.po +22 -6
  27. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  28. data/locale/de/hammer-cli.edit.po +32 -20
  29. data/locale/de/hammer-cli.po +22 -6
  30. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  31. data/locale/en/hammer-cli.edit.po +47 -29
  32. data/locale/en/hammer-cli.po +21 -5
  33. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/en_GB/hammer-cli.edit.po +28 -17
  35. data/locale/en_GB/hammer-cli.po +22 -6
  36. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  37. data/locale/es/hammer-cli.edit.po +28 -17
  38. data/locale/es/hammer-cli.po +22 -6
  39. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  40. data/locale/fr/hammer-cli.edit.po +28 -17
  41. data/locale/fr/hammer-cli.po +22 -6
  42. data/locale/hammer-cli.pot +49 -31
  43. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  44. data/locale/it/hammer-cli.edit.po +23 -12
  45. data/locale/it/hammer-cli.po +22 -6
  46. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  47. data/locale/ja/hammer-cli.edit.po +28 -17
  48. data/locale/ja/hammer-cli.po +22 -6
  49. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  50. data/locale/ko/hammer-cli.edit.po +27 -16
  51. data/locale/ko/hammer-cli.po +22 -6
  52. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  53. data/locale/pt_BR/hammer-cli.edit.po +30 -19
  54. data/locale/pt_BR/hammer-cli.po +22 -6
  55. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  56. data/locale/ru/hammer-cli.edit.po +28 -17
  57. data/locale/ru/hammer-cli.po +22 -6
  58. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  59. data/locale/zh_CN/hammer-cli.edit.po +28 -17
  60. data/locale/zh_CN/hammer-cli.po +22 -6
  61. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  62. data/locale/zh_TW/hammer-cli.edit.po +27 -16
  63. data/locale/zh_TW/hammer-cli.po +22 -6
  64. data/man/hammer.1.gz +0 -0
  65. data/test/functional/help_test.rb +87 -0
  66. data/test/test_helper.rb +6 -0
  67. data/test/unit/abstract_test.rb +9 -0
  68. data/test/unit/apipie/api_connection_test.rb +38 -0
  69. data/test/unit/apipie/command_test.rb +6 -46
  70. data/test/unit/connection_test.rb +45 -54
  71. data/test/unit/exception_handler_test.rb +1 -1
  72. data/test/unit/fixtures/apipie/documented.json +1 -1
  73. data/test/unit/help/builder_test.rb +57 -0
  74. data/test/unit/help/text_builder_test.rb +140 -0
  75. data/test/unit/logger_test.rb +19 -0
  76. data/test/unit/options/normalizers_test.rb +12 -0
  77. data/test/unit/output/adapter/table_test.rb +101 -13
  78. data/test/unit/output/formatters_test.rb +6 -3
  79. data/test/unit/validator_test.rb +31 -2
  80. metadata +207 -179
@@ -12,7 +12,7 @@
12
12
  # hpeters <hpeters@redhat.com>, 2015. #zanata
13
13
  msgid ""
14
14
  msgstr ""
15
- "Project-Id-Version: hammer-cli 0.8.0\n"
15
+ "Project-Id-Version: hammer-cli 0.9.0\n"
16
16
  "Report-Msgid-Bugs-To: \n"
17
17
  "PO-Revision-Date: 2015-04-27 11:50+0000\n"
18
18
  "Last-Translator: hpeters <hpeters@redhat.com>\n"
@@ -135,9 +135,6 @@ msgstr "Fehler: %{message}"
135
135
  msgid "See: '%{path} --help'"
136
136
  msgstr "Siehe: '%{path} --help'"
137
137
 
138
- msgid "Invalid username or password"
139
- msgstr "Falscher Benutzername oder falsches Passwort"
140
-
141
138
  msgid "Could not load the API description from the server"
142
139
  msgstr "Die API-Beschreibung konnte nicht vom Server geladen werden"
143
140
 
@@ -226,8 +223,27 @@ msgstr "Kommagetrennte Liste mit Schlüssel-Wert-Paaren."
226
223
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
227
224
  msgstr ""
228
225
 
229
- msgid "Comma separated list of values."
230
- msgstr "Kommagetrennte Liste von Werten."
226
+ msgid "Missing or stray quote."
227
+ msgstr ""
228
+
229
+ msgid ""
230
+ "Unquoted fields do not allow
231
231
  or \n"
232
+ "."
233
+ msgstr ""
234
+
235
+ msgid "Illegal quoting."
236
+ msgstr ""
237
+
238
+ msgid "Unclosed quoted field."
239
+ msgstr ""
240
+
241
+ msgid "Field size exceeded."
242
+ msgstr ""
243
+
244
+ msgid ""
245
+ "Comma separated list of values. Values containing comma should be double quote"
246
+ "d"
247
+ msgstr ""
232
248
 
233
249
  msgid "numeric value is required"
234
250
  msgstr ""
Binary file
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli 0.7.0\n"
8
+ "Project-Id-Version: hammer-cli 0.8.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"
@@ -152,10 +152,6 @@ msgstr ""
152
152
  msgid "See: '%{path} --help'"
153
153
  msgstr ""
154
154
 
155
- #: ../lib/hammer_cli/exception_handler.rb:86
156
- msgid "Invalid username or password"
157
- msgstr ""
158
-
159
155
  #: ../lib/hammer_cli/exception_handler.rb:93
160
156
  msgid "Could not load the API description from the server"
161
157
  msgstr ""
@@ -172,7 +168,7 @@ msgstr ""
172
168
  msgid "Missing arguments for %s"
173
169
  msgstr ""
174
170
 
175
- #: ../lib/hammer_cli/logger.rb:57
171
+ #: ../lib/hammer_cli/logger.rb:58
176
172
  msgid "No permissions to create log dir %s"
177
173
  msgstr ""
178
174
 
@@ -252,59 +248,81 @@ msgstr ""
252
248
  msgid "Error: Some of the required modules are disabled in configuration: %s "
253
249
  msgstr ""
254
250
 
255
- #: ../lib/hammer_cli/options/normalizers.rb:29
251
+ #: ../lib/hammer_cli/options/normalizers.rb:30
256
252
  msgid "Comma-separated list of key=value."
257
253
  msgstr ""
258
254
 
259
- #: ../lib/hammer_cli/options/normalizers.rb:43
255
+ #: ../lib/hammer_cli/options/normalizers.rb:44
260
256
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
261
257
  msgstr ""
262
258
 
259
+ #: ../lib/hammer_cli/options/normalizers.rb:83
260
+ msgid "Missing or stray quote."
261
+ msgstr ""
262
+
263
+ #: ../lib/hammer_cli/options/normalizers.rb:84
264
+ msgid ""
265
+ "Unquoted fields do not allow
263
266
  or \n"
267
+ "."
268
+ msgstr ""
269
+
264
270
  #: ../lib/hammer_cli/options/normalizers.rb:85
265
- msgid "Comma separated list of values."
271
+ msgid "Illegal quoting."
266
272
  msgstr ""
267
273
 
268
- #: ../lib/hammer_cli/options/normalizers.rb:100
274
+ #: ../lib/hammer_cli/options/normalizers.rb:86
275
+ msgid "Unclosed quoted field."
276
+ msgstr ""
277
+
278
+ #: ../lib/hammer_cli/options/normalizers.rb:87
279
+ msgid "Field size exceeded."
280
+ msgstr ""
281
+
282
+ #: ../lib/hammer_cli/options/normalizers.rb:93
283
+ msgid "Comma separated list of values. Values containing comma should be double quoted"
284
+ msgstr ""
285
+
286
+ #: ../lib/hammer_cli/options/normalizers.rb:111
269
287
  msgid "numeric value is required"
270
288
  msgstr ""
271
289
 
272
- #: ../lib/hammer_cli/options/normalizers.rb:114
290
+ #: ../lib/hammer_cli/options/normalizers.rb:125
273
291
  msgid "One of true/false, yes/no, 1/0."
274
292
  msgstr ""
275
293
 
276
- #: ../lib/hammer_cli/options/normalizers.rb:124
294
+ #: ../lib/hammer_cli/options/normalizers.rb:135
277
295
  msgid "value must be one of true/false, yes/no, 1/0"
278
296
  msgstr ""
279
297
 
280
- #: ../lib/hammer_cli/options/normalizers.rb:163
298
+ #: ../lib/hammer_cli/options/normalizers.rb:174
281
299
  msgid "Unable to parse JSON input"
282
300
  msgstr ""
283
301
 
284
- #: ../lib/hammer_cli/options/normalizers.rb:177
302
+ #: ../lib/hammer_cli/options/normalizers.rb:188
285
303
  msgid "Possible value(s): %s"
286
304
  msgstr ""
287
305
 
288
- #: ../lib/hammer_cli/options/normalizers.rb:185
306
+ #: ../lib/hammer_cli/options/normalizers.rb:196
289
307
  msgid "value must be %s"
290
308
  msgstr ""
291
309
 
292
- #: ../lib/hammer_cli/options/normalizers.rb:187
310
+ #: ../lib/hammer_cli/options/normalizers.rb:198
293
311
  msgid "value must be one of %s"
294
312
  msgstr ""
295
313
 
296
- #: ../lib/hammer_cli/options/normalizers.rb:208
314
+ #: ../lib/hammer_cli/options/normalizers.rb:219
297
315
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
298
316
  msgstr ""
299
317
 
300
- #: ../lib/hammer_cli/options/normalizers.rb:215
318
+ #: ../lib/hammer_cli/options/normalizers.rb:226
301
319
  msgid "'%s' is not a valid date"
302
320
  msgstr ""
303
321
 
304
- #: ../lib/hammer_cli/options/normalizers.rb:226
322
+ #: ../lib/hammer_cli/options/normalizers.rb:237
305
323
  msgid "Any combination (comma separated list) of '%s'"
306
324
  msgstr ""
307
325
 
308
- #: ../lib/hammer_cli/options/normalizers.rb:246
326
+ #: ../lib/hammer_cli/options/normalizers.rb:257
309
327
  msgid "value must be a combination of '%s'"
310
328
  msgstr ""
311
329
 
@@ -344,7 +362,7 @@ msgstr ""
344
362
  msgid "Name"
345
363
  msgstr ""
346
364
 
347
- #: ../lib/hammer_cli/output/adapter/table.rb:63
365
+ #: ../lib/hammer_cli/output/adapter/table.rb:65
348
366
  msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
349
367
  msgstr ""
350
368
 
@@ -392,34 +410,34 @@ msgstr ""
392
410
  msgid "Unknown option name '%s'"
393
411
  msgstr ""
394
412
 
395
- #: ../lib/hammer_cli/validator.rb:62
413
+ #: ../lib/hammer_cli/validator.rb:72
396
414
  msgid "You can't set all options %s at one time"
397
415
  msgstr ""
398
416
 
399
- #: ../lib/hammer_cli/validator.rb:63
417
+ #: ../lib/hammer_cli/validator.rb:73
400
418
  msgid "Options %s are required"
401
419
  msgstr ""
402
420
 
403
- #: ../lib/hammer_cli/validator.rb:77
421
+ #: ../lib/hammer_cli/validator.rb:87
404
422
  msgid "You can't set option %s"
405
423
  msgstr ""
406
424
 
407
- #: ../lib/hammer_cli/validator.rb:78
425
+ #: ../lib/hammer_cli/validator.rb:88
408
426
  msgid "Option %s is required"
409
427
  msgstr ""
410
428
 
411
- #: ../lib/hammer_cli/validator.rb:90
429
+ #: ../lib/hammer_cli/validator.rb:100
412
430
  msgid "You can't set any of options %s"
413
431
  msgstr ""
414
432
 
415
- #: ../lib/hammer_cli/validator.rb:91
433
+ #: ../lib/hammer_cli/validator.rb:101
416
434
  msgid "At least one of options %s is required"
417
435
  msgstr ""
418
436
 
419
- #: ../lib/hammer_cli/validator.rb:116
437
+ #: ../lib/hammer_cli/validator.rb:126
420
438
  msgid "One of options %s is required"
421
439
  msgstr ""
422
440
 
423
- #: ../lib/hammer_cli/validator.rb:120
441
+ #: ../lib/hammer_cli/validator.rb:130
424
442
  msgid "Only one of options %s can be set"
425
443
  msgstr ""
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli 0.8.0\n"
8
+ "Project-Id-Version: hammer-cli 0.9.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"
@@ -126,9 +126,6 @@ msgstr ""
126
126
  msgid "See: '%{path} --help'"
127
127
  msgstr ""
128
128
 
129
- msgid "Invalid username or password"
130
- msgstr ""
131
-
132
129
  msgid "Could not load the API description from the server"
133
130
  msgstr ""
134
131
 
@@ -211,7 +208,26 @@ msgstr ""
211
208
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
212
209
  msgstr ""
213
210
 
214
- msgid "Comma separated list of values."
211
+ msgid "Missing or stray quote."
212
+ msgstr ""
213
+
214
+ msgid ""
215
+ "Unquoted fields do not allow
215
216
  or \n"
217
+ "."
218
+ msgstr ""
219
+
220
+ msgid "Illegal quoting."
221
+ msgstr ""
222
+
223
+ msgid "Unclosed quoted field."
224
+ msgstr ""
225
+
226
+ msgid "Field size exceeded."
227
+ msgstr ""
228
+
229
+ msgid ""
230
+ "Comma separated list of values. Values containing comma should be double quote"
231
+ "d"
216
232
  msgstr ""
217
233
 
218
234
  msgid "numeric value is required"
Binary file
@@ -8,9 +8,9 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: Foreman\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-06-14 23:26+0200\n"
12
- "PO-Revision-Date: 2016-07-11 07:30+0000\n"
13
- "Last-Translator: Andi Chandler <andi@gowling.com>\n"
11
+ "POT-Creation-Date: 2016-09-01 12:28+0200\n"
12
+ "PO-Revision-Date: 2016-09-02 10:08+0000\n"
13
+ "Last-Translator: Lukáš Zapletal\n"
14
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"
@@ -55,8 +55,9 @@ msgid "no value provided"
55
55
  msgstr "no value provided"
56
56
 
57
57
  #: ../lib/hammer_cli/defaults.rb:77
58
- msgid "Couldn't create %s please create the path before defaults are enabled."
59
- msgstr "Couldn't create %s please create the path before defaults are enabled."
58
+ msgid ""
59
+ "Couldn't create %s. Please create the directory before setting defaults."
60
+ msgstr ""
60
61
 
61
62
  #: ../lib/hammer_cli/defaults.rb:101
62
63
  msgid "Defaults management"
@@ -128,9 +129,9 @@ msgstr "Added %{key_val} default-option with value %{val_val}."
128
129
 
129
130
  #: ../lib/hammer_cli/defaults_commands.rb:139
130
131
  msgid ""
131
- "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
132
- "available providers.\""
133
- msgstr "\"Provider #{namespace} was not found. See `hammer defaults providers` for available providers.\""
132
+ "Provider %{name} was not found. See `hammer defaults providers` for "
133
+ "available providers."
134
+ msgstr ""
134
135
 
135
136
  #: ../lib/hammer_cli/defaults_commands.rb:143
136
137
  msgid ""
@@ -143,8 +144,8 @@ msgid "%{param} was deleted successfully."
143
144
  msgstr "%{param} was deleted successfully."
144
145
 
145
146
  #: ../lib/hammer_cli/defaults_commands.rb:151
146
- msgid "You must specify value or a provider name, cant specify both."
147
- msgstr "You must specify value or a provider name, cant specify both."
147
+ msgid "You must specify value or a provider name, can't specify both."
148
+ msgstr ""
148
149
 
149
150
  #: ../lib/hammer_cli/defaults_commands.rb:155
150
151
  msgid "Couldn't find the requested param in %s."
@@ -327,15 +328,23 @@ msgstr "value must be a combination of '%s'"
327
328
  msgid "Warning: Option %{option} is deprecated. %{message}"
328
329
  msgstr "Warning: Option %{option} is deprecated. %{message}"
329
330
 
330
- #: ../lib/hammer_cli/options/option_definition.rb:80
331
+ #: ../lib/hammer_cli/options/option_definition.rb:75
332
+ msgid "Deprecated: %{deprecated_msg}"
333
+ msgstr ""
334
+
335
+ #: ../lib/hammer_cli/options/option_definition.rb:78
336
+ msgid "%{flag} is deprecated: %{deprecated_msg}"
337
+ msgstr ""
338
+
339
+ #: ../lib/hammer_cli/options/option_definition.rb:101
331
340
  msgid "Can be specified multiple times. "
332
341
  msgstr "Can be specified multiple times. "
333
342
 
334
- #: ../lib/hammer_cli/options/option_definition.rb:81
343
+ #: ../lib/hammer_cli/options/option_definition.rb:102
335
344
  msgid "Default: "
336
345
  msgstr "Default: "
337
346
 
338
- #: ../lib/hammer_cli/options/option_definition.rb:81
347
+ #: ../lib/hammer_cli/options/option_definition.rb:102
339
348
  msgid ", or "
340
349
  msgstr ", or "
341
350
 
@@ -352,10 +361,8 @@ msgid "Name"
352
361
  msgstr "Name"
353
362
 
354
363
  #: ../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)\""
364
+ msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
365
+ msgstr ""
359
366
 
360
367
  #: ../lib/hammer_cli/output/formatters.rb:160
361
368
  msgid "no"
@@ -371,6 +378,10 @@ msgid ""
371
378
  "configurations to cli.modules.d"
372
379
  msgstr "Warning: location hammer.modules.d is deprecated, move your module configurations to cli.modules.d"
373
380
 
381
+ #: ../lib/hammer_cli/settings.rb:44
382
+ msgid "Warning: Couldn't load configuration file %{path}: %{message}"
383
+ msgstr ""
384
+
374
385
  #: ../lib/hammer_cli/shell.rb:10
375
386
  msgid "Print help for commands"
376
387
  msgstr "Print help for commands"
@@ -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.8.0\n"
9
+ "Project-Id-Version: hammer-cli 0.9.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"
@@ -128,9 +128,6 @@ msgstr "Error: %{message}"
128
128
  msgid "See: '%{path} --help'"
129
129
  msgstr "See: '%{path} --help'"
130
130
 
131
- msgid "Invalid username or password"
132
- msgstr "Invalid username or password"
133
-
134
131
  msgid "Could not load the API description from the server"
135
132
  msgstr "Could not load the API description from the server"
136
133
 
@@ -218,8 +215,27 @@ msgstr "Comma-separated list of key=value."
218
215
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
219
216
  msgstr ""
220
217
 
221
- msgid "Comma separated list of values."
222
- msgstr "Comma separated list of values."
218
+ msgid "Missing or stray quote."
219
+ msgstr ""
220
+
221
+ msgid ""
222
+ "Unquoted fields do not allow
223
223
  or \n"
224
+ "."
225
+ msgstr ""
226
+
227
+ msgid "Illegal quoting."
228
+ msgstr ""
229
+
230
+ msgid "Unclosed quoted field."
231
+ msgstr ""
232
+
233
+ msgid "Field size exceeded."
234
+ msgstr ""
235
+
236
+ msgid ""
237
+ "Comma separated list of values. Values containing comma should be double quote"
238
+ "d"
239
+ msgstr ""
224
240
 
225
241
  msgid "numeric value is required"
226
242
  msgstr ""
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: 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"
14
+ "POT-Creation-Date: 2016-09-01 12:28+0200\n"
15
+ "PO-Revision-Date: 2016-09-02 10:08+0000\n"
16
+ "Last-Translator: Lukáš Zapletal\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"
@@ -58,8 +58,9 @@ msgid "no value provided"
58
58
  msgstr "no se proporcionó un valor"
59
59
 
60
60
  #: ../lib/hammer_cli/defaults.rb:77
61
- msgid "Couldn't create %s please create the path before defaults are enabled."
62
- msgstr "No se pudo crear %s. Cree la ruta antes de que se habiliten los valores predeterminados."
61
+ msgid ""
62
+ "Couldn't create %s. Please create the directory before setting defaults."
63
+ msgstr ""
63
64
 
64
65
  #: ../lib/hammer_cli/defaults.rb:101
65
66
  msgid "Defaults management"
@@ -131,9 +132,9 @@ msgstr "Opción predeterminada %{key_val} agregada con el valor %{val_val}."
131
132
 
132
133
  #: ../lib/hammer_cli/defaults_commands.rb:139
133
134
  msgid ""
134
- "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
135
- "available providers.\""
136
- msgstr "No se encontró el proveedor #{namespace}. Consulte `proveedores predeterminados de martillos` para conocer los proveedores disponibles."
135
+ "Provider %{name} was not found. See `hammer defaults providers` for "
136
+ "available providers."
137
+ msgstr ""
137
138
 
138
139
  #: ../lib/hammer_cli/defaults_commands.rb:143
139
140
  msgid ""
@@ -146,8 +147,8 @@ msgid "%{param} was deleted successfully."
146
147
  msgstr "%{param} se eliminó con correctamente."
147
148
 
148
149
  #: ../lib/hammer_cli/defaults_commands.rb:151
149
- msgid "You must specify value or a provider name, cant specify both."
150
- msgstr "Debe especificar el valor o el nombre de un proveedor, no puede especificar ambos."
150
+ msgid "You must specify value or a provider name, can't specify both."
151
+ msgstr ""
151
152
 
152
153
  #: ../lib/hammer_cli/defaults_commands.rb:155
153
154
  msgid "Couldn't find the requested param in %s."
@@ -330,15 +331,23 @@ msgstr "el valor debe ser una combinación de '%s'"
330
331
  msgid "Warning: Option %{option} is deprecated. %{message}"
331
332
  msgstr "Advertencia: La opción %{option} es obsoleta. %{message}"
332
333
 
333
- #: ../lib/hammer_cli/options/option_definition.rb:80
334
+ #: ../lib/hammer_cli/options/option_definition.rb:75
335
+ msgid "Deprecated: %{deprecated_msg}"
336
+ msgstr ""
337
+
338
+ #: ../lib/hammer_cli/options/option_definition.rb:78
339
+ msgid "%{flag} is deprecated: %{deprecated_msg}"
340
+ msgstr ""
341
+
342
+ #: ../lib/hammer_cli/options/option_definition.rb:101
334
343
  msgid "Can be specified multiple times. "
335
344
  msgstr "Puede especificarse varias veces."
336
345
 
337
- #: ../lib/hammer_cli/options/option_definition.rb:81
346
+ #: ../lib/hammer_cli/options/option_definition.rb:102
338
347
  msgid "Default: "
339
348
  msgstr "Predeterminado: "
340
349
 
341
- #: ../lib/hammer_cli/options/option_definition.rb:81
350
+ #: ../lib/hammer_cli/options/option_definition.rb:102
342
351
  msgid ", or "
343
352
  msgstr ", o "
344
353
 
@@ -355,10 +364,8 @@ msgid "Name"
355
364
  msgstr "Nombre"
356
365
 
357
366
  #: ../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)\""
367
+ msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
368
+ msgstr ""
362
369
 
363
370
  #: ../lib/hammer_cli/output/formatters.rb:160
364
371
  msgid "no"
@@ -374,6 +381,10 @@ msgid ""
374
381
  "configurations to cli.modules.d"
375
382
  msgstr "Advertencia: la localización hammer.modules.d está obsoleta, desplace los módulos de configuración a cli.modules.d"
376
383
 
384
+ #: ../lib/hammer_cli/settings.rb:44
385
+ msgid "Warning: Couldn't load configuration file %{path}: %{message}"
386
+ msgstr ""
387
+
377
388
  #: ../lib/hammer_cli/shell.rb:10
378
389
  msgid "Print help for commands"
379
390
  msgstr "Imprimir ayuda para comandos"