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.
- checksums.yaml +4 -4
- data/config/cli_config.template.yml +2 -2
- data/doc/release_notes.md +15 -0
- data/lib/hammer_cli/abstract.rb +22 -31
- data/lib/hammer_cli/apipie.rb +1 -0
- data/lib/hammer_cli/apipie/api_connection.rb +27 -0
- data/lib/hammer_cli/apipie/option_builder.rb +3 -3
- data/lib/hammer_cli/apipie/resource.rb +1 -26
- data/lib/hammer_cli/connection.rb +12 -11
- data/lib/hammer_cli/context.rb +4 -2
- data/lib/hammer_cli/exception_handler.rb +1 -1
- data/lib/hammer_cli/help/builder.rb +58 -0
- data/lib/hammer_cli/help/text_builder.rb +79 -0
- data/lib/hammer_cli/logger.rb +24 -21
- data/lib/hammer_cli/options/normalizers.rb +13 -2
- data/lib/hammer_cli/output/adapter/table.rb +2 -0
- data/lib/hammer_cli/output/formatters.rb +1 -1
- data/lib/hammer_cli/output/utils.rb +43 -0
- data/lib/hammer_cli/table_print/column.rb +19 -0
- data/lib/hammer_cli/table_print/formatter.rb +18 -0
- data/lib/hammer_cli/utils.rb +5 -1
- data/lib/hammer_cli/validator.rb +12 -2
- data/lib/hammer_cli/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ca/hammer-cli.edit.po +26 -15
- data/locale/ca/hammer-cli.po +22 -6
- data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/de/hammer-cli.edit.po +32 -20
- data/locale/de/hammer-cli.po +22 -6
- data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/en/hammer-cli.edit.po +47 -29
- data/locale/en/hammer-cli.po +21 -5
- data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/en_GB/hammer-cli.edit.po +28 -17
- data/locale/en_GB/hammer-cli.po +22 -6
- data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/es/hammer-cli.edit.po +28 -17
- data/locale/es/hammer-cli.po +22 -6
- data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/fr/hammer-cli.edit.po +28 -17
- data/locale/fr/hammer-cli.po +22 -6
- data/locale/hammer-cli.pot +49 -31
- data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/it/hammer-cli.edit.po +23 -12
- data/locale/it/hammer-cli.po +22 -6
- data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ja/hammer-cli.edit.po +28 -17
- data/locale/ja/hammer-cli.po +22 -6
- data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ko/hammer-cli.edit.po +27 -16
- data/locale/ko/hammer-cli.po +22 -6
- data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/pt_BR/hammer-cli.edit.po +30 -19
- data/locale/pt_BR/hammer-cli.po +22 -6
- data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ru/hammer-cli.edit.po +28 -17
- data/locale/ru/hammer-cli.po +22 -6
- data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/zh_CN/hammer-cli.edit.po +28 -17
- data/locale/zh_CN/hammer-cli.po +22 -6
- data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/zh_TW/hammer-cli.edit.po +27 -16
- data/locale/zh_TW/hammer-cli.po +22 -6
- data/man/hammer.1.gz +0 -0
- data/test/functional/help_test.rb +87 -0
- data/test/test_helper.rb +6 -0
- data/test/unit/abstract_test.rb +9 -0
- data/test/unit/apipie/api_connection_test.rb +38 -0
- data/test/unit/apipie/command_test.rb +6 -46
- data/test/unit/connection_test.rb +45 -54
- data/test/unit/exception_handler_test.rb +1 -1
- data/test/unit/fixtures/apipie/documented.json +1 -1
- data/test/unit/help/builder_test.rb +57 -0
- data/test/unit/help/text_builder_test.rb +140 -0
- data/test/unit/logger_test.rb +19 -0
- data/test/unit/options/normalizers_test.rb +12 -0
- data/test/unit/output/adapter/table_test.rb +101 -13
- data/test/unit/output/formatters_test.rb +6 -3
- data/test/unit/validator_test.rb +31 -2
- metadata +207 -179
data/locale/de/hammer-cli.po
CHANGED
@@ -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.
|
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 "
|
230
|
-
msgstr "
|
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.
|
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:
|
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:
|
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:
|
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 "
|
271
|
+
msgid "Illegal quoting."
|
266
272
|
msgstr ""
|
267
273
|
|
268
|
-
#: ../lib/hammer_cli/options/normalizers.rb:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
441
|
+
#: ../lib/hammer_cli/validator.rb:130
|
424
442
|
msgid "Only one of options %s can be set"
|
425
443
|
msgstr ""
|
data/locale/en/hammer-cli.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
#
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: hammer-cli 0.
|
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 "
|
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-
|
12
|
-
"PO-Revision-Date: 2016-
|
13
|
-
"Last-Translator:
|
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 "
|
59
|
-
|
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
|
-
"
|
132
|
-
"available providers
|
133
|
-
msgstr "
|
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,
|
147
|
-
msgstr "
|
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:
|
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:
|
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:
|
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
|
-
"
|
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"
|
data/locale/en_GB/hammer-cli.po
CHANGED
@@ -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.
|
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 "
|
222
|
-
msgstr "
|
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-
|
15
|
-
"PO-Revision-Date: 2016-
|
16
|
-
"Last-Translator:
|
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 "
|
62
|
-
|
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
|
-
"
|
135
|
-
"available providers
|
136
|
-
msgstr "
|
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,
|
150
|
-
msgstr "
|
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:
|
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:
|
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:
|
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
|
-
"
|
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"
|