hammer_cli 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +16 -9
  3. data/doc/creating_commands.md +20 -0
  4. data/doc/release_notes.md +7 -0
  5. data/lib/hammer_cli/apipie/option_builder.rb +4 -0
  6. data/lib/hammer_cli/options/normalizers.rb +25 -2
  7. data/lib/hammer_cli/options/option_definition.rb +12 -0
  8. data/lib/hammer_cli/version.rb +1 -1
  9. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  10. data/locale/de/hammer-cli.edit.po +8 -7
  11. data/locale/de/hammer-cli.po +19 -4
  12. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  13. data/locale/en/hammer-cli.edit.po +87 -72
  14. data/locale/en/hammer-cli.po +15 -3
  15. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  16. data/locale/en_GB/hammer-cli.po +15 -3
  17. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  18. data/locale/es/hammer-cli.po +19 -4
  19. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  20. data/locale/fr/hammer-cli.po +19 -4
  21. data/locale/hammer-cli.pot +140 -124
  22. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  23. data/locale/it/hammer-cli.po +19 -4
  24. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  25. data/locale/ja/hammer-cli.po +19 -4
  26. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  27. data/locale/ko/hammer-cli.po +19 -4
  28. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  29. data/locale/pt_BR/hammer-cli.po +19 -4
  30. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  31. data/locale/ru/hammer-cli.edit.po +12 -11
  32. data/locale/ru/hammer-cli.po +19 -4
  33. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/zh_CN/hammer-cli.po +19 -4
  35. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  36. data/locale/zh_TW/hammer-cli.po +19 -4
  37. data/test/unit/apipie/option_builder_test.rb +10 -1
  38. data/test/unit/fixtures/apipie/documented.json +18 -0
  39. data/test/unit/options/normalizers_test.rb +13 -2
  40. data/test/unit/options/option_definition_test.rb +30 -0
  41. metadata +4 -4
@@ -5,9 +5,8 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli 0.1.4\n"
8
+ "Project-Id-Version: hammer-cli 0.2.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2014-12-10 13:50+0100\n"
11
10
  "PO-Revision-Date: 2014-03-04 16:38+0000\n"
12
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
12
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,274 +16,290 @@ msgstr ""
17
16
  "Content-Transfer-Encoding: 8bit\n"
18
17
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
18
 
20
- #: lib/hammer_cli/clamp.rb:5
19
+ #: ../lib/hammer_cli/clamp.rb:5
21
20
  msgid "too many arguments"
22
21
  msgstr ""
23
22
 
24
- #: lib/hammer_cli/clamp.rb:6
23
+ #: ../lib/hammer_cli/clamp.rb:6
25
24
  msgid "option '%<option>s' is required"
26
25
  msgstr ""
27
26
 
28
- #: lib/hammer_cli/clamp.rb:7
27
+ #: ../lib/hammer_cli/clamp.rb:7
29
28
  msgid "option '%<option>s' (or env %<env>s) is required"
30
29
  msgstr ""
31
30
 
32
- #: lib/hammer_cli/clamp.rb:8
31
+ #: ../lib/hammer_cli/clamp.rb:8
33
32
  msgid "option '%<switch>s': %<message>s"
34
33
  msgstr ""
35
34
 
36
- #: lib/hammer_cli/clamp.rb:9
35
+ #: ../lib/hammer_cli/clamp.rb:9
37
36
  msgid "parameter '%<param>s': %<message>s"
38
37
  msgstr ""
39
38
 
40
- #: lib/hammer_cli/clamp.rb:10
39
+ #: ../lib/hammer_cli/clamp.rb:10
41
40
  msgid "%<env>s: %<message>s"
42
41
  msgstr ""
43
42
 
44
- #: lib/hammer_cli/clamp.rb:11
43
+ #: ../lib/hammer_cli/clamp.rb:11
45
44
  msgid "Unrecognised option '%<switch>s'"
46
45
  msgstr ""
47
46
 
48
- #: lib/hammer_cli/clamp.rb:12
47
+ #: ../lib/hammer_cli/clamp.rb:12
49
48
  msgid "No such sub-command '%<name>s'"
50
49
  msgstr ""
51
50
 
52
- #: lib/hammer_cli/clamp.rb:13
51
+ #: ../lib/hammer_cli/clamp.rb:13
53
52
  msgid "no value provided"
54
53
  msgstr ""
55
54
 
56
- #: lib/hammer_cli/exception_handler.rb:62
55
+ #: ../lib/hammer_cli/exception_handler.rb:62
57
56
  msgid "Error: %s"
58
57
  msgstr ""
59
58
 
60
- #: lib/hammer_cli/exception_handler.rb:68
59
+ #: ../lib/hammer_cli/exception_handler.rb:68
61
60
  msgid "Error: %{message}"
62
61
  msgstr ""
63
62
 
64
- #: lib/hammer_cli/exception_handler.rb:69
63
+ #: ../lib/hammer_cli/exception_handler.rb:69
65
64
  msgid "See: '%{path} --help'"
66
65
  msgstr ""
67
66
 
68
- #: lib/hammer_cli/exception_handler.rb:86
67
+ #: ../lib/hammer_cli/exception_handler.rb:86
69
68
  msgid "Invalid username or password"
70
69
  msgstr ""
71
70
 
72
- #: lib/hammer_cli/exception_handler.rb:93
71
+ #: ../lib/hammer_cli/exception_handler.rb:93
73
72
  msgid "Could not load the API description from the server"
74
73
  msgstr ""
75
74
 
76
- #: lib/hammer_cli/exception_handler.rb:94
75
+ #: ../lib/hammer_cli/exception_handler.rb:94
77
76
  msgid "is the server down?"
78
77
  msgstr ""
79
78
 
80
- #: lib/hammer_cli/exception_handler.rb:95
79
+ #: ../lib/hammer_cli/exception_handler.rb:95
81
80
  msgid "was '%s' run on the server when using apipie cache? (typical production settings)"
82
81
  msgstr ""
83
82
 
84
- #: lib/hammer_cli/exception_handler.rb:101
83
+ #: ../lib/hammer_cli/exception_handler.rb:101
85
84
  msgid "Missing arguments for %s"
86
85
  msgstr ""
87
86
 
88
- #: lib/hammer_cli/logger.rb:28
87
+ #: ../lib/hammer_cli/logger.rb:28
89
88
  msgid "No permissions to create log dir %s"
90
89
  msgstr ""
91
90
 
92
- #: lib/hammer_cli/logger.rb:43
91
+ #: ../lib/hammer_cli/logger.rb:43
93
92
  msgid "File %s not writeable, won't log anything to the file!"
94
93
  msgstr ""
95
94
 
96
- #: lib/hammer_cli/main.rb:7
95
+ #: ../lib/hammer_cli/main.rb:7
97
96
  msgid "be verbose"
98
97
  msgstr ""
99
98
 
100
- #: lib/hammer_cli/main.rb:8
99
+ #: ../lib/hammer_cli/main.rb:8
101
100
  msgid "show debugging output "
102
101
  msgstr ""
103
102
 
104
- #: lib/hammer_cli/main.rb:9
103
+ #: ../lib/hammer_cli/main.rb:9
105
104
  msgid "force reload of Apipie cache"
106
105
  msgstr ""
107
106
 
108
- #: lib/hammer_cli/main.rb:11
107
+ #: ../lib/hammer_cli/main.rb:11
109
108
  msgid "path to custom config file"
110
109
  msgstr ""
111
110
 
112
- #: lib/hammer_cli/main.rb:13
111
+ #: ../lib/hammer_cli/main.rb:13
113
112
  msgid "username to access the remote system"
114
113
  msgstr ""
115
114
 
116
- #: lib/hammer_cli/main.rb:15
115
+ #: ../lib/hammer_cli/main.rb:15
117
116
  msgid "password to access the remote system"
118
117
  msgstr ""
119
118
 
120
- #: lib/hammer_cli/main.rb:17
119
+ #: ../lib/hammer_cli/main.rb:17
121
120
  msgid "remote system address"
122
121
  msgstr ""
123
122
 
124
- #: lib/hammer_cli/main.rb:20
123
+ #: ../lib/hammer_cli/main.rb:20
125
124
  msgid "show version"
126
125
  msgstr ""
127
126
 
128
- #: lib/hammer_cli/main.rb:29
127
+ #: ../lib/hammer_cli/main.rb:23
128
+ msgid "unknown version"
129
+ msgstr ""
130
+
131
+ #: ../lib/hammer_cli/main.rb:29
129
132
  msgid "Show ids of associated resources"
130
133
  msgstr ""
131
134
 
132
- #: lib/hammer_cli/main.rb:31
135
+ #: ../lib/hammer_cli/main.rb:31
133
136
  msgid "Explicitly turn interactive mode on/off"
134
137
  msgstr ""
135
138
 
136
- #: lib/hammer_cli/main.rb:35
139
+ #: ../lib/hammer_cli/main.rb:35
137
140
  msgid "Output as CSV (same as --output=csv)"
138
141
  msgstr ""
139
142
 
140
- #: lib/hammer_cli/main.rb:36
143
+ #: ../lib/hammer_cli/main.rb:36
141
144
  msgid "Set output format. One of [%s]"
142
145
  msgstr ""
143
146
 
144
- #: lib/hammer_cli/main.rb:39
147
+ #: ../lib/hammer_cli/main.rb:39
145
148
  msgid "Character to separate the values"
146
149
  msgstr ""
147
150
 
148
- #: lib/hammer_cli/main.rb:43
151
+ #: ../lib/hammer_cli/main.rb:43
149
152
  msgid "Get list of possible endings"
150
153
  msgstr ""
151
154
 
152
- #: lib/hammer_cli/modules.rb:12
155
+ #: ../lib/hammer_cli/modules.rb:12
153
156
  msgid "Legacy configuration of modules detected. Check section about configuration in user manual"
154
157
  msgstr ""
155
158
 
156
- #: lib/hammer_cli/modules.rb:60
159
+ #: ../lib/hammer_cli/modules.rb:60
157
160
  msgid "Warning: An error occured while loading module %s"
158
161
  msgstr ""
159
162
 
160
- #: lib/hammer_cli/modules.rb:87
163
+ #: ../lib/hammer_cli/modules.rb:87
161
164
  msgid "Error: Some of the required modules are disabled in configuration: %s "
162
165
  msgstr ""
163
166
 
164
- #: lib/hammer_cli/options/normalizers.rb:26
167
+ #: ../lib/hammer_cli/options/normalizers.rb:26
165
168
  msgid "Comma-separated list of key=value."
166
169
  msgstr ""
167
170
 
168
- #: lib/hammer_cli/options/normalizers.rb:39
171
+ #: ../lib/hammer_cli/options/normalizers.rb:39
169
172
  msgid "value must be defined as a comma-separated list of key=value"
170
173
  msgstr ""
171
174
 
172
- #: lib/hammer_cli/options/normalizers.rb:57
175
+ #: ../lib/hammer_cli/options/normalizers.rb:73
173
176
  msgid "Comma separated list of values."
174
177
  msgstr ""
175
178
 
176
- #: lib/hammer_cli/options/normalizers.rb:69
179
+ #: ../lib/hammer_cli/options/normalizers.rb:88
180
+ msgid "numeric value is required"
181
+ msgstr ""
182
+
183
+ #: ../lib/hammer_cli/options/normalizers.rb:102
177
184
  msgid "One of true/false, yes/no, 1/0."
178
185
  msgstr ""
179
186
 
180
- #: lib/hammer_cli/options/normalizers.rb:79
187
+ #: ../lib/hammer_cli/options/normalizers.rb:112
181
188
  msgid "value must be one of true/false, yes/no, 1/0"
182
189
  msgstr ""
183
190
 
184
- #: lib/hammer_cli/options/normalizers.rb:118
191
+ #: ../lib/hammer_cli/options/normalizers.rb:151
185
192
  msgid "Unable to parse JSON input"
186
193
  msgstr ""
187
194
 
188
- #: lib/hammer_cli/options/normalizers.rb:131
189
- msgid "One of %s"
195
+ #: ../lib/hammer_cli/options/normalizers.rb:165
196
+ msgid "Possible value(s): %s"
190
197
  msgstr ""
191
198
 
192
- #: lib/hammer_cli/options/normalizers.rb:138
193
- msgid "value must be one of '%s'"
199
+ #: ../lib/hammer_cli/options/normalizers.rb:173
200
+ msgid "value must be %s"
194
201
  msgstr ""
195
202
 
196
- #: lib/hammer_cli/options/normalizers.rb:157
203
+ #: ../lib/hammer_cli/options/normalizers.rb:175
204
+ msgid "value must be one of %s"
205
+ msgstr ""
206
+
207
+ #: ../lib/hammer_cli/options/normalizers.rb:196
197
208
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
198
209
  msgstr ""
199
210
 
200
- #: lib/hammer_cli/options/normalizers.rb:164
211
+ #: ../lib/hammer_cli/options/normalizers.rb:203
201
212
  msgid "'%s' is not a valid date"
202
213
  msgstr ""
203
214
 
204
- #: lib/hammer_cli/options/normalizers.rb:175
215
+ #: ../lib/hammer_cli/options/normalizers.rb:214
205
216
  msgid "Any combination (comma separated list) of '%s'"
206
217
  msgstr ""
207
218
 
208
- #: lib/hammer_cli/options/normalizers.rb:195
219
+ #: ../lib/hammer_cli/options/normalizers.rb:234
209
220
  msgid "value must be a combination of '%s'"
210
221
  msgstr ""
211
222
 
212
- #: lib/hammer_cli/options/option_definition.rb:68
223
+ #: ../lib/hammer_cli/options/option_definition.rb:56
224
+ msgid "\"Warning: Option #{switch} is deprecated. %s\""
225
+ msgstr ""
226
+
227
+ #: ../lib/hammer_cli/options/option_definition.rb:80
213
228
  msgid "Can be specified multiple times. "
214
229
  msgstr ""
215
230
 
216
- #: lib/hammer_cli/options/option_definition.rb:69
231
+ #: ../lib/hammer_cli/options/option_definition.rb:81
217
232
  msgid ", or "
218
233
  msgstr ""
219
234
 
220
- #: lib/hammer_cli/options/option_definition.rb:69
235
+ #: ../lib/hammer_cli/options/option_definition.rb:81
221
236
  msgid "Default: "
222
237
  msgstr ""
223
238
 
224
- #: lib/hammer_cli/output/adapter/csv.rb:174
239
+ #: ../lib/hammer_cli/output/adapter/csv.rb:174
225
240
  msgid "Message"
226
241
  msgstr ""
227
242
 
228
- #: lib/hammer_cli/output/adapter/csv.rb:178
243
+ #: ../lib/hammer_cli/output/adapter/csv.rb:178
229
244
  msgid "Id"
230
245
  msgstr ""
231
246
 
232
- #: lib/hammer_cli/output/adapter/csv.rb:183
247
+ #: ../lib/hammer_cli/output/adapter/csv.rb:183
233
248
  msgid "Name"
234
249
  msgstr ""
235
250
 
236
- #: lib/hammer_cli/output/formatters.rb:154
251
+ #: ../lib/hammer_cli/output/formatters.rb:154
237
252
  msgid "no"
238
253
  msgstr ""
239
254
 
240
- #: lib/hammer_cli/output/formatters.rb:154
255
+ #: ../lib/hammer_cli/output/formatters.rb:154
241
256
  msgid "yes"
242
257
  msgstr ""
243
258
 
244
- #: lib/hammer_cli/settings.rb:28
259
+ #: ../lib/hammer_cli/settings.rb:28
245
260
  msgid "Warning: location hammer.modules.d is deprecated, move your module configurations to cli.modules.d"
246
261
  msgstr ""
247
262
 
248
- #: lib/hammer_cli/shell.rb:10
263
+ #: ../lib/hammer_cli/shell.rb:10
249
264
  msgid "Print help for commands"
250
265
  msgstr ""
251
266
 
252
- #: lib/hammer_cli/shell.rb:22
267
+ #: ../lib/hammer_cli/shell.rb:22
253
268
  msgid "Exit interactive shell"
254
269
  msgstr ""
255
270
 
256
- #: lib/hammer_cli/shell.rb:116
271
+ #: ../lib/hammer_cli/shell.rb:116
257
272
  msgid "Welcome to the hammer interactive shell"
258
273
  msgstr ""
259
274
 
260
- #: lib/hammer_cli/shell.rb:117
275
+ #: ../lib/hammer_cli/shell.rb:117
261
276
  msgid "Type 'help' for usage information"
262
277
  msgstr ""
263
278
 
264
- #: lib/hammer_cli/shell.rb:133
279
+ #: ../lib/hammer_cli/shell.rb:133
265
280
  msgid "Interactive shell"
266
281
  msgstr ""
267
282
 
268
- #: lib/hammer_cli/subcommand.rb:56
283
+ #: ../lib/hammer_cli/subcommand.rb:56
269
284
  msgid "can't replace subcommand %<name>s (%<existing_class>s) with %<name>s (%<new_class>s)"
270
285
  msgstr ""
271
286
 
272
- #: lib/hammer_cli/validator.rb:41
287
+ #: ../lib/hammer_cli/validator.rb:41
273
288
  msgid "Unknown option name '%s'"
274
289
  msgstr ""
275
290
 
276
- #: lib/hammer_cli/validator.rb:62
291
+ #: ../lib/hammer_cli/validator.rb:62
277
292
  msgid "You can't set all options %s at one time"
278
293
  msgstr ""
279
294
 
280
- #: lib/hammer_cli/validator.rb:63
295
+ #: ../lib/hammer_cli/validator.rb:63
281
296
  msgid "Options %s are required"
282
297
  msgstr ""
283
298
 
284
- #: lib/hammer_cli/validator.rb:79
299
+ #: ../lib/hammer_cli/validator.rb:79
285
300
  msgid "You can't set any of options %s"
286
301
  msgstr ""
287
302
 
288
- #: lib/hammer_cli/validator.rb:80
303
+ #: ../lib/hammer_cli/validator.rb:80
289
304
  msgid "At least one of options %s is required"
290
305
  msgstr ""
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli 0.2.0\n"
8
+ "Project-Id-Version: hammer-cli 0.3.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"
@@ -99,6 +99,9 @@ msgstr ""
99
99
  msgid "show version"
100
100
  msgstr ""
101
101
 
102
+ msgid "unknown version"
103
+ msgstr ""
104
+
102
105
  msgid "Show ids of associated resources"
103
106
  msgstr ""
104
107
 
@@ -137,6 +140,9 @@ msgstr ""
137
140
  msgid "Comma separated list of values."
138
141
  msgstr ""
139
142
 
143
+ msgid "numeric value is required"
144
+ msgstr ""
145
+
140
146
  msgid "One of true/false, yes/no, 1/0."
141
147
  msgstr ""
142
148
 
@@ -146,10 +152,13 @@ msgstr ""
146
152
  msgid "Unable to parse JSON input"
147
153
  msgstr ""
148
154
 
149
- msgid "One of %s"
155
+ msgid "Possible value(s): %s"
150
156
  msgstr ""
151
157
 
152
- msgid "value must be one of '%s'"
158
+ msgid "value must be %s"
159
+ msgstr ""
160
+
161
+ msgid "value must be one of %s"
153
162
  msgstr ""
154
163
 
155
164
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
@@ -164,6 +173,9 @@ msgstr ""
164
173
  msgid "value must be a combination of '%s'"
165
174
  msgstr ""
166
175
 
176
+ msgid "\"Warning: Option #{switch} is deprecated. %s\""
177
+ msgstr ""
178
+
167
179
  msgid "Can be specified multiple times. "
168
180
  msgstr ""
169
181
 
Binary file
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli 0.2.0\n"
8
+ "Project-Id-Version: hammer-cli 0.3.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2014-08-14 09:42+0000\n"
11
11
  "Last-Translator: Lukáš Zapletal\n"
@@ -100,6 +100,9 @@ msgstr ""
100
100
  msgid "show version"
101
101
  msgstr ""
102
102
 
103
+ msgid "unknown version"
104
+ msgstr ""
105
+
103
106
  msgid "Show ids of associated resources"
104
107
  msgstr ""
105
108
 
@@ -138,6 +141,9 @@ msgstr ""
138
141
  msgid "Comma separated list of values."
139
142
  msgstr ""
140
143
 
144
+ msgid "numeric value is required"
145
+ msgstr ""
146
+
141
147
  msgid "One of true/false, yes/no, 1/0."
142
148
  msgstr ""
143
149
 
@@ -147,10 +153,13 @@ msgstr ""
147
153
  msgid "Unable to parse JSON input"
148
154
  msgstr ""
149
155
 
150
- msgid "One of %s"
156
+ msgid "Possible value(s): %s"
151
157
  msgstr ""
152
158
 
153
- msgid "value must be one of '%s'"
159
+ msgid "value must be %s"
160
+ msgstr ""
161
+
162
+ msgid "value must be one of %s"
154
163
  msgstr ""
155
164
 
156
165
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
@@ -165,6 +174,9 @@ msgstr ""
165
174
  msgid "value must be a combination of '%s'"
166
175
  msgstr ""
167
176
 
177
+ msgid "\"Warning: Option #{switch} is deprecated. %s\""
178
+ msgstr ""
179
+
168
180
  msgid "Can be specified multiple times. "
169
181
  msgstr ""
170
182
 
Binary file
@@ -7,7 +7,7 @@
7
7
  # Sergio Ocón <sergio.ocon@redhat.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: hammer-cli 0.2.0\n"
10
+ "Project-Id-Version: hammer-cli 0.3.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "PO-Revision-Date: 2014-09-16 09:51+0000\n"
13
13
  "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
@@ -104,6 +104,10 @@ msgstr "dirección del sistema remoto"
104
104
  msgid "show version"
105
105
  msgstr "mostrar versión"
106
106
 
107
+ #, fuzzy
108
+ msgid "unknown version"
109
+ msgstr "mostrar versión"
110
+
107
111
  msgid "Show ids of associated resources"
108
112
  msgstr "Mostrar id de recursos asociados"
109
113
 
@@ -146,6 +150,9 @@ msgstr ""
146
150
  msgid "Comma separated list of values."
147
151
  msgstr "Lista de valores separadas por comas."
148
152
 
153
+ msgid "numeric value is required"
154
+ msgstr ""
155
+
149
156
  msgid "One of true/false, yes/no, 1/0."
150
157
  msgstr "Uno de verdadero/falso, si/no, 1/0."
151
158
 
@@ -155,10 +162,15 @@ msgstr "el valor debe ser uno de verdadero/falso, si/no, 1/0"
155
162
  msgid "Unable to parse JSON input"
156
163
  msgstr "Imposible analizar la entrada JSON"
157
164
 
158
- msgid "One of %s"
159
- msgstr "Uno de %s"
165
+ msgid "Possible value(s): %s"
166
+ msgstr ""
160
167
 
161
- msgid "value must be one of '%s'"
168
+ #, fuzzy
169
+ msgid "value must be %s"
170
+ msgstr "valor debe ser uno de '%s'"
171
+
172
+ #, fuzzy
173
+ msgid "value must be one of %s"
162
174
  msgstr "valor debe ser uno de '%s'"
163
175
 
164
176
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
@@ -173,6 +185,9 @@ msgstr "Cualquier combinación (lista separada por comas) de '%s'"
173
185
  msgid "value must be a combination of '%s'"
174
186
  msgstr "el valor debe ser una combinación de '%s'"
175
187
 
188
+ msgid "\"Warning: Option #{switch} is deprecated. %s\""
189
+ msgstr ""
190
+
176
191
  msgid "Can be specified multiple times. "
177
192
  msgstr "Puede especificarse repetidamente."
178
193
 
Binary file
@@ -8,7 +8,7 @@
8
8
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: hammer-cli 0.2.0\n"
11
+ "Project-Id-Version: hammer-cli 0.3.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2014-09-16 09:51+0000\n"
14
14
  "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
@@ -105,6 +105,10 @@ msgstr "adresse du système distant"
105
105
  msgid "show version"
106
106
  msgstr "Voir la version"
107
107
 
108
+ #, fuzzy
109
+ msgid "unknown version"
110
+ msgstr "Voir la version"
111
+
108
112
  msgid "Show ids of associated resources"
109
113
  msgstr "Afficher les IDs liées aux ressources"
110
114
 
@@ -147,6 +151,9 @@ msgstr ""
147
151
  msgid "Comma separated list of values."
148
152
  msgstr "Liste de valeurs séparées par des virgules."
149
153
 
154
+ msgid "numeric value is required"
155
+ msgstr ""
156
+
150
157
  msgid "One of true/false, yes/no, 1/0."
151
158
  msgstr "Au choix parmi true/false, yes/no, 1/0."
152
159
 
@@ -156,10 +163,15 @@ msgstr "La valeur doit être un de ces choix : true/false, yes/no, 1/0"
156
163
  msgid "Unable to parse JSON input"
157
164
  msgstr "Impossible d'analyser l'entrée JSON"
158
165
 
159
- msgid "One of %s"
160
- msgstr "Choisir parmi %s"
166
+ msgid "Possible value(s): %s"
167
+ msgstr ""
161
168
 
162
- msgid "value must be one of '%s'"
169
+ #, fuzzy
170
+ msgid "value must be %s"
171
+ msgstr "la valeur doit être choisie parmi '%s'"
172
+
173
+ #, fuzzy
174
+ msgid "value must be one of %s"
163
175
  msgstr "la valeur doit être choisie parmi '%s'"
164
176
 
165
177
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
@@ -174,6 +186,9 @@ msgstr "Toute combinaison (liste séparée par des virgules) de '%s'"
174
186
  msgid "value must be a combination of '%s'"
175
187
  msgstr "la valeur doit être une combinaison de '%s'"
176
188
 
189
+ msgid "\"Warning: Option #{switch} is deprecated. %s\""
190
+ msgstr ""
191
+
177
192
  msgid "Can be specified multiple times. "
178
193
  msgstr "Peut être spécifié plusieurs fois."
179
194