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.
- checksums.yaml +4 -4
- data/bin/hammer +14 -4
- data/doc/release_notes.md +8 -0
- data/lib/hammer_cli/abstract.rb +1 -3
- data/lib/hammer_cli/logger.rb +29 -0
- data/lib/hammer_cli/settings.rb +1 -3
- data/lib/hammer_cli/version.rb +1 -1
- data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/de/hammer-cli.edit.po +21 -21
- data/locale/de/hammer-cli.po +32 -24
- data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/en/hammer-cli.edit.po +4 -4
- data/locale/en/hammer-cli.po +1 -1
- data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/en_GB/hammer-cli.edit.po +71 -70
- data/locale/en_GB/hammer-cli.po +81 -69
- data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/es/hammer-cli.edit.po +35 -34
- data/locale/es/hammer-cli.po +46 -41
- data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/fr/hammer-cli.edit.po +4 -4
- data/locale/fr/hammer-cli.po +10 -9
- data/locale/hammer-cli.pot +6 -6
- data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/it/hammer-cli.edit.po +12 -12
- data/locale/it/hammer-cli.po +19 -12
- data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ja/hammer-cli.edit.po +13 -13
- data/locale/ja/hammer-cli.po +19 -18
- data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ko/hammer-cli.edit.po +12 -12
- data/locale/ko/hammer-cli.po +16 -15
- data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/pt_BR/hammer-cli.edit.po +13 -12
- data/locale/pt_BR/hammer-cli.po +18 -13
- data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ru/hammer-cli.edit.po +17 -17
- data/locale/ru/hammer-cli.po +26 -21
- data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/zh_CN/hammer-cli.edit.po +40 -40
- data/locale/zh_CN/hammer-cli.po +58 -54
- data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/zh_TW/hammer-cli.edit.po +12 -12
- data/locale/zh_TW/hammer-cli.po +16 -15
- data/test/unit/abstract_test.rb +25 -7
- data/test/unit/logger_test.rb +18 -0
- data/test/unit/settings_test.rb +4 -3
- data/test/unit/test_helper.rb +1 -1
- metadata +13 -81
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c856eea7fbf8e0734d0d499654229d0eae1ecd69
|
4
|
+
data.tar.gz: 5c86eebfc85d5855f88770833fa4e95c98ee3660
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11cf2b3b33444a8dabbd84e206b5eb6e57843aeea22a8bc210d6c6276682f5621e285561ba18eacd7be56201f9816dee467635db73c065bf628c405a033bbd8c
|
7
|
+
data.tar.gz: 4d6a8dc7c47be4b247cffb105dc21b36de4e5258385bac46b67d7eee9cfade4c5393be44197f948da0da1ed673af2109d965ef462cc6dc0c6cdddfabd0597b2a
|
data/bin/hammer
CHANGED
@@ -14,7 +14,9 @@ require 'hammer_cli/options/normalizers'
|
|
14
14
|
class PreParser < Clamp::Command
|
15
15
|
option ["-v", "--verbose"], :flag, "be verbose"
|
16
16
|
option ["-d", "--debug"], :flag, "show debugging output"
|
17
|
-
option ["-c", "--config"], "CFG_FILE", "path to custom config file"
|
17
|
+
option ["-c", "--config"], "CFG_FILE", "path to custom config file" do |path|
|
18
|
+
File.expand_path path
|
19
|
+
end
|
18
20
|
option ["-u", "--username"], "USERNAME", "username to access the remote system"
|
19
21
|
option ["-p", "--password"], "PASSWORD", "password to access the remote system"
|
20
22
|
option ["-s", "--server"], "SERVER", "remote system address"
|
@@ -52,12 +54,20 @@ end
|
|
52
54
|
|
53
55
|
CFG_PATH_LOCAL = ['./config/']
|
54
56
|
|
57
|
+
HammerCLI::Settings.load_from_paths CFG_PATH_LOCAL
|
58
|
+
|
55
59
|
if preparser.config
|
56
|
-
|
60
|
+
if File.file? preparser.config
|
61
|
+
HammerCLI::Settings.load_from_file preparser.config
|
62
|
+
elsif File.directory? preparser.config
|
63
|
+
HammerCLI::Settings.load_from_paths [preparser.config]
|
64
|
+
else
|
65
|
+
$stderr.puts _('Error: Custom configuration file %s does not exist.') % preparser.config
|
66
|
+
require 'hammer_cli/exit_codes'
|
67
|
+
exit HammerCLI::EX_CONFIG
|
68
|
+
end
|
57
69
|
end
|
58
70
|
|
59
|
-
HammerCLI::Settings.load_from_paths CFG_PATH_LOCAL
|
60
|
-
|
61
71
|
# store username and password in settings
|
62
72
|
HammerCLI::Settings.load({
|
63
73
|
:_params => {
|
data/doc/release_notes.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
Release notes
|
2
2
|
=============
|
3
3
|
|
4
|
+
### 0.4.0 (2015-09-21)
|
5
|
+
* Pull in the downstream translations ([#11184](http://projects.theforeman.org/issues/11184))
|
6
|
+
* Abort when custom config file is not found ([#11158](http://projects.theforeman.org/issues/11158))
|
7
|
+
* Add filtering of the logs ([#7534](http://projects.theforeman.org/issues/7534))
|
8
|
+
* Bump required apipie-bindings version ([#11452](http://projects.theforeman.org/issues/11452))
|
9
|
+
* Prevents hammer from reading ./config file ([#11439](http://projects.theforeman.org/issues/11439))
|
10
|
+
* Drop Ruby 1.8 support ([#11280](http://projects.theforeman.org/issues/11280))
|
11
|
+
|
4
12
|
### 0.3.0 (2015-07-29)
|
5
13
|
* Add normalizer converting id parameter values to numbers ([#11137](http://projects.theforeman.org/issues/11137))
|
6
14
|
* Set Enum normalizer on enumerated values ([#11033](http://projects.theforeman.org/issues/11033))
|
data/lib/hammer_cli/abstract.rb
CHANGED
@@ -30,9 +30,7 @@ module HammerCLI
|
|
30
30
|
def parse(arguments)
|
31
31
|
super
|
32
32
|
validate_options
|
33
|
-
|
34
|
-
safe_options.keys.each { |k| safe_options[k] = '***' if k.end_with?('password') }
|
35
|
-
logger.info "Called with options: %s" % safe_options.inspect
|
33
|
+
logger.info "Called with options: %s" % options.inspect
|
36
34
|
rescue HammerCLI::Validator::ValidationError => e
|
37
35
|
signal_usage_error e.message
|
38
36
|
end
|
data/lib/hammer_cli/logger.rb
CHANGED
@@ -1,6 +1,35 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
require 'logging'
|
3
3
|
|
4
|
+
module Logging
|
5
|
+
class LogEvent
|
6
|
+
alias_method :old_initialize, :initialize
|
7
|
+
def initialize( logger, level, data, caller_tracing )
|
8
|
+
# filter out the passwords
|
9
|
+
if data.kind_of? String
|
10
|
+
self.class.data_filters.each do |filter|
|
11
|
+
data = data.gsub(filter[0], filter[1])
|
12
|
+
end
|
13
|
+
end
|
14
|
+
old_initialize(logger, level, data, caller_tracing)
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.add_data_filter(pattern, replacement)
|
18
|
+
data_filters << [pattern, replacement]
|
19
|
+
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def self.data_filters
|
24
|
+
@filter_list ||= []
|
25
|
+
@filter_list
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# add password filter: *password => "***"
|
31
|
+
Logging::LogEvent.add_data_filter(/(password(\e\[0;\d{2}m|\e\[0m|\s|=>|")+\")[^\"]*\"/, '\1***"')
|
32
|
+
|
4
33
|
module HammerCLI
|
5
34
|
module Logger
|
6
35
|
|
data/lib/hammer_cli/settings.rb
CHANGED
@@ -15,9 +15,7 @@ module HammerCLI
|
|
15
15
|
def self.load_from_paths(files)
|
16
16
|
files.reverse.each do |path|
|
17
17
|
full_path = File.expand_path path
|
18
|
-
if File.
|
19
|
-
load_from_file(full_path)
|
20
|
-
elsif File.directory? full_path
|
18
|
+
if File.directory? full_path
|
21
19
|
# check for cli_config.yml
|
22
20
|
load_from_file(File.join(full_path, 'cli_config.yml'))
|
23
21
|
# load config for modules
|
data/lib/hammer_cli/version.rb
CHANGED
Binary file
|
@@ -14,9 +14,9 @@ msgstr ""
|
|
14
14
|
"Project-Id-Version: Foreman\n"
|
15
15
|
"Report-Msgid-Bugs-To: \n"
|
16
16
|
"POT-Creation-Date: 2014-12-10 13:50+0100\n"
|
17
|
-
"PO-Revision-Date: 2015-
|
18
|
-
"Last-Translator:
|
19
|
-
"Language-Team: German (http://www.transifex.com/
|
17
|
+
"PO-Revision-Date: 2015-09-16 12:51+0000\n"
|
18
|
+
"Last-Translator: mbacovsky <martin.bacovsky@gmail.com>\n"
|
19
|
+
"Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
|
20
20
|
"MIME-Version: 1.0\n"
|
21
21
|
"Content-Type: text/plain; charset=UTF-8\n"
|
22
22
|
"Content-Transfer-Encoding: 8bit\n"
|
@@ -29,11 +29,11 @@ msgstr "Zu viele Argumente"
|
|
29
29
|
|
30
30
|
#: lib/hammer_cli/clamp.rb:6
|
31
31
|
msgid "option '%<option>s' is required"
|
32
|
-
msgstr "Option
|
32
|
+
msgstr "Option '%<option>s' ist erforderlich"
|
33
33
|
|
34
34
|
#: lib/hammer_cli/clamp.rb:7
|
35
35
|
msgid "option '%<option>s' (or env %<env>s) is required"
|
36
|
-
msgstr "Option
|
36
|
+
msgstr "Option '%<option>s' (oder Umgebung %<env>s) ist erforderlich"
|
37
37
|
|
38
38
|
#: lib/hammer_cli/clamp.rb:8
|
39
39
|
msgid "option '%<switch>s': %<message>s"
|
@@ -49,11 +49,11 @@ msgstr "%<env>s: %<message>en"
|
|
49
49
|
|
50
50
|
#: lib/hammer_cli/clamp.rb:11
|
51
51
|
msgid "Unrecognised option '%<switch>s'"
|
52
|
-
msgstr "Unbekannte Option
|
52
|
+
msgstr "Unbekannte Option '%<switch>s'"
|
53
53
|
|
54
54
|
#: lib/hammer_cli/clamp.rb:12
|
55
55
|
msgid "No such sub-command '%<name>s'"
|
56
|
-
msgstr "Unterbefehl
|
56
|
+
msgstr "Unterbefehl '%<name>s' existiert nicht"
|
57
57
|
|
58
58
|
#: lib/hammer_cli/clamp.rb:13
|
59
59
|
msgid "no value provided"
|
@@ -69,7 +69,7 @@ msgstr "Standard: "
|
|
69
69
|
|
70
70
|
#: lib/hammer_cli/options/option_definition.rb:69
|
71
71
|
msgid ", or "
|
72
|
-
msgstr "
|
72
|
+
msgstr " oder "
|
73
73
|
|
74
74
|
#: lib/hammer_cli/options/normalizers.rb:26
|
75
75
|
msgid "Comma-separated list of key=value."
|
@@ -85,7 +85,7 @@ msgstr "Kommagetrennte Liste von Werten."
|
|
85
85
|
|
86
86
|
#: lib/hammer_cli/options/normalizers.rb:69
|
87
87
|
msgid "One of true/false, yes/no, 1/0."
|
88
|
-
msgstr "
|
88
|
+
msgstr "Optionen sind true/false, yes/no, 1/0."
|
89
89
|
|
90
90
|
#: lib/hammer_cli/options/normalizers.rb:79
|
91
91
|
msgid "value must be one of true/false, yes/no, 1/0"
|
@@ -93,7 +93,7 @@ msgstr "Gültige Werte sind true/false, yes/no, 1/0"
|
|
93
93
|
|
94
94
|
#: lib/hammer_cli/options/normalizers.rb:118
|
95
95
|
msgid "Unable to parse JSON input"
|
96
|
-
msgstr "JSON
|
96
|
+
msgstr "JSON-Eingabe nicht analysierbar"
|
97
97
|
|
98
98
|
#: lib/hammer_cli/options/normalizers.rb:131
|
99
99
|
msgid "One of %s"
|
@@ -113,7 +113,7 @@ msgstr "'%s' ist kein gültiges Datum."
|
|
113
113
|
|
114
114
|
#: lib/hammer_cli/options/normalizers.rb:175
|
115
115
|
msgid "Any combination (comma separated list) of '%s'"
|
116
|
-
msgstr "Eine Kombination (kommagetrennte Liste) aus
|
116
|
+
msgstr "Eine Kombination (kommagetrennte Liste) aus '%s'"
|
117
117
|
|
118
118
|
#: lib/hammer_cli/options/normalizers.rb:195
|
119
119
|
msgid "value must be a combination of '%s'"
|
@@ -137,7 +137,7 @@ msgstr "Debugausgabe anzeigen"
|
|
137
137
|
|
138
138
|
#: lib/hammer_cli/main.rb:9
|
139
139
|
msgid "force reload of Apipie cache"
|
140
|
-
msgstr "Neuladen
|
140
|
+
msgstr "Neuladen von Apipie-Cache erzwingen"
|
141
141
|
|
142
142
|
#: lib/hammer_cli/main.rb:11
|
143
143
|
msgid "path to custom config file"
|
@@ -173,7 +173,7 @@ msgstr "Ausgabe als CSV (entspricht --output=csv)"
|
|
173
173
|
|
174
174
|
#: lib/hammer_cli/main.rb:36
|
175
175
|
msgid "Set output format. One of [%s]"
|
176
|
-
msgstr "Ausgabeformat festlegen.
|
176
|
+
msgstr "Ausgabeformat festlegen. Optionen sind [%s]"
|
177
177
|
|
178
178
|
#: lib/hammer_cli/main.rb:39
|
179
179
|
msgid "Character to separate the values"
|
@@ -201,7 +201,7 @@ msgstr "Warnung: Beim Laden von Modul %s ist ein Fehler aufgetreten"
|
|
201
201
|
|
202
202
|
#: lib/hammer_cli/modules.rb:87
|
203
203
|
msgid "Error: Some of the required modules are disabled in configuration: %s "
|
204
|
-
msgstr "Fehler: Einige der erforderlichen Module sind in der Konfiguration deaktiviert: %s"
|
204
|
+
msgstr "Fehler: Einige der erforderlichen Module sind in der Konfiguration deaktiviert: %s "
|
205
205
|
|
206
206
|
#: lib/hammer_cli/exception_handler.rb:62
|
207
207
|
msgid "Error: %s"
|
@@ -231,11 +231,11 @@ msgstr "ist der Server nicht verfügbar?"
|
|
231
231
|
msgid ""
|
232
232
|
"was '%s' run on the server when using apipie cache? (typical production "
|
233
233
|
"settings)"
|
234
|
-
msgstr "
|
234
|
+
msgstr "lief '%s' auf dem Server, als apipie-Cache verwendet wurde? (typische Produktionseinstellungen)"
|
235
235
|
|
236
236
|
#: lib/hammer_cli/exception_handler.rb:101
|
237
237
|
msgid "Missing arguments for %s"
|
238
|
-
msgstr "Argumente für %s
|
238
|
+
msgstr "Fehlende Argumente für %s"
|
239
239
|
|
240
240
|
#: lib/hammer_cli/validator.rb:41
|
241
241
|
msgid "Unknown option name '%s'"
|
@@ -243,7 +243,7 @@ msgstr "Unbekannter Optionsname '%s'"
|
|
243
243
|
|
244
244
|
#: lib/hammer_cli/validator.rb:62
|
245
245
|
msgid "You can't set all options %s at one time"
|
246
|
-
msgstr "Nicht alle Optionen %s sind gleichzeitig
|
246
|
+
msgstr "Nicht alle Optionen %s sind gleichzeitig verwendbar"
|
247
247
|
|
248
248
|
#: lib/hammer_cli/validator.rb:63
|
249
249
|
msgid "Options %s are required"
|
@@ -259,11 +259,11 @@ msgstr "Mindestens eine der Optionen %s ist erforderlich"
|
|
259
259
|
|
260
260
|
#: lib/hammer_cli/output/adapter/csv.rb:174
|
261
261
|
msgid "Message"
|
262
|
-
msgstr "
|
262
|
+
msgstr "Nachricht"
|
263
263
|
|
264
264
|
#: lib/hammer_cli/output/adapter/csv.rb:178
|
265
265
|
msgid "Id"
|
266
|
-
msgstr "
|
266
|
+
msgstr "ID"
|
267
267
|
|
268
268
|
#: lib/hammer_cli/output/adapter/csv.rb:183
|
269
269
|
msgid "Name"
|
@@ -279,7 +279,7 @@ msgstr "ja"
|
|
279
279
|
|
280
280
|
#: lib/hammer_cli/shell.rb:10
|
281
281
|
msgid "Print help for commands"
|
282
|
-
msgstr "Hilfe anzeigen"
|
282
|
+
msgstr "Hilfe für Befehle anzeigen"
|
283
283
|
|
284
284
|
#: lib/hammer_cli/shell.rb:22
|
285
285
|
msgid "Exit interactive shell"
|
@@ -291,7 +291,7 @@ msgstr "Willkommen zur interaktiven Hammer-Shell"
|
|
291
291
|
|
292
292
|
#: lib/hammer_cli/shell.rb:117
|
293
293
|
msgid "Type 'help' for usage information"
|
294
|
-
msgstr "Geben Sie
|
294
|
+
msgstr "Geben Sie 'help' ein, um Informationen zur Verwendung zu erhalten"
|
295
295
|
|
296
296
|
#: lib/hammer_cli/shell.rb:133
|
297
297
|
msgid "Interactive shell"
|
data/locale/de/hammer-cli.po
CHANGED
@@ -8,28 +8,31 @@
|
|
8
8
|
# simon11 <simon.stieger.98@live.de>, 2014
|
9
9
|
# simon11 <simon.stieger.98@live.de>, 2014
|
10
10
|
# Ulrich Habel <rhaen@pkgbox.de>, 2014
|
11
|
+
# bkearney <bkearney@redhat.com>, 2015. #zanata
|
12
|
+
# hpeters <hpeters@redhat.com>, 2015. #zanata
|
11
13
|
msgid ""
|
12
14
|
msgstr ""
|
13
|
-
"Project-Id-Version: hammer-cli 0.
|
15
|
+
"Project-Id-Version: hammer-cli 0.4.0\n"
|
14
16
|
"Report-Msgid-Bugs-To: \n"
|
15
|
-
"PO-Revision-Date:
|
16
|
-
"Last-Translator:
|
17
|
+
"PO-Revision-Date: 2015-04-27 11:50+0000\n"
|
18
|
+
"Last-Translator: hpeters <hpeters@redhat.com>\n"
|
17
19
|
"Language-Team: German (http://www.transifex.com/projects/p/foreman/language/de"
|
18
20
|
"/)\n"
|
21
|
+
"Language: de\n"
|
19
22
|
"MIME-Version: 1.0\n"
|
20
23
|
"Content-Type: text/plain; charset=UTF-8\n"
|
21
24
|
"Content-Transfer-Encoding: 8bit\n"
|
22
|
-
"Language: de\n"
|
23
25
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
26
|
+
"X-Generator: Zanata 3.6.0\n"
|
24
27
|
|
25
28
|
msgid "too many arguments"
|
26
29
|
msgstr "Zu viele Argumente"
|
27
30
|
|
28
31
|
msgid "option '%<option>s' is required"
|
29
|
-
msgstr "Option
|
32
|
+
msgstr "Option '%<option>s' ist erforderlich"
|
30
33
|
|
31
34
|
msgid "option '%<option>s' (or env %<env>s) is required"
|
32
|
-
msgstr "Option
|
35
|
+
msgstr "Option '%<option>s' (oder Umgebung %<env>s) ist erforderlich"
|
33
36
|
|
34
37
|
msgid "option '%<switch>s': %<message>s"
|
35
38
|
msgstr "Option '%<switch>s': %<message>en"
|
@@ -41,10 +44,10 @@ msgid "%<env>s: %<message>s"
|
|
41
44
|
msgstr "%<env>s: %<message>en"
|
42
45
|
|
43
46
|
msgid "Unrecognised option '%<switch>s'"
|
44
|
-
msgstr "Unbekannte Option
|
47
|
+
msgstr "Unbekannte Option '%<switch>s'"
|
45
48
|
|
46
49
|
msgid "No such sub-command '%<name>s'"
|
47
|
-
msgstr "Unterbefehl
|
50
|
+
msgstr "Unterbefehl '%<name>s' existiert nicht"
|
48
51
|
|
49
52
|
msgid "no value provided"
|
50
53
|
msgstr "kein Wert geliefert"
|
@@ -71,9 +74,11 @@ msgid ""
|
|
71
74
|
"was '%s' run on the server when using apipie cache? (typical production settin"
|
72
75
|
"gs)"
|
73
76
|
msgstr ""
|
77
|
+
"lief '%s' auf dem Server, als apipie-Cache verwendet wurde? (typische Produkti"
|
78
|
+
"onseinstellungen)"
|
74
79
|
|
75
80
|
msgid "Missing arguments for %s"
|
76
|
-
msgstr ""
|
81
|
+
msgstr "Fehlende Argumente für %s"
|
77
82
|
|
78
83
|
msgid "No permissions to create log dir %s"
|
79
84
|
msgstr "Keine Berechtigung zum Anlegen von Protokollverzeichnis %s"
|
@@ -88,7 +93,7 @@ msgid "show debugging output "
|
|
88
93
|
msgstr "Debugausgabe anzeigen"
|
89
94
|
|
90
95
|
msgid "force reload of Apipie cache"
|
91
|
-
msgstr ""
|
96
|
+
msgstr "Neuladen von Apipie-Cache erzwingen"
|
92
97
|
|
93
98
|
msgid "path to custom config file"
|
94
99
|
msgstr "Pfad zur angepassten Konfigurationsdatei"
|
@@ -105,9 +110,8 @@ msgstr "Adresse des entfernten Systems"
|
|
105
110
|
msgid "show version"
|
106
111
|
msgstr "Version anzeigen"
|
107
112
|
|
108
|
-
#, fuzzy
|
109
113
|
msgid "unknown version"
|
110
|
-
msgstr "Version
|
114
|
+
msgstr "unbekannte Version"
|
111
115
|
|
112
116
|
msgid "Show ids of associated resources"
|
113
117
|
msgstr "IDs zugehöriger Ressourcen anzeigen"
|
@@ -119,7 +123,7 @@ msgid "Output as CSV (same as --output=csv)"
|
|
119
123
|
msgstr "Ausgabe als CSV (entspricht --output=csv)"
|
120
124
|
|
121
125
|
msgid "Set output format. One of [%s]"
|
122
|
-
msgstr "Ausgabeformat festlegen.
|
126
|
+
msgstr "Ausgabeformat festlegen. Optionen sind [%s]"
|
123
127
|
|
124
128
|
msgid "Character to separate the values"
|
125
129
|
msgstr "Trennzeichen"
|
@@ -139,6 +143,8 @@ msgstr "Warnung: Beim Laden von Modul %s ist ein Fehler aufgetreten"
|
|
139
143
|
|
140
144
|
msgid "Error: Some of the required modules are disabled in configuration: %s "
|
141
145
|
msgstr ""
|
146
|
+
"Fehler: Einige der erforderlichen Module sind in der Konfiguration deaktiviert"
|
147
|
+
": %s "
|
142
148
|
|
143
149
|
msgid "Comma-separated list of key=value."
|
144
150
|
msgstr "Kommagetrennte Liste mit Schlüssel-Wert-Paaren."
|
@@ -153,24 +159,24 @@ msgid "numeric value is required"
|
|
153
159
|
msgstr ""
|
154
160
|
|
155
161
|
msgid "One of true/false, yes/no, 1/0."
|
156
|
-
msgstr "
|
162
|
+
msgstr "Optionen sind true/false, yes/no, 1/0."
|
157
163
|
|
158
164
|
msgid "value must be one of true/false, yes/no, 1/0"
|
159
165
|
msgstr "Gültige Werte sind true/false, yes/no, 1/0"
|
160
166
|
|
161
167
|
msgid "Unable to parse JSON input"
|
162
|
-
msgstr "JSON
|
168
|
+
msgstr "JSON-Eingabe nicht analysierbar"
|
163
169
|
|
164
170
|
msgid "Possible value(s): %s"
|
165
171
|
msgstr ""
|
166
172
|
|
167
173
|
#, fuzzy
|
168
174
|
msgid "value must be %s"
|
169
|
-
msgstr "Gültige Werte sind
|
175
|
+
msgstr "Gültige Werte sind '%s'"
|
170
176
|
|
171
177
|
#, fuzzy
|
172
178
|
msgid "value must be one of %s"
|
173
|
-
msgstr "Gültige Werte sind
|
179
|
+
msgstr "Gültige Werte sind '%s'"
|
174
180
|
|
175
181
|
msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
|
176
182
|
msgstr "Datum und Uhrzeit im Format JJJJ-MM-TT HH:MM:SS oder ISO-8601-Format"
|
@@ -179,7 +185,7 @@ msgid "'%s' is not a valid date"
|
|
179
185
|
msgstr "'%s' ist kein gültiges Datum."
|
180
186
|
|
181
187
|
msgid "Any combination (comma separated list) of '%s'"
|
182
|
-
msgstr "Eine Kombination (kommagetrennte Liste) aus
|
188
|
+
msgstr "Eine Kombination (kommagetrennte Liste) aus '%s'"
|
183
189
|
|
184
190
|
msgid "value must be a combination of '%s'"
|
185
191
|
msgstr "Wert muss eine Kombination aus \"%s\" sein"
|
@@ -191,16 +197,16 @@ msgid "Can be specified multiple times. "
|
|
191
197
|
msgstr "Kann mehrfach angegeben werden."
|
192
198
|
|
193
199
|
msgid ", or "
|
194
|
-
msgstr "
|
200
|
+
msgstr " oder "
|
195
201
|
|
196
202
|
msgid "Default: "
|
197
203
|
msgstr "Standard: "
|
198
204
|
|
199
205
|
msgid "Message"
|
200
|
-
msgstr "
|
206
|
+
msgstr "Nachricht"
|
201
207
|
|
202
208
|
msgid "Id"
|
203
|
-
msgstr "
|
209
|
+
msgstr "ID"
|
204
210
|
|
205
211
|
msgid "Name"
|
206
212
|
msgstr "Name"
|
@@ -219,7 +225,7 @@ msgstr ""
|
|
219
225
|
"figurationen nach cli.modules.d"
|
220
226
|
|
221
227
|
msgid "Print help for commands"
|
222
|
-
msgstr "Hilfe anzeigen"
|
228
|
+
msgstr "Hilfe für Befehle anzeigen"
|
223
229
|
|
224
230
|
msgid "Exit interactive shell"
|
225
231
|
msgstr "Interaktive Shell verlassen"
|
@@ -228,7 +234,7 @@ msgid "Welcome to the hammer interactive shell"
|
|
228
234
|
msgstr "Willkommen zur interaktiven Hammer-Shell"
|
229
235
|
|
230
236
|
msgid "Type 'help' for usage information"
|
231
|
-
msgstr "Geben Sie
|
237
|
+
msgstr "Geben Sie 'help' ein, um Informationen zur Verwendung zu erhalten"
|
232
238
|
|
233
239
|
msgid "Interactive shell"
|
234
240
|
msgstr "Interaktive Shell"
|
@@ -237,12 +243,14 @@ msgid ""
|
|
237
243
|
"can't replace subcommand %<name>s (%<existing_class>s) with %<name>s (%<new_cl"
|
238
244
|
"ass>s)"
|
239
245
|
msgstr ""
|
246
|
+
"Unterbefehl %<name>s (%<existing_class>s) kann nicht durch %<name>s (%<new_cla"
|
247
|
+
"ss>s) ersetzt werden"
|
240
248
|
|
241
249
|
msgid "Unknown option name '%s'"
|
242
250
|
msgstr "Unbekannter Optionsname '%s'"
|
243
251
|
|
244
252
|
msgid "You can't set all options %s at one time"
|
245
|
-
msgstr "Nicht alle Optionen %s sind gleichzeitig
|
253
|
+
msgstr "Nicht alle Optionen %s sind gleichzeitig verwendbar"
|
246
254
|
|
247
255
|
msgid "Options %s are required"
|
248
256
|
msgstr "Optionen %s sind erforderlich"
|
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.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"
|
@@ -84,11 +84,11 @@ msgstr ""
|
|
84
84
|
msgid "Missing arguments for %s"
|
85
85
|
msgstr ""
|
86
86
|
|
87
|
-
#: ../lib/hammer_cli/logger.rb:
|
87
|
+
#: ../lib/hammer_cli/logger.rb:57
|
88
88
|
msgid "No permissions to create log dir %s"
|
89
89
|
msgstr ""
|
90
90
|
|
91
|
-
#: ../lib/hammer_cli/logger.rb:
|
91
|
+
#: ../lib/hammer_cli/logger.rb:72
|
92
92
|
msgid "File %s not writeable, won't log anything to the file!"
|
93
93
|
msgstr ""
|
94
94
|
|
@@ -256,7 +256,7 @@ msgstr ""
|
|
256
256
|
msgid "yes"
|
257
257
|
msgstr ""
|
258
258
|
|
259
|
-
#: ../lib/hammer_cli/settings.rb:
|
259
|
+
#: ../lib/hammer_cli/settings.rb:26
|
260
260
|
msgid "Warning: location hammer.modules.d is deprecated, move your module configurations to cli.modules.d"
|
261
261
|
msgstr ""
|
262
262
|
|
data/locale/en/hammer-cli.po
CHANGED
Binary file
|