hammer_cli 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +14 -4
  3. data/doc/release_notes.md +8 -0
  4. data/lib/hammer_cli/abstract.rb +1 -3
  5. data/lib/hammer_cli/logger.rb +29 -0
  6. data/lib/hammer_cli/settings.rb +1 -3
  7. data/lib/hammer_cli/version.rb +1 -1
  8. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  9. data/locale/de/hammer-cli.edit.po +21 -21
  10. data/locale/de/hammer-cli.po +32 -24
  11. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  12. data/locale/en/hammer-cli.edit.po +4 -4
  13. data/locale/en/hammer-cli.po +1 -1
  14. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  15. data/locale/en_GB/hammer-cli.edit.po +71 -70
  16. data/locale/en_GB/hammer-cli.po +81 -69
  17. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  18. data/locale/es/hammer-cli.edit.po +35 -34
  19. data/locale/es/hammer-cli.po +46 -41
  20. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  21. data/locale/fr/hammer-cli.edit.po +4 -4
  22. data/locale/fr/hammer-cli.po +10 -9
  23. data/locale/hammer-cli.pot +6 -6
  24. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  25. data/locale/it/hammer-cli.edit.po +12 -12
  26. data/locale/it/hammer-cli.po +19 -12
  27. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  28. data/locale/ja/hammer-cli.edit.po +13 -13
  29. data/locale/ja/hammer-cli.po +19 -18
  30. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  31. data/locale/ko/hammer-cli.edit.po +12 -12
  32. data/locale/ko/hammer-cli.po +16 -15
  33. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/pt_BR/hammer-cli.edit.po +13 -12
  35. data/locale/pt_BR/hammer-cli.po +18 -13
  36. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  37. data/locale/ru/hammer-cli.edit.po +17 -17
  38. data/locale/ru/hammer-cli.po +26 -21
  39. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  40. data/locale/zh_CN/hammer-cli.edit.po +40 -40
  41. data/locale/zh_CN/hammer-cli.po +58 -54
  42. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  43. data/locale/zh_TW/hammer-cli.edit.po +12 -12
  44. data/locale/zh_TW/hammer-cli.po +16 -15
  45. data/test/unit/abstract_test.rb +25 -7
  46. data/test/unit/logger_test.rb +18 -0
  47. data/test/unit/settings_test.rb +4 -3
  48. data/test/unit/test_helper.rb +1 -1
  49. metadata +13 -81
@@ -3,14 +3,15 @@
3
3
  # This file is distributed under the same license as the hammer-cli package.
4
4
  #
5
5
  # Translators:
6
+ # Andi Chandler <andi@gowling.com>, 2015
6
7
  msgid ""
7
8
  msgstr ""
8
9
  "Project-Id-Version: Foreman\n"
9
10
  "Report-Msgid-Bugs-To: \n"
10
11
  "POT-Creation-Date: 2014-12-10 13:50+0100\n"
11
- "PO-Revision-Date: 2015-03-09 14:42+0000\n"
12
- "Last-Translator: Lukáš Zapletal\n"
13
- "Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/foreman/language/en_GB/)\n"
12
+ "PO-Revision-Date: 2015-08-30 02:01+0000\n"
13
+ "Last-Translator: Andi Chandler <andi@gowling.com>\n"
14
+ "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
14
15
  "MIME-Version: 1.0\n"
15
16
  "Content-Type: text/plain; charset=UTF-8\n"
16
17
  "Content-Transfer-Encoding: 8bit\n"
@@ -19,245 +20,245 @@ msgstr ""
19
20
 
20
21
  #: lib/hammer_cli/clamp.rb:5
21
22
  msgid "too many arguments"
22
- msgstr ""
23
+ msgstr "too many arguments"
23
24
 
24
25
  #: lib/hammer_cli/clamp.rb:6
25
26
  msgid "option '%<option>s' is required"
26
- msgstr ""
27
+ msgstr "option '%<option>s' is required"
27
28
 
28
29
  #: lib/hammer_cli/clamp.rb:7
29
30
  msgid "option '%<option>s' (or env %<env>s) is required"
30
- msgstr ""
31
+ msgstr "option '%<option>s' (or env %<env>s) is required"
31
32
 
32
33
  #: lib/hammer_cli/clamp.rb:8
33
34
  msgid "option '%<switch>s': %<message>s"
34
- msgstr ""
35
+ msgstr "option '%<switch>s': %<message>s"
35
36
 
36
37
  #: lib/hammer_cli/clamp.rb:9
37
38
  msgid "parameter '%<param>s': %<message>s"
38
- msgstr ""
39
+ msgstr "parameter '%<param>s': %<message>s"
39
40
 
40
41
  #: lib/hammer_cli/clamp.rb:10
41
42
  msgid "%<env>s: %<message>s"
42
- msgstr ""
43
+ msgstr "%<env>s: %<message>s"
43
44
 
44
45
  #: lib/hammer_cli/clamp.rb:11
45
46
  msgid "Unrecognised option '%<switch>s'"
46
- msgstr ""
47
+ msgstr "Unrecognised option '%<switch>s'"
47
48
 
48
49
  #: lib/hammer_cli/clamp.rb:12
49
50
  msgid "No such sub-command '%<name>s'"
50
- msgstr ""
51
+ msgstr "No such sub-command '%<name>s'"
51
52
 
52
53
  #: lib/hammer_cli/clamp.rb:13
53
54
  msgid "no value provided"
54
- msgstr ""
55
+ msgstr "no value provided"
55
56
 
56
57
  #: lib/hammer_cli/options/option_definition.rb:68
57
58
  msgid "Can be specified multiple times. "
58
- msgstr ""
59
+ msgstr "Can be specified multiple times. "
59
60
 
60
61
  #: lib/hammer_cli/options/option_definition.rb:69
61
62
  msgid "Default: "
62
- msgstr ""
63
+ msgstr "Default: "
63
64
 
64
65
  #: lib/hammer_cli/options/option_definition.rb:69
65
66
  msgid ", or "
66
- msgstr ""
67
+ msgstr ", or "
67
68
 
68
69
  #: lib/hammer_cli/options/normalizers.rb:26
69
70
  msgid "Comma-separated list of key=value."
70
- msgstr ""
71
+ msgstr "Comma-separated list of key=value."
71
72
 
72
73
  #: lib/hammer_cli/options/normalizers.rb:39
73
74
  msgid "value must be defined as a comma-separated list of key=value"
74
- msgstr ""
75
+ msgstr "value must be defined as a comma-separated list of key=value"
75
76
 
76
77
  #: lib/hammer_cli/options/normalizers.rb:57
77
78
  msgid "Comma separated list of values."
78
- msgstr ""
79
+ msgstr "Comma separated list of values."
79
80
 
80
81
  #: lib/hammer_cli/options/normalizers.rb:69
81
82
  msgid "One of true/false, yes/no, 1/0."
82
- msgstr ""
83
+ msgstr "One of true/false, yes/no, 1/0."
83
84
 
84
85
  #: lib/hammer_cli/options/normalizers.rb:79
85
86
  msgid "value must be one of true/false, yes/no, 1/0"
86
- msgstr ""
87
+ msgstr "value must be one of true/false, yes/no, 1/0"
87
88
 
88
89
  #: lib/hammer_cli/options/normalizers.rb:118
89
90
  msgid "Unable to parse JSON input"
90
- msgstr ""
91
+ msgstr "Unable to parse JSON input"
91
92
 
92
93
  #: lib/hammer_cli/options/normalizers.rb:131
93
94
  msgid "One of %s"
94
- msgstr ""
95
+ msgstr "One of %s"
95
96
 
96
97
  #: lib/hammer_cli/options/normalizers.rb:138
97
98
  msgid "value must be one of '%s'"
98
- msgstr ""
99
+ msgstr "value must be one of '%s'"
99
100
 
100
101
  #: lib/hammer_cli/options/normalizers.rb:157
101
102
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
102
- msgstr ""
103
+ msgstr "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
103
104
 
104
105
  #: lib/hammer_cli/options/normalizers.rb:164
105
106
  msgid "'%s' is not a valid date"
106
- msgstr ""
107
+ msgstr "'%s' is not a valid date"
107
108
 
108
109
  #: lib/hammer_cli/options/normalizers.rb:175
109
110
  msgid "Any combination (comma separated list) of '%s'"
110
- msgstr ""
111
+ msgstr "Any combination (comma separated list) of '%s'"
111
112
 
112
113
  #: lib/hammer_cli/options/normalizers.rb:195
113
114
  msgid "value must be a combination of '%s'"
114
- msgstr ""
115
+ msgstr "value must be a combination of '%s'"
115
116
 
116
117
  #: lib/hammer_cli/logger.rb:28
117
118
  msgid "No permissions to create log dir %s"
118
- msgstr ""
119
+ msgstr "No permissions to create log dir %s"
119
120
 
120
121
  #: lib/hammer_cli/logger.rb:43
121
122
  msgid "File %s not writeable, won't log anything to the file!"
122
- msgstr ""
123
+ msgstr "File %s not writeable, won't log anything to the file!"
123
124
 
124
125
  #: lib/hammer_cli/main.rb:7
125
126
  msgid "be verbose"
126
- msgstr ""
127
+ msgstr "be verbose"
127
128
 
128
129
  #: lib/hammer_cli/main.rb:8
129
130
  msgid "show debugging output "
130
- msgstr ""
131
+ msgstr "show debugging output "
131
132
 
132
133
  #: lib/hammer_cli/main.rb:9
133
134
  msgid "force reload of Apipie cache"
134
- msgstr ""
135
+ msgstr "force reload of Apipie cache"
135
136
 
136
137
  #: lib/hammer_cli/main.rb:11
137
138
  msgid "path to custom config file"
138
- msgstr ""
139
+ msgstr "path to custom config file"
139
140
 
140
141
  #: lib/hammer_cli/main.rb:13
141
142
  msgid "username to access the remote system"
142
- msgstr ""
143
+ msgstr "username to access the remote system"
143
144
 
144
145
  #: lib/hammer_cli/main.rb:15
145
146
  msgid "password to access the remote system"
146
- msgstr ""
147
+ msgstr "password to access the remote system"
147
148
 
148
149
  #: lib/hammer_cli/main.rb:17
149
150
  msgid "remote system address"
150
- msgstr ""
151
+ msgstr "remote system address"
151
152
 
152
153
  #: lib/hammer_cli/main.rb:20
153
154
  msgid "show version"
154
- msgstr ""
155
+ msgstr "show version"
155
156
 
156
157
  #: lib/hammer_cli/main.rb:29
157
158
  msgid "Show ids of associated resources"
158
- msgstr ""
159
+ msgstr "Show ids of associated resources"
159
160
 
160
161
  #: lib/hammer_cli/main.rb:31
161
162
  msgid "Explicitly turn interactive mode on/off"
162
- msgstr ""
163
+ msgstr "Explicitly turn interactive mode on/off"
163
164
 
164
165
  #: lib/hammer_cli/main.rb:35
165
166
  msgid "Output as CSV (same as --output=csv)"
166
- msgstr ""
167
+ msgstr "Output as CSV (same as --output=csv)"
167
168
 
168
169
  #: lib/hammer_cli/main.rb:36
169
170
  msgid "Set output format. One of [%s]"
170
- msgstr ""
171
+ msgstr "Set output format. One of [%s]"
171
172
 
172
173
  #: lib/hammer_cli/main.rb:39
173
174
  msgid "Character to separate the values"
174
- msgstr ""
175
+ msgstr "Character to separate the values"
175
176
 
176
177
  #: lib/hammer_cli/main.rb:43
177
178
  msgid "Get list of possible endings"
178
- msgstr ""
179
+ msgstr "Get list of possible endings"
179
180
 
180
181
  #: lib/hammer_cli/settings.rb:28
181
182
  msgid ""
182
183
  "Warning: location hammer.modules.d is deprecated, move your module "
183
184
  "configurations to cli.modules.d"
184
- msgstr ""
185
+ msgstr "Warning: location hammer.modules.d is deprecated, move your module configurations to cli.modules.d"
185
186
 
186
187
  #: lib/hammer_cli/modules.rb:12
187
188
  msgid ""
188
189
  "Legacy configuration of modules detected. Check section about configuration "
189
190
  "in user manual"
190
- msgstr ""
191
+ msgstr "Legacy configuration of modules detected. Check section about configuration in user manual"
191
192
 
192
193
  #: lib/hammer_cli/modules.rb:60
193
194
  msgid "Warning: An error occured while loading module %s"
194
- msgstr ""
195
+ msgstr "Warning: An error occured while loading module %s"
195
196
 
196
197
  #: lib/hammer_cli/modules.rb:87
197
198
  msgid "Error: Some of the required modules are disabled in configuration: %s "
198
- msgstr ""
199
+ msgstr "Error: Some of the required modules are disabled in configuration: %s "
199
200
 
200
201
  #: lib/hammer_cli/exception_handler.rb:62
201
202
  msgid "Error: %s"
202
- msgstr ""
203
+ msgstr "Error: %s"
203
204
 
204
205
  #: lib/hammer_cli/exception_handler.rb:68
205
206
  msgid "Error: %{message}"
206
- msgstr ""
207
+ msgstr "Error: %{message}"
207
208
 
208
209
  #: lib/hammer_cli/exception_handler.rb:69
209
210
  msgid "See: '%{path} --help'"
210
- msgstr ""
211
+ msgstr "See: '%{path} --help'"
211
212
 
212
213
  #: lib/hammer_cli/exception_handler.rb:86
213
214
  msgid "Invalid username or password"
214
- msgstr ""
215
+ msgstr "Invalid username or password"
215
216
 
216
217
  #: lib/hammer_cli/exception_handler.rb:93
217
218
  msgid "Could not load the API description from the server"
218
- msgstr ""
219
+ msgstr "Could not load the API description from the server"
219
220
 
220
221
  #: lib/hammer_cli/exception_handler.rb:94
221
222
  msgid "is the server down?"
222
- msgstr ""
223
+ msgstr "is the server down?"
223
224
 
224
225
  #: lib/hammer_cli/exception_handler.rb:95
225
226
  msgid ""
226
227
  "was '%s' run on the server when using apipie cache? (typical production "
227
228
  "settings)"
228
- msgstr ""
229
+ msgstr "was '%s' run on the server when using apipie cache? (typical production settings)"
229
230
 
230
231
  #: lib/hammer_cli/exception_handler.rb:101
231
232
  msgid "Missing arguments for %s"
232
- msgstr ""
233
+ msgstr "Missing arguments for %s"
233
234
 
234
235
  #: lib/hammer_cli/validator.rb:41
235
236
  msgid "Unknown option name '%s'"
236
- msgstr ""
237
+ msgstr "Unknown option name '%s'"
237
238
 
238
239
  #: lib/hammer_cli/validator.rb:62
239
240
  msgid "You can't set all options %s at one time"
240
- msgstr ""
241
+ msgstr "You can't set all options %s at one time"
241
242
 
242
243
  #: lib/hammer_cli/validator.rb:63
243
244
  msgid "Options %s are required"
244
- msgstr ""
245
+ msgstr "Options %s are required"
245
246
 
246
247
  #: lib/hammer_cli/validator.rb:79
247
248
  msgid "You can't set any of options %s"
248
- msgstr ""
249
+ msgstr "You can't set any of options %s"
249
250
 
250
251
  #: lib/hammer_cli/validator.rb:80
251
252
  msgid "At least one of options %s is required"
252
- msgstr ""
253
+ msgstr "At least one of options %s is required"
253
254
 
254
255
  #: lib/hammer_cli/output/adapter/csv.rb:174
255
256
  msgid "Message"
256
- msgstr ""
257
+ msgstr "Message"
257
258
 
258
259
  #: lib/hammer_cli/output/adapter/csv.rb:178
259
260
  msgid "Id"
260
- msgstr ""
261
+ msgstr "Id"
261
262
 
262
263
  #: lib/hammer_cli/output/adapter/csv.rb:183
263
264
  msgid "Name"
@@ -265,34 +266,34 @@ msgstr "Name"
265
266
 
266
267
  #: lib/hammer_cli/output/formatters.rb:154
267
268
  msgid "no"
268
- msgstr ""
269
+ msgstr "no"
269
270
 
270
271
  #: lib/hammer_cli/output/formatters.rb:154
271
272
  msgid "yes"
272
- msgstr ""
273
+ msgstr "yes"
273
274
 
274
275
  #: lib/hammer_cli/shell.rb:10
275
276
  msgid "Print help for commands"
276
- msgstr ""
277
+ msgstr "Print help for commands"
277
278
 
278
279
  #: lib/hammer_cli/shell.rb:22
279
280
  msgid "Exit interactive shell"
280
- msgstr ""
281
+ msgstr "Exit interactive shell"
281
282
 
282
283
  #: lib/hammer_cli/shell.rb:116
283
284
  msgid "Welcome to the hammer interactive shell"
284
- msgstr ""
285
+ msgstr "Welcome to the hammer interactive shell"
285
286
 
286
287
  #: lib/hammer_cli/shell.rb:117
287
288
  msgid "Type 'help' for usage information"
288
- msgstr ""
289
+ msgstr "Type 'help' for usage information"
289
290
 
290
291
  #: lib/hammer_cli/shell.rb:133
291
292
  msgid "Interactive shell"
292
- msgstr ""
293
+ msgstr "Interactive shell"
293
294
 
294
295
  #: lib/hammer_cli/subcommand.rb:56
295
296
  msgid ""
296
297
  "can't replace subcommand %<name>s (%<existing_class>s) with %<name>s "
297
298
  "(%<new_class>s)"
298
- msgstr ""
299
+ msgstr "can't replace subcommand %<name>s (%<existing_class>s) with %<name>s (%<new_class>s)"