hammer_cli 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -2
  3. data/bin/hammer +6 -0
  4. data/config/cli_config.template.yml +3 -0
  5. data/doc/creating_commands.md +19 -0
  6. data/doc/i18n.md +15 -0
  7. data/doc/installation.md +1 -1
  8. data/doc/release_notes.md +61 -0
  9. data/lib/hammer_cli/abstract.rb +10 -37
  10. data/lib/hammer_cli/apipie/command.rb +10 -6
  11. data/lib/hammer_cli/apipie/option_builder.rb +26 -13
  12. data/lib/hammer_cli/apipie/options.rb +12 -10
  13. data/lib/hammer_cli/completer.rb +2 -2
  14. data/lib/hammer_cli/exception_handler.rb +5 -4
  15. data/lib/hammer_cli/exceptions.rb +1 -0
  16. data/lib/hammer_cli/i18n.rb +41 -0
  17. data/lib/hammer_cli/main.rb +2 -2
  18. data/lib/hammer_cli/options/normalizers.rb +31 -0
  19. data/lib/hammer_cli/output/adapter/abstract.rb +5 -1
  20. data/lib/hammer_cli/output/adapter/csv.rb +140 -12
  21. data/lib/hammer_cli/shell.rb +6 -6
  22. data/lib/hammer_cli/subcommand.rb +82 -0
  23. data/lib/hammer_cli/utils.rb +13 -0
  24. data/lib/hammer_cli/version.rb +1 -1
  25. data/locale/Makefile +11 -10
  26. data/locale/README.md +18 -0
  27. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  28. data/locale/en/hammer-cli.po +227 -0
  29. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  30. data/locale/en_GB/hammer-cli.po +274 -0
  31. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  32. data/locale/es/hammer-cli.po +275 -0
  33. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/fr/hammer-cli.po +276 -0
  35. data/locale/hammer-cli.pot +158 -93
  36. data/test/reports/TEST-Fields-ContainerField-display-.xml +7 -0
  37. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +15 -0
  38. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +15 -0
  39. data/test/reports/TEST-Fields-ContainerField.xml +7 -0
  40. data/test/reports/TEST-Fields-Field-display-.xml +7 -0
  41. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +11 -0
  42. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +11 -0
  43. data/test/reports/TEST-Fields-Field-hide-blank-.xml +11 -0
  44. data/test/reports/TEST-Fields-Field-parameters.xml +9 -0
  45. data/test/reports/TEST-Fields-Field.xml +13 -0
  46. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +15 -0
  47. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +13 -0
  48. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +21 -0
  49. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +11 -0
  50. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +11 -0
  51. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +19 -0
  52. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +11 -0
  53. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +13 -0
  54. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +11 -0
  55. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +7 -0
  56. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +11 -0
  57. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +11 -0
  58. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +9 -0
  59. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +19 -0
  60. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +9 -0
  61. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +13 -0
  62. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +15 -0
  63. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +11 -0
  64. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +9 -0
  65. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +11 -0
  66. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +15 -0
  67. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +7 -0
  68. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +29 -0
  69. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +17 -0
  70. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +19 -0
  71. data/test/reports/TEST-HammerCLI-Completer.xml +7 -0
  72. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +25 -0
  73. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +29 -0
  74. data/test/reports/TEST-HammerCLI-CompleterLine.xml +7 -0
  75. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +23 -0
  76. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +15 -0
  77. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +13 -0
  78. data/test/reports/TEST-HammerCLI-CompleterWord.xml +7 -0
  79. data/test/reports/TEST-HammerCLI-Connection.xml +21 -0
  80. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +21 -0
  81. data/test/reports/TEST-HammerCLI-I18n.xml +11 -0
  82. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +11 -0
  83. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +11 -0
  84. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +9 -0
  85. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +7 -0
  86. data/test/reports/TEST-HammerCLI-MainCommand.xml +7 -0
  87. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +13 -0
  88. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +13 -0
  89. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +13 -0
  90. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +15 -0
  91. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +7 -0
  92. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +9 -0
  93. data/test/reports/TEST-HammerCLI-Modules-names.xml +13 -0
  94. data/test/reports/TEST-HammerCLI-Modules.xml +7 -0
  95. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +7 -0
  96. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +11 -0
  97. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +9 -0
  98. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +31 -0
  99. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +17 -0
  100. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +15 -0
  101. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +21 -0
  102. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +15 -0
  103. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +17 -0
  104. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +15 -0
  105. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +7 -0
  106. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +9 -0
  107. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +11 -0
  108. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +7 -0
  109. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +15 -0
  110. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +11 -0
  111. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +15 -0
  112. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +17 -0
  113. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +9 -0
  114. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +27 -0
  115. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +7 -0
  116. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +11 -0
  117. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +13 -0
  118. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +11 -0
  119. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +11 -0
  120. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +11 -0
  121. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +11 -0
  122. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +7 -0
  123. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +15 -0
  124. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +11 -0
  125. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +11 -0
  126. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +9 -0
  127. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +11 -0
  128. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +7 -0
  129. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +11 -0
  130. data/test/reports/TEST-HammerCLI-Output-Definition.xml +11 -0
  131. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +13 -0
  132. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +11 -0
  133. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +15 -0
  134. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +13 -0
  135. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +13 -0
  136. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +9 -0
  137. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +13 -0
  138. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +11 -0
  139. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +9 -0
  140. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +11 -0
  141. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +13 -0
  142. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +13 -0
  143. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +11 -0
  144. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +13 -0
  145. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +13 -0
  146. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +13 -0
  147. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +17 -0
  148. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +15 -0
  149. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +9 -0
  150. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +19 -0
  151. data/test/reports/TEST-HammerCLI-Output-Output.xml +7 -0
  152. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +13 -0
  153. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +15 -0
  154. data/test/reports/TEST-HammerCLI-Settings.xml +25 -0
  155. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +11 -0
  156. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +15 -0
  157. data/test/reports/TEST-HammerCLI-ShellHistory.xml +7 -0
  158. data/test/reports/TEST-MiniTest-Spec.xml +7 -0
  159. data/test/reports/TEST-String-camelize.xml +11 -0
  160. data/test/reports/TEST-String-formatting.xml +17 -0
  161. data/test/reports/TEST-String-indent.xml +11 -0
  162. data/test/reports/TEST-String-interactive-.xml +13 -0
  163. data/test/reports/TEST-String.xml +7 -0
  164. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +13 -0
  165. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +7 -0
  166. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +13 -0
  167. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +7 -0
  168. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +9 -0
  169. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +13 -0
  170. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +13 -0
  171. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +7 -0
  172. data/test/reports/TEST-constraints.xml +7 -0
  173. data/test/unit/abstract_test.rb +15 -11
  174. data/test/unit/apipie/command_test.rb +29 -1
  175. data/test/unit/apipie/option_builder_test.rb +22 -0
  176. data/test/unit/fixtures/apipie/documented.json +44 -0
  177. data/test/unit/options/normalizers_test.rb +35 -0
  178. data/test/unit/output/adapter/csv_test.rb +104 -4
  179. data/test/unit/utils_test.rb +58 -0
  180. metadata +292 -6
@@ -0,0 +1,274 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer-cli package.
4
+ #
5
+ # Translators:
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: hammer-cli 0.1.2\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2014-08-01 12:42+0200\n"
11
+ "PO-Revision-Date: 2014-08-01 08:17+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"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Language: en_GB\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+
20
+ #: lib/hammer_cli/clamp.rb:5
21
+ msgid "too many arguments"
22
+ msgstr ""
23
+
24
+ #: lib/hammer_cli/clamp.rb:6
25
+ msgid "option '%<option>s' is required"
26
+ msgstr ""
27
+
28
+ #: lib/hammer_cli/clamp.rb:7
29
+ msgid "option '%<option>s' (or env %<env>s) is required"
30
+ msgstr ""
31
+
32
+ #: lib/hammer_cli/clamp.rb:8
33
+ msgid "option '%<switch>s': %<message>s"
34
+ msgstr ""
35
+
36
+ #: lib/hammer_cli/clamp.rb:9
37
+ msgid "parameter '%<param>s': %<message>s"
38
+ msgstr ""
39
+
40
+ #: lib/hammer_cli/clamp.rb:10
41
+ msgid "%<env>s: %<message>s"
42
+ msgstr ""
43
+
44
+ #: lib/hammer_cli/clamp.rb:11
45
+ msgid "Unrecognised option '%<switch>s'"
46
+ msgstr ""
47
+
48
+ #: lib/hammer_cli/clamp.rb:12
49
+ msgid "No such sub-command '%<name>s'"
50
+ msgstr ""
51
+
52
+ #: lib/hammer_cli/clamp.rb:13
53
+ msgid "no value provided"
54
+ msgstr ""
55
+
56
+ #: lib/hammer_cli/options/option_definition.rb:68
57
+ msgid "Can be specified multiple times. "
58
+ msgstr ""
59
+
60
+ #: lib/hammer_cli/options/option_definition.rb:69
61
+ msgid "Default: "
62
+ msgstr ""
63
+
64
+ #: lib/hammer_cli/options/option_definition.rb:69
65
+ msgid ", or "
66
+ msgstr ""
67
+
68
+ #: lib/hammer_cli/options/normalizers.rb:26
69
+ msgid "Comma-separated list of key=value."
70
+ msgstr ""
71
+
72
+ #: lib/hammer_cli/options/normalizers.rb:35
73
+ msgid "value must be defined as a comma-separated list of key=value"
74
+ msgstr ""
75
+
76
+ #: lib/hammer_cli/options/normalizers.rb:46
77
+ msgid "Comma separated list of values."
78
+ msgstr ""
79
+
80
+ #: lib/hammer_cli/options/normalizers.rb:58
81
+ msgid "One of true/false, yes/no, 1/0."
82
+ msgstr ""
83
+
84
+ #: lib/hammer_cli/options/normalizers.rb:68
85
+ msgid "value must be one of true/false, yes/no, 1/0"
86
+ msgstr ""
87
+
88
+ #: lib/hammer_cli/options/normalizers.rb:107
89
+ msgid "Unable to parse JSON input"
90
+ msgstr ""
91
+
92
+ #: lib/hammer_cli/options/normalizers.rb:120
93
+ msgid "One of %s"
94
+ msgstr ""
95
+
96
+ #: lib/hammer_cli/options/normalizers.rb:127
97
+ msgid "value must be one of '%s'"
98
+ msgstr ""
99
+
100
+ #: lib/hammer_cli/options/normalizers.rb:146
101
+ msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
102
+ msgstr ""
103
+
104
+ #: lib/hammer_cli/options/normalizers.rb:153
105
+ msgid "'%s' is not a valid date"
106
+ msgstr ""
107
+
108
+ #: lib/hammer_cli/options/normalizers.rb:164
109
+ msgid "Any combination (comma separated list) of '%s'"
110
+ msgstr ""
111
+
112
+ #: lib/hammer_cli/options/normalizers.rb:184
113
+ msgid "value must be a combination of '%s'"
114
+ msgstr ""
115
+
116
+ #: lib/hammer_cli/logger.rb:28
117
+ msgid "No permissions to create log dir %s"
118
+ msgstr ""
119
+
120
+ #: lib/hammer_cli/logger.rb:43
121
+ msgid "File %s not writeable, won't log anything to the file!"
122
+ msgstr ""
123
+
124
+ #: lib/hammer_cli/main.rb:7
125
+ msgid "be verbose"
126
+ msgstr ""
127
+
128
+ #: lib/hammer_cli/main.rb:8
129
+ msgid "show debugging output "
130
+ msgstr ""
131
+
132
+ #: lib/hammer_cli/main.rb:9
133
+ msgid "path to custom config file"
134
+ msgstr ""
135
+
136
+ #: lib/hammer_cli/main.rb:11
137
+ msgid "username to access the remote system"
138
+ msgstr ""
139
+
140
+ #: lib/hammer_cli/main.rb:13
141
+ msgid "password to access the remote system"
142
+ msgstr ""
143
+
144
+ #: lib/hammer_cli/main.rb:15
145
+ msgid "remote system address"
146
+ msgstr ""
147
+
148
+ #: lib/hammer_cli/main.rb:18
149
+ msgid "show version"
150
+ msgstr ""
151
+
152
+ #: lib/hammer_cli/main.rb:27
153
+ msgid "Show ids of associated resources"
154
+ msgstr ""
155
+
156
+ #: lib/hammer_cli/main.rb:29
157
+ msgid "Explicitly turn interactive mode on/off"
158
+ msgstr ""
159
+
160
+ #: lib/hammer_cli/main.rb:33
161
+ msgid "Output as CSV (same as --output=csv)"
162
+ msgstr ""
163
+
164
+ #: lib/hammer_cli/main.rb:34
165
+ msgid "Set output format. One of [%s]"
166
+ msgstr ""
167
+
168
+ #: lib/hammer_cli/main.rb:37
169
+ msgid "Character to separate the values"
170
+ msgstr ""
171
+
172
+ #: lib/hammer_cli/main.rb:41
173
+ msgid "Get list of possible endings"
174
+ msgstr ""
175
+
176
+ #: lib/hammer_cli/settings.rb:28
177
+ msgid ""
178
+ "Warning: location hammer.modules.d is deprecated, move your module "
179
+ "configurations to cli.modules.d"
180
+ msgstr ""
181
+
182
+ #: lib/hammer_cli/modules.rb:10
183
+ msgid ""
184
+ "Legacy configuration of modules detected. Check section about configuration "
185
+ "in user manual"
186
+ msgstr ""
187
+
188
+ #: lib/hammer_cli/modules.rb:42
189
+ msgid "Warning: An error occured while loading module %s"
190
+ msgstr ""
191
+
192
+ #: lib/hammer_cli/exception_handler.rb:60
193
+ msgid "Error: %s"
194
+ msgstr ""
195
+
196
+ #: lib/hammer_cli/exception_handler.rb:66
197
+ msgid "Error: %{message}\\n\\nSee: '%{path} --help'"
198
+ msgstr ""
199
+
200
+ #: lib/hammer_cli/exception_handler.rb:83
201
+ msgid "Invalid username or password"
202
+ msgstr ""
203
+
204
+ #: lib/hammer_cli/exception_handler.rb:90
205
+ msgid ""
206
+ "Could not load API description from the server\\n - is your server "
207
+ "down?\\n\\\\n \" - was \\\"#{rake_command}\\\" run on the server "
208
+ "when using apipie cache? (typical production settings))\\n\""
209
+ msgstr ""
210
+
211
+ #: lib/hammer_cli/validator.rb:41
212
+ msgid "Unknown option name '%s'"
213
+ msgstr ""
214
+
215
+ #: lib/hammer_cli/validator.rb:62
216
+ msgid "You can't set all options %s at one time"
217
+ msgstr ""
218
+
219
+ #: lib/hammer_cli/validator.rb:63
220
+ msgid "Options %s are required"
221
+ msgstr ""
222
+
223
+ #: lib/hammer_cli/validator.rb:79
224
+ msgid "You can't set any of options %s"
225
+ msgstr ""
226
+
227
+ #: lib/hammer_cli/validator.rb:80
228
+ msgid "At least one of options %s is required"
229
+ msgstr ""
230
+
231
+ #: lib/hammer_cli/output/adapter/csv.rb:171
232
+ msgid "Message"
233
+ msgstr ""
234
+
235
+ #: lib/hammer_cli/output/adapter/csv.rb:175
236
+ msgid "Id"
237
+ msgstr ""
238
+
239
+ #: lib/hammer_cli/output/adapter/csv.rb:180
240
+ msgid "Name"
241
+ msgstr "Name"
242
+
243
+ #: lib/hammer_cli/output/formatters.rb:154
244
+ msgid "no"
245
+ msgstr ""
246
+
247
+ #: lib/hammer_cli/output/formatters.rb:154
248
+ msgid "yes"
249
+ msgstr ""
250
+
251
+ #: lib/hammer_cli/shell.rb:10
252
+ msgid "Print help for commands"
253
+ msgstr ""
254
+
255
+ #: lib/hammer_cli/shell.rb:22
256
+ msgid "Exit interactive shell"
257
+ msgstr ""
258
+
259
+ #: lib/hammer_cli/shell.rb:120
260
+ msgid "Welcome to the hammer interactive shell"
261
+ msgstr ""
262
+
263
+ #: lib/hammer_cli/shell.rb:121
264
+ msgid "Type 'help' for usage information"
265
+ msgstr ""
266
+
267
+ #: lib/hammer_cli/shell.rb:122
268
+ msgid ""
269
+ "Command completion is disabled on ruby < 1.9 due to compatibility problems."
270
+ msgstr ""
271
+
272
+ #: lib/hammer_cli/shell.rb:138
273
+ msgid "Interactive shell"
274
+ msgstr ""
Binary file
@@ -0,0 +1,275 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer-cli package.
4
+ #
5
+ # Translators:
6
+ # Sergio Ocón <sergio@redhat.com>, 2014
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: hammer-cli 0.1.2\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2014-08-01 12:42+0200\n"
12
+ "PO-Revision-Date: 2014-08-06 09:30+0000\n"
13
+ "Last-Translator: Sergio Ocón <sergio@redhat.com>\n"
14
+ "Language-Team: Spanish (http://www.transifex.com/projects/p/foreman/language/es/)\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Language: es\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+
21
+ #: lib/hammer_cli/clamp.rb:5
22
+ msgid "too many arguments"
23
+ msgstr "demasiados argumentos"
24
+
25
+ #: lib/hammer_cli/clamp.rb:6
26
+ msgid "option '%<option>s' is required"
27
+ msgstr "la opción '%<option>s' es obligatoria"
28
+
29
+ #: lib/hammer_cli/clamp.rb:7
30
+ msgid "option '%<option>s' (or env %<env>s) is required"
31
+ msgstr "la opción '%<option>s' (or entorno %<env>s) es obligatoria"
32
+
33
+ #: lib/hammer_cli/clamp.rb:8
34
+ msgid "option '%<switch>s': %<message>s"
35
+ msgstr "opción '%<switch>s': %<message>s"
36
+
37
+ #: lib/hammer_cli/clamp.rb:9
38
+ msgid "parameter '%<param>s': %<message>s"
39
+ msgstr "parámetro '%<param>s': %<message>s"
40
+
41
+ #: lib/hammer_cli/clamp.rb:10
42
+ msgid "%<env>s: %<message>s"
43
+ msgstr "%<env>s: %<message>s"
44
+
45
+ #: lib/hammer_cli/clamp.rb:11
46
+ msgid "Unrecognised option '%<switch>s'"
47
+ msgstr "Opción desconocida '%<switch>s'"
48
+
49
+ #: lib/hammer_cli/clamp.rb:12
50
+ msgid "No such sub-command '%<name>s'"
51
+ msgstr "Subcomando no existe '%<name>s'"
52
+
53
+ #: lib/hammer_cli/clamp.rb:13
54
+ msgid "no value provided"
55
+ msgstr "no se proporcionó un valor"
56
+
57
+ #: lib/hammer_cli/options/option_definition.rb:68
58
+ msgid "Can be specified multiple times. "
59
+ msgstr "Puede especificarse repetidamente."
60
+
61
+ #: lib/hammer_cli/options/option_definition.rb:69
62
+ msgid "Default: "
63
+ msgstr "Por defecto:"
64
+
65
+ #: lib/hammer_cli/options/option_definition.rb:69
66
+ msgid ", or "
67
+ msgstr ", o"
68
+
69
+ #: lib/hammer_cli/options/normalizers.rb:26
70
+ msgid "Comma-separated list of key=value."
71
+ msgstr "Lista de pares llave=valor separados por comas."
72
+
73
+ #: lib/hammer_cli/options/normalizers.rb:35
74
+ msgid "value must be defined as a comma-separated list of key=value"
75
+ msgstr "el valor debe definirse como una lista de pares llave=valor separados por comas"
76
+
77
+ #: lib/hammer_cli/options/normalizers.rb:46
78
+ msgid "Comma separated list of values."
79
+ msgstr "Lista de valores separadas por comas."
80
+
81
+ #: lib/hammer_cli/options/normalizers.rb:58
82
+ msgid "One of true/false, yes/no, 1/0."
83
+ msgstr "Uno de verdadero/falso, si/no, 1/0."
84
+
85
+ #: lib/hammer_cli/options/normalizers.rb:68
86
+ msgid "value must be one of true/false, yes/no, 1/0"
87
+ msgstr "el valor debe ser uno de verdadero/falso, si/no, 1/0"
88
+
89
+ #: lib/hammer_cli/options/normalizers.rb:107
90
+ msgid "Unable to parse JSON input"
91
+ msgstr "Imposible analizar la entrada JSON"
92
+
93
+ #: lib/hammer_cli/options/normalizers.rb:120
94
+ msgid "One of %s"
95
+ msgstr "Uno de %s"
96
+
97
+ #: lib/hammer_cli/options/normalizers.rb:127
98
+ msgid "value must be one of '%s'"
99
+ msgstr "valor debe ser uno de '%s'"
100
+
101
+ #: lib/hammer_cli/options/normalizers.rb:146
102
+ msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
103
+ msgstr "Fecha y hora en YYYY-MM-DD HH:MM:SS o formato ISO 8601"
104
+
105
+ #: lib/hammer_cli/options/normalizers.rb:153
106
+ msgid "'%s' is not a valid date"
107
+ msgstr "'%s' no es una fecha válida"
108
+
109
+ #: lib/hammer_cli/options/normalizers.rb:164
110
+ msgid "Any combination (comma separated list) of '%s'"
111
+ msgstr "Cualquier combinación (lista separada por comas) de '%s'"
112
+
113
+ #: lib/hammer_cli/options/normalizers.rb:184
114
+ msgid "value must be a combination of '%s'"
115
+ msgstr "el valor debe ser una combinación de '%s'"
116
+
117
+ #: lib/hammer_cli/logger.rb:28
118
+ msgid "No permissions to create log dir %s"
119
+ msgstr "No tiene permiso para crear el directorio de log %s"
120
+
121
+ #: lib/hammer_cli/logger.rb:43
122
+ msgid "File %s not writeable, won't log anything to the file!"
123
+ msgstr "El archivo %s no tiene acceso de escritura, no se guardará ningún log en él!"
124
+
125
+ #: lib/hammer_cli/main.rb:7
126
+ msgid "be verbose"
127
+ msgstr "dé más detalles"
128
+
129
+ #: lib/hammer_cli/main.rb:8
130
+ msgid "show debugging output "
131
+ msgstr "muestra salida de depuración"
132
+
133
+ #: lib/hammer_cli/main.rb:9
134
+ msgid "path to custom config file"
135
+ msgstr "ruta al fichero de configuración personalizado"
136
+
137
+ #: lib/hammer_cli/main.rb:11
138
+ msgid "username to access the remote system"
139
+ msgstr "nombre de usuario de acceso al sistema remoto"
140
+
141
+ #: lib/hammer_cli/main.rb:13
142
+ msgid "password to access the remote system"
143
+ msgstr "palabra clave de acceso al sistema remoto"
144
+
145
+ #: lib/hammer_cli/main.rb:15
146
+ msgid "remote system address"
147
+ msgstr "dirección del sistema remoto"
148
+
149
+ #: lib/hammer_cli/main.rb:18
150
+ msgid "show version"
151
+ msgstr "mostrar versión"
152
+
153
+ #: lib/hammer_cli/main.rb:27
154
+ msgid "Show ids of associated resources"
155
+ msgstr "Mostrar id de recursos asociados"
156
+
157
+ #: lib/hammer_cli/main.rb:29
158
+ msgid "Explicitly turn interactive mode on/off"
159
+ msgstr "Active/desactive el modo interactivo explícitamente"
160
+
161
+ #: lib/hammer_cli/main.rb:33
162
+ msgid "Output as CSV (same as --output=csv)"
163
+ msgstr "Exporte como CSV (equivale a --output=csv)"
164
+
165
+ #: lib/hammer_cli/main.rb:34
166
+ msgid "Set output format. One of [%s]"
167
+ msgstr "Establece el formato de salida. Uno de [%s]"
168
+
169
+ #: lib/hammer_cli/main.rb:37
170
+ msgid "Character to separate the values"
171
+ msgstr "Caracter de separación de valores"
172
+
173
+ #: lib/hammer_cli/main.rb:41
174
+ msgid "Get list of possible endings"
175
+ msgstr "Obtenga lista de finales posibles"
176
+
177
+ #: lib/hammer_cli/settings.rb:28
178
+ msgid ""
179
+ "Warning: location hammer.modules.d is deprecated, move your module "
180
+ "configurations to cli.modules.d"
181
+ msgstr "Aviso: la localización hammer.modules.d está obsoleta, mueva sus módulos de configuración a cli.modules.d"
182
+
183
+ #: lib/hammer_cli/modules.rb:10
184
+ msgid ""
185
+ "Legacy configuration of modules detected. Check section about configuration "
186
+ "in user manual"
187
+ msgstr "Se ha detectado una configuración de módulos arcaica. Mire la sección sobre configuración en el manual de usuario "
188
+
189
+ #: lib/hammer_cli/modules.rb:42
190
+ msgid "Warning: An error occured while loading module %s"
191
+ msgstr "Advertencia: Ha ocurrido un error al cargar el módulo %s"
192
+
193
+ #: lib/hammer_cli/exception_handler.rb:60
194
+ msgid "Error: %s"
195
+ msgstr "Error: %s"
196
+
197
+ #: lib/hammer_cli/exception_handler.rb:66
198
+ msgid "Error: %{message}\\n\\nSee: '%{path} --help'"
199
+ msgstr "Error: %{message}\\n\\nMire: '%{path} --help'"
200
+
201
+ #: lib/hammer_cli/exception_handler.rb:83
202
+ msgid "Invalid username or password"
203
+ msgstr "Nombre o password inválidos"
204
+
205
+ #: lib/hammer_cli/exception_handler.rb:90
206
+ msgid ""
207
+ "Could not load API description from the server\\n - is your server "
208
+ "down?\\n\\\\n \" - was \\\"#{rake_command}\\\" run on the server "
209
+ "when using apipie cache? (typical production settings))\\n\""
210
+ msgstr "No se pudo cargar la descripción de la API del servidor\\n - está caído=\\n\\\\n \" - se ejecutó \\\"#{rake_command}\\\" en el servidor mientras se usaba la cache apipie? (configuración típica en producción))\\n\""
211
+
212
+ #: lib/hammer_cli/validator.rb:41
213
+ msgid "Unknown option name '%s'"
214
+ msgstr "Nombre de opción desconocida '%s'"
215
+
216
+ #: lib/hammer_cli/validator.rb:62
217
+ msgid "You can't set all options %s at one time"
218
+ msgstr "No se puede establecer todas las opciones %s al mismo tiempo"
219
+
220
+ #: lib/hammer_cli/validator.rb:63
221
+ msgid "Options %s are required"
222
+ msgstr "Se necesita las opciones %s"
223
+
224
+ #: lib/hammer_cli/validator.rb:79
225
+ msgid "You can't set any of options %s"
226
+ msgstr "No se puede establecer ninguna de las opciones %s"
227
+
228
+ #: lib/hammer_cli/validator.rb:80
229
+ msgid "At least one of options %s is required"
230
+ msgstr "Se necesita al menos una de las opciones %s"
231
+
232
+ #: lib/hammer_cli/output/adapter/csv.rb:171
233
+ msgid "Message"
234
+ msgstr "Mensaje"
235
+
236
+ #: lib/hammer_cli/output/adapter/csv.rb:175
237
+ msgid "Id"
238
+ msgstr "Id"
239
+
240
+ #: lib/hammer_cli/output/adapter/csv.rb:180
241
+ msgid "Name"
242
+ msgstr "Nombre"
243
+
244
+ #: lib/hammer_cli/output/formatters.rb:154
245
+ msgid "no"
246
+ msgstr "no"
247
+
248
+ #: lib/hammer_cli/output/formatters.rb:154
249
+ msgid "yes"
250
+ msgstr "sí"
251
+
252
+ #: lib/hammer_cli/shell.rb:10
253
+ msgid "Print help for commands"
254
+ msgstr "Imprime ayuda de comandos"
255
+
256
+ #: lib/hammer_cli/shell.rb:22
257
+ msgid "Exit interactive shell"
258
+ msgstr "Salir del shell interactivo"
259
+
260
+ #: lib/hammer_cli/shell.rb:120
261
+ msgid "Welcome to the hammer interactive shell"
262
+ msgstr "Bienvenido al shell interactivo de hammer"
263
+
264
+ #: lib/hammer_cli/shell.rb:121
265
+ msgid "Type 'help' for usage information"
266
+ msgstr "Escriba 'help' para obtener información de uso"
267
+
268
+ #: lib/hammer_cli/shell.rb:122
269
+ msgid ""
270
+ "Command completion is disabled on ruby < 1.9 due to compatibility problems."
271
+ msgstr "El completado de comandos está deshabilitado para ruby <1.9 debido a problemas de compatibilidad."
272
+
273
+ #: lib/hammer_cli/shell.rb:138
274
+ msgid "Interactive shell"
275
+ msgstr "Shell interactivo"
Binary file