hammer_cli 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -6
- data/doc/developer_docs.md +3 -0
- data/doc/release_notes.md +14 -0
- data/lib/hammer_cli/abstract.rb +4 -2
- data/lib/hammer_cli/i18n.rb +3 -8
- data/lib/hammer_cli/main.rb +1 -1
- data/lib/hammer_cli/options/normalizers.rb +18 -2
- data/lib/hammer_cli/output/dsl.rb +1 -2
- data/lib/hammer_cli/output/fields.rb +9 -0
- data/lib/hammer_cli/version.rb +1 -1
- data/locale/Makefile +9 -17
- data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/de/hammer-cli.edit.po +303 -0
- data/locale/de/hammer-cli.po +114 -171
- data/locale/de/hammer-cli.po.time_stamp +0 -0
- data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/en/hammer-cli.edit.po +290 -0
- data/locale/en/hammer-cli.po +98 -96
- data/locale/en/hammer-cli.po.time_stamp +0 -0
- data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/en_GB/hammer-cli.edit.po +298 -0
- data/locale/en_GB/hammer-cli.po +77 -138
- data/locale/en_GB/hammer-cli.po.time_stamp +0 -0
- data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/es/hammer-cli.edit.po +301 -0
- data/locale/es/hammer-cli.po +122 -173
- data/locale/es/hammer-cli.po.time_stamp +0 -0
- data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/fr/hammer-cli.edit.po +301 -0
- data/locale/fr/hammer-cli.po +122 -173
- data/locale/fr/hammer-cli.po.time_stamp +0 -0
- data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/it/hammer-cli.edit.po +300 -0
- data/locale/it/hammer-cli.po +117 -172
- data/locale/it/hammer-cli.po.time_stamp +0 -0
- data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ja/hammer-cli.edit.po +299 -0
- data/locale/ja/hammer-cli.po +110 -171
- data/locale/ja/hammer-cli.po.time_stamp +0 -0
- data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ko/hammer-cli.edit.po +299 -0
- data/locale/ko/hammer-cli.po +110 -171
- data/locale/ko/hammer-cli.po.time_stamp +0 -0
- data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/pt_BR/hammer-cli.edit.po +301 -0
- data/locale/pt_BR/hammer-cli.po +114 -171
- data/locale/pt_BR/hammer-cli.po.time_stamp +0 -0
- data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ru/hammer-cli.edit.po +300 -0
- data/locale/ru/hammer-cli.po +116 -172
- data/locale/ru/hammer-cli.po.time_stamp +0 -0
- data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/zh_CN/hammer-cli.edit.po +299 -0
- data/locale/zh_CN/hammer-cli.po +110 -171
- data/locale/zh_CN/hammer-cli.po.time_stamp +0 -0
- data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/zh_TW/hammer-cli.edit.po +299 -0
- data/locale/zh_TW/hammer-cli.po +110 -171
- data/locale/zh_TW/hammer-cli.po.time_stamp +0 -0
- data/test/unit/options/normalizers_test.rb +28 -0
- data/test/unit/output/fields_test.rb +60 -0
- metadata +38 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9027b34462e30b995c85afac2a0c61eb4dee544f
|
4
|
+
data.tar.gz: 51aeab33dc28f1242992eccc6feca4a5a5895411
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61d84ed050de0079e88d80ae2f4a4b94e136f061d1a041c631ebe043ec4ff776b4a63713ce415ebd2b15d87aaf86a243a895610baa0d04c89d8385c625b59e44
|
7
|
+
data.tar.gz: 42882c180f2e21aad6cf99a8a784d8e9be6439caa6a82e77dc7007227861c95fae4715cdbe52de2dfdae46c54b4e9cc56aa7d3419f6bcde505c2ff770b302759
|
data/README.md
CHANGED
@@ -4,13 +4,9 @@ Hammer - the CLI tool (not only) for Foreman
|
|
4
4
|
Hammer is a generic [clamp-based](https://github.com/mdub/clamp) CLI framework.
|
5
5
|
Hammer-cli provides just the core functionality. The core is extensible using plugins that contain application-specific commands.
|
6
6
|
|
7
|
-
This architecture allows for easy customization according to your application. Nearly any Ruby script can be turned into a Hammer command, so the possibilities are endless.
|
7
|
+
This architecture allows for easy customization according to your application. Nearly any Ruby script can be turned into a Hammer command, so the possibilities are endless. You also can easily add custom commands for your specific use, such as bulk actions or admin tasks.
|
8
8
|
|
9
|
-
Available plugins are
|
10
|
-
- [hammer-cli-foreman](https://github.com/theforeman/hammer-cli-foreman) - commands corresponding to Foreman API
|
11
|
-
- [hammer-cli-katello](https://github.com/theforeman/hammer-cli-katello) - commands for managing Katello
|
12
|
-
|
13
|
-
You also can easily add custom commands for your specific use, such as bulk actions or admin tasks.
|
9
|
+
Available plugins are listed on [the Foreman's wiki](http://projects.theforeman.org/projects/hammer-cli/wiki/List_of_Plugins).
|
14
10
|
|
15
11
|
Check out the [release notes](doc/release_notes.md#release-notes) to see what's new in the latest version.
|
16
12
|
|
data/doc/developer_docs.md
CHANGED
@@ -13,3 +13,6 @@ Contents:
|
|
13
13
|
- [Development tips](development_tips.md#development-tips)
|
14
14
|
- [Option normalizers](option_normalizers.md#option-normalizers)
|
15
15
|
- [Internationalization](i18n.md#internationalization)
|
16
|
+
|
17
|
+
Links:
|
18
|
+
- slides from tutorial at Config Management Camp 2015: [Hacking with hammer](https://tstrachota.fedorapeople.org/slides/hacking_with_hammer/)
|
data/doc/release_notes.md
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
Release notes
|
2
2
|
=============
|
3
3
|
|
4
|
+
### 0.2.0 (2015-04-23)
|
5
|
+
* Rubygem locale pined to version >= 2.0.6 ([#10154](http://projects.theforeman.org/issues/10154))
|
6
|
+
* Restricted logging version as in 2.0.0 ruby 1.8.7 support was dropped
|
7
|
+
* Allow :hide_blank for labels ([#9925](http://projects.theforeman.org/issues/9925))
|
8
|
+
* Only initialise text domains that have files in the dir ([#9648](http://projects.theforeman.org/issues/9648))
|
9
|
+
* Version fails with error ([#9742](http://projects.theforeman.org/issues/9742))
|
10
|
+
* Ignore spaces in key value formatting ([#9721](http://projects.theforeman.org/issues/9721))
|
11
|
+
* Fixing warning of already initialized constant ([#9714](http://projects.theforeman.org/issues/9714))
|
12
|
+
* Highline pinned to < 1.7 ([#9507](http://projects.theforeman.org/issues/9507))
|
13
|
+
* Docs - link to slides from cfgmgmt camp
|
14
|
+
* Update to gettext 3.x, unpin locale ([#8980](http://projects.theforeman.org/issues/8980))
|
15
|
+
* Docs - link to available plugins listed on external wiki.
|
16
|
+
|
17
|
+
|
4
18
|
### 0.1.4 (2014-12-10)
|
5
19
|
* hammer-cli CSV formatter doesn't properly format values with custom formatters, moving to correct implementation ([#8569](http://projects.theforeman.org/issues/8569))
|
6
20
|
* added support for dependeces among modules ([#7566](http://projects.theforeman.org/issues/7566))
|
data/lib/hammer_cli/abstract.rb
CHANGED
@@ -65,7 +65,9 @@ module HammerCLI
|
|
65
65
|
|
66
66
|
class SortedBuilder < Clamp::Help::Builder
|
67
67
|
|
68
|
-
|
68
|
+
def default_label_indent
|
69
|
+
29
|
70
|
+
end
|
69
71
|
|
70
72
|
def add_list(heading, items)
|
71
73
|
items.sort! do |a, b|
|
@@ -74,7 +76,7 @@ module HammerCLI
|
|
74
76
|
|
75
77
|
puts "\n#{heading}:"
|
76
78
|
|
77
|
-
label_width =
|
79
|
+
label_width = default_label_indent
|
78
80
|
items.each do |item|
|
79
81
|
label, description = item.help
|
80
82
|
label_width = label.size if label.size > label_width
|
data/lib/hammer_cli/i18n.rb
CHANGED
@@ -79,7 +79,7 @@ module HammerCLI
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def available?
|
82
|
-
File.
|
82
|
+
Dir[File.join(locale_dir, '**', "#{domain_name}.#{type}")].any?
|
83
83
|
end
|
84
84
|
|
85
85
|
attr_reader :locale_dir, :domain_name
|
@@ -108,10 +108,6 @@ module HammerCLI
|
|
108
108
|
'/usr/share/locale'
|
109
109
|
end
|
110
110
|
|
111
|
-
def domain_name
|
112
|
-
"#{super}@system"
|
113
|
-
end
|
114
|
-
|
115
111
|
end
|
116
112
|
|
117
113
|
|
@@ -156,6 +152,5 @@ end
|
|
156
152
|
include FastGettext::Translation
|
157
153
|
include HammerCLI::I18n::AllDomains
|
158
154
|
|
159
|
-
HammerCLI::I18n.
|
160
|
-
HammerCLI::I18n.add_domain(
|
161
|
-
|
155
|
+
domain = [HammerCLI::I18n::LocaleDomain.new, HammerCLI::I18n::SystemLocaleDomain.new].find { |d| d.available? }
|
156
|
+
HammerCLI::I18n.add_domain(domain) if domain
|
data/lib/hammer_cli/main.rb
CHANGED
@@ -20,7 +20,7 @@ module HammerCLI
|
|
20
20
|
option "--version", :flag, _("show version") do
|
21
21
|
puts "hammer (%s)" % HammerCLI.version
|
22
22
|
HammerCLI::Modules.names.each do |m|
|
23
|
-
module_version = HammerCLI::Modules.find_by_name(m).version
|
23
|
+
module_version = HammerCLI::Modules.find_by_name(m).version rescue _("unknown version")
|
24
24
|
puts " * #{m} (#{module_version})"
|
25
25
|
end
|
26
26
|
exit(HammerCLI::EX_OK)
|
@@ -32,7 +32,7 @@ module HammerCLI
|
|
32
32
|
|
33
33
|
result = {}
|
34
34
|
|
35
|
-
pair_re = '([
|
35
|
+
pair_re = '([^,=]+)=([^,\[]+|\[[^\[\]]*\])'
|
36
36
|
full_re = "^((%s)[,]?)+$" % pair_re
|
37
37
|
|
38
38
|
unless Regexp.new(full_re).match(val)
|
@@ -43,10 +43,26 @@ module HammerCLI
|
|
43
43
|
value = value.strip
|
44
44
|
value = value.scan(/[^,\[\]]+/) if value.start_with?('[')
|
45
45
|
|
46
|
-
result[key.strip]=value
|
46
|
+
result[key.strip] = strip_value(value)
|
47
47
|
end
|
48
48
|
return result
|
49
|
+
end
|
50
|
+
|
51
|
+
private
|
52
|
+
|
53
|
+
def strip_value(value)
|
54
|
+
if value.is_a? Array
|
55
|
+
value.map do |item|
|
56
|
+
strip_chars(item.strip, '"\'')
|
57
|
+
end
|
58
|
+
else
|
59
|
+
strip_chars(value.strip, '"\'')
|
60
|
+
end
|
61
|
+
end
|
49
62
|
|
63
|
+
def strip_chars(string, chars)
|
64
|
+
chars = Regexp.escape(chars)
|
65
|
+
string.gsub(/\A[#{chars}]+|[#{chars}]+\z/, '')
|
50
66
|
end
|
51
67
|
end
|
52
68
|
|
@@ -30,8 +30,7 @@ module HammerCLI::Output
|
|
30
30
|
self.fields << type.new(options, &block)
|
31
31
|
end
|
32
32
|
|
33
|
-
def label(label, &block)
|
34
|
-
options = {}
|
33
|
+
def label(label, options={}, &block)
|
35
34
|
options[:path] = current_path.clone
|
36
35
|
options[:label] = label
|
37
36
|
custom_field Fields::Label, options, &block
|
@@ -81,6 +81,15 @@ module Fields
|
|
81
81
|
end
|
82
82
|
|
83
83
|
class Label < ContainerField
|
84
|
+
|
85
|
+
def display?(value)
|
86
|
+
return true if not hide_blank?
|
87
|
+
|
88
|
+
fields.any? do |f|
|
89
|
+
f.display?(HammerCLI::Output::Adapter::Abstract.data_for_field(f, value))
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
84
93
|
end
|
85
94
|
|
86
95
|
class Collection < ContainerField
|
data/lib/hammer_cli/version.rb
CHANGED
data/locale/Makefile
CHANGED
@@ -10,9 +10,10 @@ DOMAIN = hammer-cli
|
|
10
10
|
VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load("../hammer_cli.gemspec");puts spec.version')
|
11
11
|
POTFILE = $(DOMAIN).pot
|
12
12
|
MOFILE = $(DOMAIN).mo
|
13
|
-
POFILES = $(shell find . -name '
|
13
|
+
POFILES = $(shell find . -name '$(DOMAIN).po')
|
14
14
|
MOFILES = $(patsubst %.po,%.mo,$(POFILES))
|
15
15
|
POXFILES = $(patsubst %.po,%.pox,$(POFILES))
|
16
|
+
EDITFILES = $(patsubst %.po,%.edit.po,$(POFILES))
|
16
17
|
|
17
18
|
%.mo: %.po
|
18
19
|
mkdir -p $(shell dirname $@)/LC_MESSAGES
|
@@ -30,13 +31,6 @@ all-mo: $(MOFILES)
|
|
30
31
|
! grep -q msgid $@
|
31
32
|
|
32
33
|
check: $(POXFILES)
|
33
|
-
msgfmt -c ${POTFILE}
|
34
|
-
|
35
|
-
# Merge PO files
|
36
|
-
update-po:
|
37
|
-
for f in $(shell find ./ -name "*.po") ; do \
|
38
|
-
msgmerge -N --backup=none -U $$f ${POTFILE} ; \
|
39
|
-
done
|
40
34
|
|
41
35
|
# Unify duplicate translations
|
42
36
|
uniq-po:
|
@@ -44,22 +38,20 @@ uniq-po:
|
|
44
38
|
msguniq $$f -o $$f ; \
|
45
39
|
done
|
46
40
|
|
47
|
-
tx-pull:
|
41
|
+
tx-pull: $(EDITFILES)
|
48
42
|
tx pull -f
|
49
43
|
for f in $(POFILES) ; do \
|
50
44
|
sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
|
51
45
|
done
|
52
|
-
-git commit -a -m "i18n - extracting new, pulling from tx"
|
53
46
|
|
47
|
+
# Extract strings and update the .pot, prepare .edit.po files
|
54
48
|
extract-strings:
|
55
49
|
bundle exec rake gettext:find
|
56
50
|
|
57
|
-
|
58
|
-
|
59
|
-
|
51
|
+
# Merge .edit.po into .po
|
52
|
+
update-po:
|
53
|
+
bundle exec rake gettext:find
|
60
54
|
|
61
|
-
tx-update:
|
62
|
-
|
63
|
-
git add ../locale/*/LC_MESSAGES
|
64
|
-
git commit -a --amend -m "i18n - extracting new, pulling from tx"
|
55
|
+
tx-update: extract-strings tx-pull $(MOFILES)
|
56
|
+
git commit -m "i18n - extracting new, pulling from tx" ../locale
|
65
57
|
-echo Changes commited!
|
Binary file
|
@@ -0,0 +1,303 @@
|
|
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
|
+
# Dominic Cleal <dcleal@redhat.com>, 2014
|
7
|
+
# Ettore Atalan <atalanttore@googlemail.com>, 2014
|
8
|
+
# simon11 <simon.stieger.98@live.de>, 2014
|
9
|
+
# simon11 <simon.stieger.98@live.de>, 2014
|
10
|
+
# Ulrich Habel <rhaen@pkgbox.de>, 2014
|
11
|
+
msgid ""
|
12
|
+
msgstr ""
|
13
|
+
"Project-Id-Version: Foreman\n"
|
14
|
+
"Report-Msgid-Bugs-To: \n"
|
15
|
+
"POT-Creation-Date: 2014-12-10 13:50+0100\n"
|
16
|
+
"PO-Revision-Date: 2015-03-09 14:42+0000\n"
|
17
|
+
"Last-Translator: Lukáš Zapletal\n"
|
18
|
+
"Language-Team: German (http://www.transifex.com/projects/p/foreman/language/de/)\n"
|
19
|
+
"MIME-Version: 1.0\n"
|
20
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
21
|
+
"Content-Transfer-Encoding: 8bit\n"
|
22
|
+
"Language: de\n"
|
23
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
24
|
+
|
25
|
+
#: lib/hammer_cli/clamp.rb:5
|
26
|
+
msgid "too many arguments"
|
27
|
+
msgstr "Zu viele Argumente"
|
28
|
+
|
29
|
+
#: lib/hammer_cli/clamp.rb:6
|
30
|
+
msgid "option '%<option>s' is required"
|
31
|
+
msgstr "Option \"%<option>s\" ist erforderlich"
|
32
|
+
|
33
|
+
#: lib/hammer_cli/clamp.rb:7
|
34
|
+
msgid "option '%<option>s' (or env %<env>s) is required"
|
35
|
+
msgstr "Option \"%<option>s\" (oder Umgebung %<env>s) ist erforderlich"
|
36
|
+
|
37
|
+
#: lib/hammer_cli/clamp.rb:8
|
38
|
+
msgid "option '%<switch>s': %<message>s"
|
39
|
+
msgstr "Option '%<switch>s': %<message>en"
|
40
|
+
|
41
|
+
#: lib/hammer_cli/clamp.rb:9
|
42
|
+
msgid "parameter '%<param>s': %<message>s"
|
43
|
+
msgstr "Parameter '%<param>s': %<message>en"
|
44
|
+
|
45
|
+
#: lib/hammer_cli/clamp.rb:10
|
46
|
+
msgid "%<env>s: %<message>s"
|
47
|
+
msgstr "%<env>s: %<message>en"
|
48
|
+
|
49
|
+
#: lib/hammer_cli/clamp.rb:11
|
50
|
+
msgid "Unrecognised option '%<switch>s'"
|
51
|
+
msgstr "Unbekannte Option \"%<switch>s\""
|
52
|
+
|
53
|
+
#: lib/hammer_cli/clamp.rb:12
|
54
|
+
msgid "No such sub-command '%<name>s'"
|
55
|
+
msgstr "Unterbefehl \"%<name>s\" existiert nicht"
|
56
|
+
|
57
|
+
#: lib/hammer_cli/clamp.rb:13
|
58
|
+
msgid "no value provided"
|
59
|
+
msgstr "kein Wert geliefert"
|
60
|
+
|
61
|
+
#: lib/hammer_cli/options/option_definition.rb:68
|
62
|
+
msgid "Can be specified multiple times. "
|
63
|
+
msgstr "Kann mehrfach angegeben werden."
|
64
|
+
|
65
|
+
#: lib/hammer_cli/options/option_definition.rb:69
|
66
|
+
msgid "Default: "
|
67
|
+
msgstr "Standard: "
|
68
|
+
|
69
|
+
#: lib/hammer_cli/options/option_definition.rb:69
|
70
|
+
msgid ", or "
|
71
|
+
msgstr ", oder "
|
72
|
+
|
73
|
+
#: lib/hammer_cli/options/normalizers.rb:26
|
74
|
+
msgid "Comma-separated list of key=value."
|
75
|
+
msgstr "Kommagetrennte Liste mit Schlüssel-Wert-Paaren."
|
76
|
+
|
77
|
+
#: lib/hammer_cli/options/normalizers.rb:39
|
78
|
+
msgid "value must be defined as a comma-separated list of key=value"
|
79
|
+
msgstr "Wert muss als kommagetrennte Liste mit Schlüssel-Wert-Paaren definiert sein"
|
80
|
+
|
81
|
+
#: lib/hammer_cli/options/normalizers.rb:57
|
82
|
+
msgid "Comma separated list of values."
|
83
|
+
msgstr "Kommagetrennte Liste von Werten."
|
84
|
+
|
85
|
+
#: lib/hammer_cli/options/normalizers.rb:69
|
86
|
+
msgid "One of true/false, yes/no, 1/0."
|
87
|
+
msgstr "Eines von true/false, yes/no, 1/0."
|
88
|
+
|
89
|
+
#: lib/hammer_cli/options/normalizers.rb:79
|
90
|
+
msgid "value must be one of true/false, yes/no, 1/0"
|
91
|
+
msgstr "Gültige Werte sind true/false, yes/no, 1/0"
|
92
|
+
|
93
|
+
#: lib/hammer_cli/options/normalizers.rb:118
|
94
|
+
msgid "Unable to parse JSON input"
|
95
|
+
msgstr "JSON Eingabe nicht lesbar"
|
96
|
+
|
97
|
+
#: lib/hammer_cli/options/normalizers.rb:131
|
98
|
+
msgid "One of %s"
|
99
|
+
msgstr "Einer von %s"
|
100
|
+
|
101
|
+
#: lib/hammer_cli/options/normalizers.rb:138
|
102
|
+
msgid "value must be one of '%s'"
|
103
|
+
msgstr "Gültige Werte sind \"%s\""
|
104
|
+
|
105
|
+
#: lib/hammer_cli/options/normalizers.rb:157
|
106
|
+
msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
|
107
|
+
msgstr "Datum und Uhrzeit im Format JJJJ-MM-TT HH:MM:SS oder ISO-8601-Format"
|
108
|
+
|
109
|
+
#: lib/hammer_cli/options/normalizers.rb:164
|
110
|
+
msgid "'%s' is not a valid date"
|
111
|
+
msgstr "'%s' ist kein gültiges Datum."
|
112
|
+
|
113
|
+
#: lib/hammer_cli/options/normalizers.rb:175
|
114
|
+
msgid "Any combination (comma separated list) of '%s'"
|
115
|
+
msgstr "Eine Kombination (kommagetrennte Liste) aus \"%s\""
|
116
|
+
|
117
|
+
#: lib/hammer_cli/options/normalizers.rb:195
|
118
|
+
msgid "value must be a combination of '%s'"
|
119
|
+
msgstr "Wert muss eine Kombination aus \"%s\" sein"
|
120
|
+
|
121
|
+
#: lib/hammer_cli/logger.rb:28
|
122
|
+
msgid "No permissions to create log dir %s"
|
123
|
+
msgstr "Keine Berechtigung zum Anlegen von Protokollverzeichnis %s"
|
124
|
+
|
125
|
+
#: lib/hammer_cli/logger.rb:43
|
126
|
+
msgid "File %s not writeable, won't log anything to the file!"
|
127
|
+
msgstr "Datei %s ist schreibgeschützt, in diese Datei kann nicht protokolliert werden!"
|
128
|
+
|
129
|
+
#: lib/hammer_cli/main.rb:7
|
130
|
+
msgid "be verbose"
|
131
|
+
msgstr "ausführliche Ausgabe"
|
132
|
+
|
133
|
+
#: lib/hammer_cli/main.rb:8
|
134
|
+
msgid "show debugging output "
|
135
|
+
msgstr "Debugausgabe anzeigen"
|
136
|
+
|
137
|
+
#: lib/hammer_cli/main.rb:9
|
138
|
+
msgid "force reload of Apipie cache"
|
139
|
+
msgstr ""
|
140
|
+
|
141
|
+
#: lib/hammer_cli/main.rb:11
|
142
|
+
msgid "path to custom config file"
|
143
|
+
msgstr "Pfad zur angepassten Konfigurationsdatei"
|
144
|
+
|
145
|
+
#: lib/hammer_cli/main.rb:13
|
146
|
+
msgid "username to access the remote system"
|
147
|
+
msgstr "Benutzername zum Zugriff auf das entfernte System"
|
148
|
+
|
149
|
+
#: lib/hammer_cli/main.rb:15
|
150
|
+
msgid "password to access the remote system"
|
151
|
+
msgstr "Passwort zum Zugriff auf das entfernte System"
|
152
|
+
|
153
|
+
#: lib/hammer_cli/main.rb:17
|
154
|
+
msgid "remote system address"
|
155
|
+
msgstr "Adresse des entfernten Systems"
|
156
|
+
|
157
|
+
#: lib/hammer_cli/main.rb:20
|
158
|
+
msgid "show version"
|
159
|
+
msgstr "Version anzeigen"
|
160
|
+
|
161
|
+
#: lib/hammer_cli/main.rb:29
|
162
|
+
msgid "Show ids of associated resources"
|
163
|
+
msgstr "IDs zugehöriger Ressourcen anzeigen"
|
164
|
+
|
165
|
+
#: lib/hammer_cli/main.rb:31
|
166
|
+
msgid "Explicitly turn interactive mode on/off"
|
167
|
+
msgstr "Interaktiven Modus explizit aktivieren/deaktivieren"
|
168
|
+
|
169
|
+
#: lib/hammer_cli/main.rb:35
|
170
|
+
msgid "Output as CSV (same as --output=csv)"
|
171
|
+
msgstr "Ausgabe als CSV (entspricht --output=csv)"
|
172
|
+
|
173
|
+
#: lib/hammer_cli/main.rb:36
|
174
|
+
msgid "Set output format. One of [%s]"
|
175
|
+
msgstr "Ausgabeformat festlegen. Einer von [%s]"
|
176
|
+
|
177
|
+
#: lib/hammer_cli/main.rb:39
|
178
|
+
msgid "Character to separate the values"
|
179
|
+
msgstr "Trennzeichen"
|
180
|
+
|
181
|
+
#: lib/hammer_cli/main.rb:43
|
182
|
+
msgid "Get list of possible endings"
|
183
|
+
msgstr "Liste möglicher Endungen abrufen"
|
184
|
+
|
185
|
+
#: lib/hammer_cli/settings.rb:28
|
186
|
+
msgid ""
|
187
|
+
"Warning: location hammer.modules.d is deprecated, move your module "
|
188
|
+
"configurations to cli.modules.d"
|
189
|
+
msgstr "Warnung: Speicherort hammer.modules.d ist veraltet, verlegen Sie Ihre Modulkonfigurationen nach cli.modules.d"
|
190
|
+
|
191
|
+
#: lib/hammer_cli/modules.rb:12
|
192
|
+
msgid ""
|
193
|
+
"Legacy configuration of modules detected. Check section about configuration "
|
194
|
+
"in user manual"
|
195
|
+
msgstr "Veraltete Konfiguration von Modulen entdeckt. Prüfen Sie den Abschnitt zum Thema Konfiguration im Benutzerhandbuch"
|
196
|
+
|
197
|
+
#: lib/hammer_cli/modules.rb:60
|
198
|
+
msgid "Warning: An error occured while loading module %s"
|
199
|
+
msgstr "Warnung: Beim Laden von Modul %s ist ein Fehler aufgetreten"
|
200
|
+
|
201
|
+
#: lib/hammer_cli/modules.rb:87
|
202
|
+
msgid "Error: Some of the required modules are disabled in configuration: %s "
|
203
|
+
msgstr ""
|
204
|
+
|
205
|
+
#: lib/hammer_cli/exception_handler.rb:62
|
206
|
+
msgid "Error: %s"
|
207
|
+
msgstr "Fehler: %s"
|
208
|
+
|
209
|
+
#: lib/hammer_cli/exception_handler.rb:68
|
210
|
+
msgid "Error: %{message}"
|
211
|
+
msgstr "Fehler: %{message}"
|
212
|
+
|
213
|
+
#: lib/hammer_cli/exception_handler.rb:69
|
214
|
+
msgid "See: '%{path} --help'"
|
215
|
+
msgstr "Siehe: '%{path} --help'"
|
216
|
+
|
217
|
+
#: lib/hammer_cli/exception_handler.rb:86
|
218
|
+
msgid "Invalid username or password"
|
219
|
+
msgstr "Falscher Benutzername oder falsches Passwort"
|
220
|
+
|
221
|
+
#: lib/hammer_cli/exception_handler.rb:93
|
222
|
+
msgid "Could not load the API description from the server"
|
223
|
+
msgstr "Die API-Beschreibung konnte nicht vom Server geladen werden"
|
224
|
+
|
225
|
+
#: lib/hammer_cli/exception_handler.rb:94
|
226
|
+
msgid "is the server down?"
|
227
|
+
msgstr "ist der Server nicht verfügbar?"
|
228
|
+
|
229
|
+
#: lib/hammer_cli/exception_handler.rb:95
|
230
|
+
msgid ""
|
231
|
+
"was '%s' run on the server when using apipie cache? (typical production "
|
232
|
+
"settings)"
|
233
|
+
msgstr ""
|
234
|
+
|
235
|
+
#: lib/hammer_cli/exception_handler.rb:101
|
236
|
+
msgid "Missing arguments for %s"
|
237
|
+
msgstr ""
|
238
|
+
|
239
|
+
#: lib/hammer_cli/validator.rb:41
|
240
|
+
msgid "Unknown option name '%s'"
|
241
|
+
msgstr "Unbekannter Optionsname '%s'"
|
242
|
+
|
243
|
+
#: lib/hammer_cli/validator.rb:62
|
244
|
+
msgid "You can't set all options %s at one time"
|
245
|
+
msgstr "Nicht alle Optionen %s sind gleichzeitig setzbar"
|
246
|
+
|
247
|
+
#: lib/hammer_cli/validator.rb:63
|
248
|
+
msgid "Options %s are required"
|
249
|
+
msgstr "Optionen %s sind erforderlich"
|
250
|
+
|
251
|
+
#: lib/hammer_cli/validator.rb:79
|
252
|
+
msgid "You can't set any of options %s"
|
253
|
+
msgstr "Sie können keine der Optionen %s festlegen"
|
254
|
+
|
255
|
+
#: lib/hammer_cli/validator.rb:80
|
256
|
+
msgid "At least one of options %s is required"
|
257
|
+
msgstr "Mindestens eine der Optionen %s ist erforderlich"
|
258
|
+
|
259
|
+
#: lib/hammer_cli/output/adapter/csv.rb:174
|
260
|
+
msgid "Message"
|
261
|
+
msgstr "Hinweis"
|
262
|
+
|
263
|
+
#: lib/hammer_cli/output/adapter/csv.rb:178
|
264
|
+
msgid "Id"
|
265
|
+
msgstr "Kennung"
|
266
|
+
|
267
|
+
#: lib/hammer_cli/output/adapter/csv.rb:183
|
268
|
+
msgid "Name"
|
269
|
+
msgstr "Name"
|
270
|
+
|
271
|
+
#: lib/hammer_cli/output/formatters.rb:154
|
272
|
+
msgid "no"
|
273
|
+
msgstr "nein"
|
274
|
+
|
275
|
+
#: lib/hammer_cli/output/formatters.rb:154
|
276
|
+
msgid "yes"
|
277
|
+
msgstr "ja"
|
278
|
+
|
279
|
+
#: lib/hammer_cli/shell.rb:10
|
280
|
+
msgid "Print help for commands"
|
281
|
+
msgstr "Hilfe anzeigen"
|
282
|
+
|
283
|
+
#: lib/hammer_cli/shell.rb:22
|
284
|
+
msgid "Exit interactive shell"
|
285
|
+
msgstr "Interaktive Shell verlassen"
|
286
|
+
|
287
|
+
#: lib/hammer_cli/shell.rb:116
|
288
|
+
msgid "Welcome to the hammer interactive shell"
|
289
|
+
msgstr "Willkommen zur interaktiven Hammer-Shell"
|
290
|
+
|
291
|
+
#: lib/hammer_cli/shell.rb:117
|
292
|
+
msgid "Type 'help' for usage information"
|
293
|
+
msgstr "Geben Sie \"help\" ein, um Informationen zur Verwendung zu erhalten"
|
294
|
+
|
295
|
+
#: lib/hammer_cli/shell.rb:133
|
296
|
+
msgid "Interactive shell"
|
297
|
+
msgstr "Interaktive Shell"
|
298
|
+
|
299
|
+
#: lib/hammer_cli/subcommand.rb:56
|
300
|
+
msgid ""
|
301
|
+
"can't replace subcommand %<name>s (%<existing_class>s) with %<name>s "
|
302
|
+
"(%<new_class>s)"
|
303
|
+
msgstr ""
|