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
@@ -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.8.0\n"
11
+ "Project-Id-Version: hammer-cli 0.9.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"
@@ -131,9 +131,6 @@ msgstr "Error: %{message}"
131
131
  msgid "See: '%{path} --help'"
132
132
  msgstr "Ver: '%{path} --help'"
133
133
 
134
- msgid "Invalid username or password"
135
- msgstr "Nombre o contraseña inválidos"
136
-
137
134
  msgid "Could not load the API description from the server"
138
135
  msgstr "No se pudo cargar la descripción de la API desde el servidor"
139
136
 
@@ -224,8 +221,27 @@ msgstr "Lista de pares llave=valor separados por comas."
224
221
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
225
222
  msgstr ""
226
223
 
227
- msgid "Comma separated list of values."
228
- msgstr "Lista de valores separadas por comas."
224
+ msgid "Missing or stray quote."
225
+ msgstr ""
226
+
227
+ msgid ""
228
+ "Unquoted fields do not allow
229
229
  or \n"
230
+ "."
231
+ msgstr ""
232
+
233
+ msgid "Illegal quoting."
234
+ msgstr ""
235
+
236
+ msgid "Unclosed quoted field."
237
+ msgstr ""
238
+
239
+ msgid "Field size exceeded."
240
+ msgstr ""
241
+
242
+ msgid ""
243
+ "Comma separated list of values. Values containing comma should be double quote"
244
+ "d"
245
+ msgstr ""
230
246
 
231
247
  msgid "numeric value is required"
232
248
  msgstr ""
Binary file
@@ -5,14 +5,14 @@
5
5
  # Translators:
6
6
  # Claer <transiblu@claer.hammock.fr>, 2014-2016
7
7
  # Dominic Cleal <dominic@cleal.org>, 2014
8
- # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014
8
+ # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014,2016
9
9
  msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: Foreman\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2016-06-14 23:26+0200\n"
14
- "PO-Revision-Date: 2016-06-20 13:05+0000\n"
15
- "Last-Translator: Claer <transiblu@claer.hammock.fr>\n"
13
+ "POT-Creation-Date: 2016-09-01 12:28+0200\n"
14
+ "PO-Revision-Date: 2016-09-08 09:46+0000\n"
15
+ "Last-Translator: Pierre-Emmanuel Dutang <dutangp@gmail.com>\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"
@@ -57,8 +57,9 @@ msgid "no value provided"
57
57
  msgstr "Aucune valeur fournit"
58
58
 
59
59
  #: ../lib/hammer_cli/defaults.rb:77
60
- msgid "Couldn't create %s please create the path before defaults are enabled."
61
- msgstr "Impossible de créer %s, merci de créer le répertoire avant d'activer les options par défaut."
60
+ msgid ""
61
+ "Couldn't create %s. Please create the directory before setting defaults."
62
+ msgstr "Imporrible de créer %s. Merci de créer le dossier avant la configuration par defaut."
62
63
 
63
64
  #: ../lib/hammer_cli/defaults.rb:101
64
65
  msgid "Defaults management"
@@ -130,9 +131,9 @@ msgstr "Ajout de l'option par défaut %{key_val} avec la valeur %{val_val}."
130
131
 
131
132
  #: ../lib/hammer_cli/defaults_commands.rb:139
132
133
  msgid ""
133
- "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
134
- "available providers.\""
135
- msgstr "\"Le fournisseur #{namespace} est indisponible. Voir `hammer defaults providers` pour afficher la liste des fournisseurs disponibles.\""
134
+ "Provider %{name} was not found. See `hammer defaults providers` for "
135
+ "available providers."
136
+ msgstr "Le fournisseur %{name} n'a pas été trouvé. Voir `hammer defaults providers` pour afficher les fournisseurs disponibles."
136
137
 
137
138
  #: ../lib/hammer_cli/defaults_commands.rb:143
138
139
  msgid ""
@@ -145,7 +146,7 @@ msgid "%{param} was deleted successfully."
145
146
  msgstr "Succès de la suppression de %{param}."
146
147
 
147
148
  #: ../lib/hammer_cli/defaults_commands.rb:151
148
- msgid "You must specify value or a provider name, cant specify both."
149
+ msgid "You must specify value or a provider name, can't specify both."
149
150
  msgstr "Vous devez spécifier une valeur ou un nom de fournisseur, vous ne pouvez pas spécifier les deux."
150
151
 
151
152
  #: ../lib/hammer_cli/defaults_commands.rb:155
@@ -329,15 +330,23 @@ msgstr "la valeur doit être une combinaison de '%s'"
329
330
  msgid "Warning: Option %{option} is deprecated. %{message}"
330
331
  msgstr "Attention : L'option %{option} n'est plus supportée. %{message}"
331
332
 
332
- #: ../lib/hammer_cli/options/option_definition.rb:80
333
+ #: ../lib/hammer_cli/options/option_definition.rb:75
334
+ msgid "Deprecated: %{deprecated_msg}"
335
+ msgstr "Déprécié : %{deprecated_msg}"
336
+
337
+ #: ../lib/hammer_cli/options/option_definition.rb:78
338
+ msgid "%{flag} is deprecated: %{deprecated_msg}"
339
+ msgstr "%{flag} est déprécié : %{deprecated_msg}"
340
+
341
+ #: ../lib/hammer_cli/options/option_definition.rb:101
333
342
  msgid "Can be specified multiple times. "
334
343
  msgstr "Peut être spécifié plusieurs fois."
335
344
 
336
- #: ../lib/hammer_cli/options/option_definition.rb:81
345
+ #: ../lib/hammer_cli/options/option_definition.rb:102
337
346
  msgid "Default: "
338
347
  msgstr "Défaut : "
339
348
 
340
- #: ../lib/hammer_cli/options/option_definition.rb:81
349
+ #: ../lib/hammer_cli/options/option_definition.rb:102
341
350
  msgid ", or "
342
351
  msgstr ", ou "
343
352
 
@@ -354,10 +363,8 @@ msgid "Name"
354
363
  msgstr "Nom"
355
364
 
356
365
  #: ../lib/hammer_cli/output/adapter/table.rb:63
357
- msgid ""
358
- "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for "
359
- "navigation)\""
360
- msgstr "\"Page #{collection.meta.page} sur #{pages} (utiliser --page et --per-page pour la navigation)\""
366
+ msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
367
+ msgstr "Page %{page} sur %{total} (utiliser --page et --per-page pour la navigation)"
361
368
 
362
369
  #: ../lib/hammer_cli/output/formatters.rb:160
363
370
  msgid "no"
@@ -373,6 +380,10 @@ msgid ""
373
380
  "configurations to cli.modules.d"
374
381
  msgstr "Attention: l'emplacement hammer.modules.d est déprécié, déplacez vos configurations dans cli.modules.d"
375
382
 
383
+ #: ../lib/hammer_cli/settings.rb:44
384
+ msgid "Warning: Couldn't load configuration file %{path}: %{message}"
385
+ msgstr "Attention : Impossible de charger la configuration du fichier %{path} : %{message}"
386
+
376
387
  #: ../lib/hammer_cli/shell.rb:10
377
388
  msgid "Print help for commands"
378
389
  msgstr "Afficher l'aide des commandes"
@@ -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.8.0\n"
12
+ "Project-Id-Version: hammer-cli 0.9.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"
@@ -132,9 +132,6 @@ msgstr "Erreur : %{message}"
132
132
  msgid "See: '%{path} --help'"
133
133
  msgstr "Voir : '%{path} --help'"
134
134
 
135
- msgid "Invalid username or password"
136
- msgstr "Utilisateur ou mot de passe incorrect"
137
-
138
135
  msgid "Could not load the API description from the server"
139
136
  msgstr "Impossible de charger la description de l'API depuis le serveur"
140
137
 
@@ -221,8 +218,27 @@ msgstr "Liste de clef=valeur séparées par des virgules."
221
218
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
222
219
  msgstr ""
223
220
 
224
- msgid "Comma separated list of values."
225
- msgstr "Liste de valeurs séparées par des virgules."
221
+ msgid "Missing or stray quote."
222
+ msgstr ""
223
+
224
+ msgid ""
225
+ "Unquoted fields do not allow
226
226
  or \n"
227
+ "."
228
+ msgstr ""
229
+
230
+ msgid "Illegal quoting."
231
+ msgstr ""
232
+
233
+ msgid "Unclosed quoted field."
234
+ msgstr ""
235
+
236
+ msgid "Field size exceeded."
237
+ msgstr ""
238
+
239
+ msgid ""
240
+ "Comma separated list of values. Values containing comma should be double quote"
241
+ "d"
242
+ msgstr ""
227
243
 
228
244
  msgid "numeric value is required"
229
245
  msgstr ""
@@ -6,10 +6,10 @@
6
6
  #, fuzzy
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
- "POT-Creation-Date: 2016-09-01 12:28+0200\n"
12
- "PO-Revision-Date: 2016-09-01 12:28+0200\n"
11
+ "POT-Creation-Date: 2016-12-15 22:03+0100\n"
12
+ "PO-Revision-Date: 2016-12-15 22:03+0100\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -162,10 +162,6 @@ msgstr ""
162
162
  msgid "See: '%{path} --help'"
163
163
  msgstr ""
164
164
 
165
- #: ../lib/hammer_cli/exception_handler.rb:86
166
- msgid "Invalid username or password"
167
- msgstr ""
168
-
169
165
  #: ../lib/hammer_cli/exception_handler.rb:93
170
166
  msgid "Could not load the API description from the server"
171
167
  msgstr ""
@@ -184,7 +180,7 @@ msgstr ""
184
180
  msgid "Missing arguments for %s"
185
181
  msgstr ""
186
182
 
187
- #: ../lib/hammer_cli/logger.rb:57
183
+ #: ../lib/hammer_cli/logger.rb:58
188
184
  msgid "No permissions to create log dir %s"
189
185
  msgstr ""
190
186
 
@@ -266,59 +262,81 @@ msgstr ""
266
262
  msgid "Error: Some of the required modules are disabled in configuration: %s "
267
263
  msgstr ""
268
264
 
269
- #: ../lib/hammer_cli/options/normalizers.rb:29
265
+ #: ../lib/hammer_cli/options/normalizers.rb:30
270
266
  msgid "Comma-separated list of key=value."
271
267
  msgstr ""
272
268
 
273
- #: ../lib/hammer_cli/options/normalizers.rb:43
269
+ #: ../lib/hammer_cli/options/normalizers.rb:44
274
270
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
275
271
  msgstr ""
276
272
 
273
+ #: ../lib/hammer_cli/options/normalizers.rb:83
274
+ msgid "Missing or stray quote."
275
+ msgstr ""
276
+
277
+ #: ../lib/hammer_cli/options/normalizers.rb:84
278
+ msgid "Unquoted fields do not allow \\r or \\n."
279
+ msgstr ""
280
+
277
281
  #: ../lib/hammer_cli/options/normalizers.rb:85
278
- msgid "Comma separated list of values."
282
+ msgid "Illegal quoting."
283
+ msgstr ""
284
+
285
+ #: ../lib/hammer_cli/options/normalizers.rb:86
286
+ msgid "Unclosed quoted field."
279
287
  msgstr ""
280
288
 
281
- #: ../lib/hammer_cli/options/normalizers.rb:100
289
+ #: ../lib/hammer_cli/options/normalizers.rb:87
290
+ msgid "Field size exceeded."
291
+ msgstr ""
292
+
293
+ #: ../lib/hammer_cli/options/normalizers.rb:93
294
+ msgid ""
295
+ "Comma separated list of values. Values containing comma should be double quote"
296
+ "d"
297
+ msgstr ""
298
+
299
+ #: ../lib/hammer_cli/options/normalizers.rb:111
282
300
  msgid "numeric value is required"
283
301
  msgstr ""
284
302
 
285
- #: ../lib/hammer_cli/options/normalizers.rb:114
303
+ #: ../lib/hammer_cli/options/normalizers.rb:125
286
304
  msgid "One of true/false, yes/no, 1/0."
287
305
  msgstr ""
288
306
 
289
- #: ../lib/hammer_cli/options/normalizers.rb:124
307
+ #: ../lib/hammer_cli/options/normalizers.rb:135
290
308
  msgid "value must be one of true/false, yes/no, 1/0"
291
309
  msgstr ""
292
310
 
293
- #: ../lib/hammer_cli/options/normalizers.rb:163
311
+ #: ../lib/hammer_cli/options/normalizers.rb:174
294
312
  msgid "Unable to parse JSON input"
295
313
  msgstr ""
296
314
 
297
- #: ../lib/hammer_cli/options/normalizers.rb:177
315
+ #: ../lib/hammer_cli/options/normalizers.rb:188
298
316
  msgid "Possible value(s): %s"
299
317
  msgstr ""
300
318
 
301
- #: ../lib/hammer_cli/options/normalizers.rb:185
319
+ #: ../lib/hammer_cli/options/normalizers.rb:196
302
320
  msgid "value must be %s"
303
321
  msgstr ""
304
322
 
305
- #: ../lib/hammer_cli/options/normalizers.rb:187
323
+ #: ../lib/hammer_cli/options/normalizers.rb:198
306
324
  msgid "value must be one of %s"
307
325
  msgstr ""
308
326
 
309
- #: ../lib/hammer_cli/options/normalizers.rb:208
327
+ #: ../lib/hammer_cli/options/normalizers.rb:219
310
328
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
311
329
  msgstr ""
312
330
 
313
- #: ../lib/hammer_cli/options/normalizers.rb:215
331
+ #: ../lib/hammer_cli/options/normalizers.rb:226
314
332
  msgid "'%s' is not a valid date"
315
333
  msgstr ""
316
334
 
317
- #: ../lib/hammer_cli/options/normalizers.rb:226
335
+ #: ../lib/hammer_cli/options/normalizers.rb:237
318
336
  msgid "Any combination (comma separated list) of '%s'"
319
337
  msgstr ""
320
338
 
321
- #: ../lib/hammer_cli/options/normalizers.rb:246
339
+ #: ../lib/hammer_cli/options/normalizers.rb:257
322
340
  msgid "value must be a combination of '%s'"
323
341
  msgstr ""
324
342
 
@@ -358,7 +376,7 @@ msgstr ""
358
376
  msgid "Name"
359
377
  msgstr ""
360
378
 
361
- #: ../lib/hammer_cli/output/adapter/table.rb:63
379
+ #: ../lib/hammer_cli/output/adapter/table.rb:65
362
380
  msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
363
381
  msgstr ""
364
382
 
@@ -410,34 +428,34 @@ msgstr ""
410
428
  msgid "Unknown option name '%s'"
411
429
  msgstr ""
412
430
 
413
- #: ../lib/hammer_cli/validator.rb:62
431
+ #: ../lib/hammer_cli/validator.rb:72
414
432
  msgid "You can't set all options %s at one time"
415
433
  msgstr ""
416
434
 
417
- #: ../lib/hammer_cli/validator.rb:63
435
+ #: ../lib/hammer_cli/validator.rb:73
418
436
  msgid "Options %s are required"
419
437
  msgstr ""
420
438
 
421
- #: ../lib/hammer_cli/validator.rb:77
439
+ #: ../lib/hammer_cli/validator.rb:87
422
440
  msgid "You can't set option %s"
423
441
  msgstr ""
424
442
 
425
- #: ../lib/hammer_cli/validator.rb:78
443
+ #: ../lib/hammer_cli/validator.rb:88
426
444
  msgid "Option %s is required"
427
445
  msgstr ""
428
446
 
429
- #: ../lib/hammer_cli/validator.rb:90
447
+ #: ../lib/hammer_cli/validator.rb:100
430
448
  msgid "You can't set any of options %s"
431
449
  msgstr ""
432
450
 
433
- #: ../lib/hammer_cli/validator.rb:91
451
+ #: ../lib/hammer_cli/validator.rb:101
434
452
  msgid "At least one of options %s is required"
435
453
  msgstr ""
436
454
 
437
- #: ../lib/hammer_cli/validator.rb:116
455
+ #: ../lib/hammer_cli/validator.rb:126
438
456
  msgid "One of options %s is required"
439
457
  msgstr ""
440
458
 
441
- #: ../lib/hammer_cli/validator.rb:120
459
+ #: ../lib/hammer_cli/validator.rb:130
442
460
  msgid "Only one of options %s can be set"
443
461
  msgstr ""
Binary file
@@ -9,8 +9,8 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: Foreman\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2016-06-14 23:26+0200\n"
13
- "PO-Revision-Date: 2016-07-29 14:35+0000\n"
12
+ "POT-Creation-Date: 2016-09-01 12:28+0200\n"
13
+ "PO-Revision-Date: 2016-09-02 10:08+0000\n"
14
14
  "Last-Translator: Lukáš Zapletal\n"
15
15
  "Language-Team: Italian (http://www.transifex.com/foreman/foreman/language/it/)\n"
16
16
  "MIME-Version: 1.0\n"
@@ -56,7 +56,8 @@ msgid "no value provided"
56
56
  msgstr "nessun valore fornito"
57
57
 
58
58
  #: ../lib/hammer_cli/defaults.rb:77
59
- msgid "Couldn't create %s please create the path before defaults are enabled."
59
+ msgid ""
60
+ "Couldn't create %s. Please create the directory before setting defaults."
60
61
  msgstr ""
61
62
 
62
63
  #: ../lib/hammer_cli/defaults.rb:101
@@ -129,8 +130,8 @@ msgstr ""
129
130
 
130
131
  #: ../lib/hammer_cli/defaults_commands.rb:139
131
132
  msgid ""
132
- "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
133
- "available providers.\""
133
+ "Provider %{name} was not found. See `hammer defaults providers` for "
134
+ "available providers."
134
135
  msgstr ""
135
136
 
136
137
  #: ../lib/hammer_cli/defaults_commands.rb:143
@@ -144,7 +145,7 @@ msgid "%{param} was deleted successfully."
144
145
  msgstr ""
145
146
 
146
147
  #: ../lib/hammer_cli/defaults_commands.rb:151
147
- msgid "You must specify value or a provider name, cant specify both."
148
+ msgid "You must specify value or a provider name, can't specify both."
148
149
  msgstr ""
149
150
 
150
151
  #: ../lib/hammer_cli/defaults_commands.rb:155
@@ -328,15 +329,23 @@ msgstr "il valore deve essere una combinazione di '%s'"
328
329
  msgid "Warning: Option %{option} is deprecated. %{message}"
329
330
  msgstr ""
330
331
 
331
- #: ../lib/hammer_cli/options/option_definition.rb:80
332
+ #: ../lib/hammer_cli/options/option_definition.rb:75
333
+ msgid "Deprecated: %{deprecated_msg}"
334
+ msgstr ""
335
+
336
+ #: ../lib/hammer_cli/options/option_definition.rb:78
337
+ msgid "%{flag} is deprecated: %{deprecated_msg}"
338
+ msgstr ""
339
+
340
+ #: ../lib/hammer_cli/options/option_definition.rb:101
332
341
  msgid "Can be specified multiple times. "
333
342
  msgstr "Può essere specificato molteplici volte."
334
343
 
335
- #: ../lib/hammer_cli/options/option_definition.rb:81
344
+ #: ../lib/hammer_cli/options/option_definition.rb:102
336
345
  msgid "Default: "
337
346
  msgstr "Predefinito: "
338
347
 
339
- #: ../lib/hammer_cli/options/option_definition.rb:81
348
+ #: ../lib/hammer_cli/options/option_definition.rb:102
340
349
  msgid ", or "
341
350
  msgstr ", oppure "
342
351
 
@@ -353,9 +362,7 @@ msgid "Name"
353
362
  msgstr "Nome"
354
363
 
355
364
  #: ../lib/hammer_cli/output/adapter/table.rb:63
356
- msgid ""
357
- "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for "
358
- "navigation)\""
365
+ msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
359
366
  msgstr ""
360
367
 
361
368
  #: ../lib/hammer_cli/output/formatters.rb:160
@@ -372,6 +379,10 @@ msgid ""
372
379
  "configurations to cli.modules.d"
373
380
  msgstr "Attenzione: la posizione hammer.modules.d è stata deprecata, spostare le configurazioni del modulo su cli.modules.d"
374
381
 
382
+ #: ../lib/hammer_cli/settings.rb:44
383
+ msgid "Warning: Couldn't load configuration file %{path}: %{message}"
384
+ msgstr ""
385
+
375
386
  #: ../lib/hammer_cli/shell.rb:10
376
387
  msgid "Print help for commands"
377
388
  msgstr "Visualizza aiuto per i comandi"