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
  # fvalen <fvalen@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-28 01:00+0000\n"
14
14
  "Last-Translator: fvalen <fvalen@redhat.com>\n"
@@ -131,9 +131,6 @@ msgstr "Errore: %{message}"
131
131
  msgid "See: '%{path} --help'"
132
132
  msgstr "Consultare: '%{path} --help'"
133
133
 
134
- msgid "Invalid username or password"
135
- msgstr "Password o nome utente non validi"
136
-
137
134
  msgid "Could not load the API description from the server"
138
135
  msgstr "Impossibile caricare la descrizione API dal server"
139
136
 
@@ -224,8 +221,27 @@ msgstr "Elenco separato da virgole di key=value."
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 "Elenco di valori separati da virgole"
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
@@ -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-08-22 15:05+0000\n"
13
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.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: Japanese (http://www.transifex.com/foreman/foreman/language/ja/)\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 "値が指定されていません"
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 "%s を作成できませんでした。デフォルト値が有効になる前にパスを作成してください。"
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 "%{key_val} デフォルトオプションが値 %{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 "\"プロバイダー #{namespace} が見つかりませんでした。利用可能なプロバイダーについては、`hammer defaults 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} が正常に削除されました。"
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 "値またはプロバイダー名を指定する必要があります。両方を指定することはできません。"
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 "値を '%s' の組み合わせにする必要があります"
327
328
  msgid "Warning: Option %{option} is deprecated. %{message}"
328
329
  msgstr "警告: オプション %{option} は非推奨です。%{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 "複数回指定することはできません。"
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 "デフォルト: "
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 "または"
341
350
 
@@ -352,10 +361,8 @@ msgid "Name"
352
361
  msgstr "名前"
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 "\"ページ #{collection.meta.page} / #{pages} (ナビゲーションのために --page と --per-page を使用)\""
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 "警告: hammer.modules.d の場所は廃止されます。モジュール設定を 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 "コマンドについての help を出力"
@@ -6,7 +6,7 @@
6
6
  # asasaki <asasaki@redhat.com>, 2015. #zanata
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-04-27 06:44+0000\n"
12
12
  "Last-Translator: asasaki <asasaki@redhat.com>\n"
@@ -129,9 +129,6 @@ msgstr "エラー: %{message}"
129
129
  msgid "See: '%{path} --help'"
130
130
  msgstr "参照: '%{path} --help'"
131
131
 
132
- msgid "Invalid username or password"
133
- msgstr "無効なユーザー名またはパスワード"
134
-
135
132
  msgid "Could not load the API description from the server"
136
133
  msgstr "サーバーから API 記述をロードできませんでした"
137
134
 
@@ -214,8 +211,27 @@ msgstr "key=value のコンマ区切りの一覧です。"
214
211
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
215
212
  msgstr ""
216
213
 
217
- msgid "Comma separated list of values."
218
- msgstr "コンマ区切りの値の一覧です。"
214
+ msgid "Missing or stray quote."
215
+ msgstr ""
216
+
217
+ msgid ""
218
+ "Unquoted fields do not allow
219
219
  or \n"
220
+ "."
221
+ msgstr ""
222
+
223
+ msgid "Illegal quoting."
224
+ msgstr ""
225
+
226
+ msgid "Unclosed quoted field."
227
+ msgstr ""
228
+
229
+ msgid "Field size exceeded."
230
+ msgstr ""
231
+
232
+ msgid ""
233
+ "Comma separated list of values. Values containing comma should be double quote"
234
+ "d"
235
+ msgstr ""
220
236
 
221
237
  msgid "numeric value is required"
222
238
  msgstr ""
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-08-22 15:06+0000\n"
13
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.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: Korean (http://www.transifex.com/foreman/foreman/language/ko/)\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 "값이 지정되어 있지 않습니다 "
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 "%s을(를) 생성할 없습니다. 기본값을 활성화하기 전에 경로를 생성하십시오."
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 "%{val_val} 값으로 추가된 %{key_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 "\"#{namespace} 공급자를 찾을 수 없습니다. 사용 가능한 공급자는 'hammer 기본값 공급자'를 참조하십시오.\""
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}이(가) 삭제되었습니다."
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 "값 또는 공급자 이름을 지정해야 합니다. 둘 모두를 지정할 수 있습니다."
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 "값은 '%s'의 조합이어야 합니다 "
327
328
  msgid "Warning: Option %{option} is deprecated. %{message}"
328
329
  msgstr "경고: %{option} 옵션은 사용 중지되었습니다. %{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 "여러 번 지정할 수 있습니다 "
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 "기본값:"
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 " 또는 "
341
350
 
@@ -352,9 +361,7 @@ msgid "Name"
352
361
  msgstr "이름 "
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)\""
364
+ msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
358
365
  msgstr ""
359
366
 
360
367
  #: ../lib/hammer_cli/output/formatters.rb:160
@@ -371,6 +378,10 @@ msgid ""
371
378
  "configurations to cli.modules.d"
372
379
  msgstr "경고: hammer.modules.d 위치는 사용 중지되었습니다. 모듈 설정을 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 "명령의 help를 출력 "
@@ -7,7 +7,7 @@
7
7
  # eukim <eukim@redhat.com>, 2015. #zanata
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: hammer-cli 0.8.0\n"
10
+ "Project-Id-Version: hammer-cli 0.9.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "PO-Revision-Date: 2015-04-28 12:45+0000\n"
13
13
  "Last-Translator: eukim <eukim@redhat.com>\n"
@@ -130,9 +130,6 @@ msgstr "오류: %{message}"
130
130
  msgid "See: '%{path} --help'"
131
131
  msgstr "참조: '%{path} --help'"
132
132
 
133
- msgid "Invalid username or password"
134
- msgstr "잘못된 사용자 이름 또는 암호 "
135
-
136
133
  msgid "Could not load the API description from the server"
137
134
  msgstr "서버에서 API 설명을 불러올 수 없습니다 "
138
135
 
@@ -215,8 +212,27 @@ msgstr "콤마로 구분된 key=value 목록입니다. "
215
212
  msgid "value must be defined as a comma-separated list of key=value or valid JSON"
216
213
  msgstr ""
217
214
 
218
- msgid "Comma separated list of values."
219
- msgstr "콤마로 구분된 값 목록입니다."
215
+ msgid "Missing or stray quote."
216
+ msgstr ""
217
+
218
+ msgid ""
219
+ "Unquoted fields do not allow
220
220
  or \n"
221
+ "."
222
+ msgstr ""
223
+
224
+ msgid "Illegal quoting."
225
+ msgstr ""
226
+
227
+ msgid "Unclosed quoted field."
228
+ msgstr ""
229
+
230
+ msgid "Field size exceeded."
231
+ msgstr ""
232
+
233
+ msgid ""
234
+ "Comma separated list of values. Values containing comma should be double quote"
235
+ "d"
236
+ msgstr ""
221
237
 
222
238
  msgid "numeric value is required"
223
239
  msgstr ""
Binary file
@@ -5,16 +5,16 @@
5
5
  # Translators:
6
6
  # Dominic Cleal <dominic@cleal.org>, 2014
7
7
  # Fabio Dias <fabioqos@gmail.com>, 2015
8
- # luizvasconcelos <luizvasconceloss@yahoo.com.br>, 2014
9
- # luizvasconcelos <luizvasconceloss@yahoo.com.br>, 2014
8
+ # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014
9
+ # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014
10
10
  # Valeria S Silva <valeriassilva@live.com>, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: Foreman\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2016-06-14 23:26+0200\n"
16
- "PO-Revision-Date: 2016-08-22 15:05+0000\n"
17
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
15
+ "POT-Creation-Date: 2016-09-01 12:28+0200\n"
16
+ "PO-Revision-Date: 2016-09-02 10:08+0000\n"
17
+ "Last-Translator: Lukáš Zapletal\n"
18
18
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/language/pt_BR/)\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -59,8 +59,9 @@ msgid "no value provided"
59
59
  msgstr "não foi fornecido nenhum valor"
60
60
 
61
61
  #: ../lib/hammer_cli/defaults.rb:77
62
- msgid "Couldn't create %s please create the path before defaults are enabled."
63
- msgstr "Não foi possível criar %s, por favor crie o caminho antes que os padrões sejam habilitados. "
62
+ msgid ""
63
+ "Couldn't create %s. Please create the directory before setting defaults."
64
+ msgstr ""
64
65
 
65
66
  #: ../lib/hammer_cli/defaults.rb:101
66
67
  msgid "Defaults management"
@@ -132,9 +133,9 @@ msgstr "default-option %{key_val} adicionada com valor %{val_val}."
132
133
 
133
134
  #: ../lib/hammer_cli/defaults_commands.rb:139
134
135
  msgid ""
135
- "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
136
- "available providers.\""
137
- msgstr "\"Fornecedor #{namespace} não localizado. Consulte `fornecedores de padrões hammer`para fornecedores disponíveis.\""
136
+ "Provider %{name} was not found. See `hammer defaults providers` for "
137
+ "available providers."
138
+ msgstr ""
138
139
 
139
140
  #: ../lib/hammer_cli/defaults_commands.rb:143
140
141
  msgid ""
@@ -147,8 +148,8 @@ msgid "%{param} was deleted successfully."
147
148
  msgstr "%{param} foi removido com êxito."
148
149
 
149
150
  #: ../lib/hammer_cli/defaults_commands.rb:151
150
- msgid "You must specify value or a provider name, cant specify both."
151
- msgstr "Você deve especificar um valor ou um nome de fornecedor, não pode ser ambos. "
151
+ msgid "You must specify value or a provider name, can't specify both."
152
+ msgstr ""
152
153
 
153
154
  #: ../lib/hammer_cli/defaults_commands.rb:155
154
155
  msgid "Couldn't find the requested param in %s."
@@ -331,15 +332,23 @@ msgstr "valor deve ser uma combinação de '%s'"
331
332
  msgid "Warning: Option %{option} is deprecated. %{message}"
332
333
  msgstr "Aviso: Opção %{option} foi preterida. %{message}"
333
334
 
334
- #: ../lib/hammer_cli/options/option_definition.rb:80
335
+ #: ../lib/hammer_cli/options/option_definition.rb:75
336
+ msgid "Deprecated: %{deprecated_msg}"
337
+ msgstr ""
338
+
339
+ #: ../lib/hammer_cli/options/option_definition.rb:78
340
+ msgid "%{flag} is deprecated: %{deprecated_msg}"
341
+ msgstr ""
342
+
343
+ #: ../lib/hammer_cli/options/option_definition.rb:101
335
344
  msgid "Can be specified multiple times. "
336
345
  msgstr "Pode ser especificado diversas vezes."
337
346
 
338
- #: ../lib/hammer_cli/options/option_definition.rb:81
347
+ #: ../lib/hammer_cli/options/option_definition.rb:102
339
348
  msgid "Default: "
340
349
  msgstr "Padrão: "
341
350
 
342
- #: ../lib/hammer_cli/options/option_definition.rb:81
351
+ #: ../lib/hammer_cli/options/option_definition.rb:102
343
352
  msgid ", or "
344
353
  msgstr ", ou "
345
354
 
@@ -356,10 +365,8 @@ msgid "Name"
356
365
  msgstr "Nome"
357
366
 
358
367
  #: ../lib/hammer_cli/output/adapter/table.rb:63
359
- msgid ""
360
- "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for "
361
- "navigation)\""
362
- msgstr "\"Página #{collection.meta.page} de #{pages} (use --page e --per-page para navegação)\""
368
+ msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
369
+ msgstr ""
363
370
 
364
371
  #: ../lib/hammer_cli/output/formatters.rb:160
365
372
  msgid "no"
@@ -375,6 +382,10 @@ msgid ""
375
382
  "configurations to cli.modules.d"
376
383
  msgstr "Aviso: local hammer.modules.d está obsoleto, mova suas configurações de módulo para cli.modules.d"
377
384
 
385
+ #: ../lib/hammer_cli/settings.rb:44
386
+ msgid "Warning: Couldn't load configuration file %{path}: %{message}"
387
+ msgstr ""
388
+
378
389
  #: ../lib/hammer_cli/shell.rb:10
379
390
  msgid "Print help for commands"
380
391
  msgstr "Exibe help para os comandos"