hammer_cli_foreman_discovery 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_foreman_discovery/command_extensions/provision_with_puppet.rb +1 -3
  3. data/lib/hammer_cli_foreman_discovery/discovery.rb +15 -19
  4. data/lib/hammer_cli_foreman_discovery/discovery_references.rb +1 -2
  5. data/lib/hammer_cli_foreman_discovery/discovery_rule.rb +0 -6
  6. data/lib/hammer_cli_foreman_discovery/i18n.rb +1 -4
  7. data/lib/hammer_cli_foreman_discovery/version.rb +1 -1
  8. data/lib/hammer_cli_foreman_discovery.rb +4 -7
  9. data/locale/Makefile +2 -61
  10. data/locale/ca/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  11. data/locale/ca/hammer_cli_foreman_discovery.po +10 -11
  12. data/locale/cs_CZ/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  13. data/locale/cs_CZ/hammer_cli_foreman_discovery.po +165 -0
  14. data/locale/de/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  15. data/locale/de/hammer_cli_foreman_discovery.po +16 -14
  16. data/locale/en/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  17. data/locale/en/hammer_cli_foreman_discovery.po +3 -2
  18. data/locale/en_GB/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  19. data/locale/en_GB/hammer_cli_foreman_discovery.po +13 -14
  20. data/locale/es/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  21. data/locale/es/hammer_cli_foreman_discovery.po +26 -26
  22. data/locale/fr/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  23. data/locale/fr/hammer_cli_foreman_discovery.po +21 -20
  24. data/locale/it/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  25. data/locale/it/hammer_cli_foreman_discovery.po +12 -15
  26. data/locale/ja/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  27. data/locale/ja/hammer_cli_foreman_discovery.po +23 -23
  28. data/locale/ka/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  29. data/locale/ka/hammer_cli_foreman_discovery.po +163 -0
  30. data/locale/ko/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  31. data/locale/ko/hammer_cli_foreman_discovery.po +10 -13
  32. data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  33. data/locale/pt_BR/hammer_cli_foreman_discovery.po +21 -21
  34. data/locale/ru/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  35. data/locale/ru/hammer_cli_foreman_discovery.po +15 -16
  36. data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  37. data/locale/zh_CN/hammer_cli_foreman_discovery.po +33 -37
  38. data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  39. data/locale/zh_TW/hammer_cli_foreman_discovery.po +10 -14
  40. metadata +19 -26
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fa956f4e49d7c7f08a0247b19cc7d46d94d846619414fc5eb17d4cd14ac17b2
4
- data.tar.gz: af290183d21f293438b5cbc26cb73b0dcac8ea158ba299d317bcfeffffb2f762
3
+ metadata.gz: 802f7f3eeb1690a136f1fee27ef62216fe8beab061640a9139d3050eb3f1d722
4
+ data.tar.gz: b26d74acfcdcf2d119b3dfc07cf2c57861b14b37d0766971078edcbf3659b78a
5
5
  SHA512:
6
- metadata.gz: 4b54eccacc899401a60536779b497c45ccfda5c00b294fd299524582d785dd25a4ab236bb700819e067cd6857a324214975a0b2a45f55646999f6046160af442
7
- data.tar.gz: 0da72b2913c96166c17f278730a74e0b1b6e16ff97004bd8bd65610abce9ba6fa9b8e07cccba51289507dbc7a44e9a442366184dc2b66916c50278203d45bed2
6
+ metadata.gz: 9a345994e82071f26f6eae485267e51504b97e9235053029675aa2d8f5b19211218c9ebce97636649e6bb1e96588e2a54c68a3d989f53aaae3b1e2a74fe770ed
7
+ data.tar.gz: 491c79e6275f61b06bd712483458b234380ffea78122bc4ebcaf4162a50f196f304dc1db66b15cc79edd59ddbcf4f97fe95bc69a3fc7be15181abc37eb708cc5
@@ -18,7 +18,7 @@ module HammerCLIForemanDiscovery
18
18
  description: _('Puppet environment. Required if host is managed and value is not inherited from host group'),
19
19
  deprecation: _("Use %s instead") % '--puppet-environment[-id]',
20
20
  deprecated: { '--environment' => _("Use %s instead") % '--puppet-environment[-id]',
21
- '--environment-id' => _("Use %s instead") % '--puppet-environment[-id]'}
21
+ '--environment-id' => _("Use %s instead") % '--puppet-environment[-id]' }
22
22
  ) do
23
23
  parent '--environment-id', 'ENVIRONMENT_ID', _(''),
24
24
  format: HammerCLI::Options::Normalizers::Number.new,
@@ -33,7 +33,6 @@ module HammerCLIForemanDiscovery
33
33
  parent '--puppet-proxy-id', 'PUPPET_PROXY_ID', _(''),
34
34
  format: HammerCLI::Options::Normalizers::Number.new,
35
35
  attribute_name: :option_puppet_proxy_id
36
-
37
36
  end
38
37
  option_family(
39
38
  aliased_resource: 'puppet_ca_proxy'
@@ -41,7 +40,6 @@ module HammerCLIForemanDiscovery
41
40
  parent '--puppet-ca-proxy-id', 'PUPPET_CA_PROXY_ID', _(''),
42
41
  format: HammerCLI::Options::Normalizers::Number.new,
43
42
  attribute_name: :option_puppet_ca_proxy_id
44
-
45
43
  end
46
44
 
47
45
  request_params do |params, command_object|
@@ -4,11 +4,10 @@ require 'hammer_cli_foreman/fact'
4
4
 
5
5
  module HammerCLIForemanDiscovery
6
6
  def self.exception_handler_class
7
- HammerCLIForeman::ExceptionHandler
7
+ HammerCLIForeman::ExceptionHandler
8
8
  end
9
9
 
10
10
  class DiscoveredHost < HammerCLIForeman::Command
11
-
12
11
  resource :discovered_hosts
13
12
 
14
13
  class ListCommand < HammerCLIForeman::ListCommand
@@ -38,7 +37,6 @@ module HammerCLIForemanDiscovery
38
37
  build_options
39
38
  end
40
39
 
41
-
42
40
  class FactsCommand < HammerCLIForeman::AssociatedResourceListCommand
43
41
  command_name "facts"
44
42
  resource :fact_values, :index
@@ -77,8 +75,8 @@ module HammerCLIForemanDiscovery
77
75
 
78
76
  option "--root-password", "ROOT_PW", " "
79
77
  option "--ask-root-password", "ASK_ROOT_PW", " ",
80
- :format => HammerCLI::Options::Normalizers::Bool.new
81
- bool_format = {}
78
+ :format => HammerCLI::Options::Normalizers::Bool.new
79
+ bool_format = {}
82
80
  bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
83
81
  option "--managed", "MANAGED", " ", bool_format
84
82
  bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
@@ -89,14 +87,14 @@ module HammerCLIForemanDiscovery
89
87
  option "--overwrite", "OVERWRITE", " ", bool_format
90
88
 
91
89
  option "--parameters", "PARAMS", _("Host parameters"),
92
- :format => HammerCLI::Options::Normalizers::KeyValueList.new
90
+ :format => HammerCLI::Options::Normalizers::KeyValueList.new
93
91
  option "--interface", "INTERFACE", _("Interface parameters"), :multivalued => true,
94
- :format => HammerCLI::Options::Normalizers::KeyValueList.new
92
+ :format => HammerCLI::Options::Normalizers::KeyValueList.new
95
93
  option "--provision-method", "METHOD", " ",
96
- :format => HammerCLI::Options::Normalizers::Enum.new(['build', 'image'])
94
+ :format => HammerCLI::Options::Normalizers::Enum.new(%w[build image])
97
95
 
98
96
  def ask_password
99
- prompt = _("Enter the root password for the host:") + '_'
97
+ prompt = "#{_('Enter the root password for the host:')}_"
100
98
  ask(prompt) { |q| q.echo = false }
101
99
  end
102
100
 
@@ -119,16 +117,15 @@ module HammerCLIForemanDiscovery
119
117
  return {} unless option_parameters
120
118
  option_parameters.collect do |key, value|
121
119
  if value.is_a? String
122
- {"name"=>key, "value"=>value}
120
+ { "name" => key, "value" => value }
123
121
  else
124
- {"name"=>key, "value"=>value.inspect}
122
+ { "name" => key, "value" => value.inspect }
125
123
  end
126
124
  end
127
125
  end
128
126
 
129
- build_options without: %i[
130
- root_pass ptable_id host_parameters_attributes
131
- puppet_class_ids environment_id puppet_proxy_id puppet_ca_proxy_id
127
+ build_options without: [
128
+ :root_pass, :ptable_id, :host_parameters_attributes, :puppet_class_ids, :environment_id, :puppet_proxy_id, :puppet_ca_proxy_id
132
129
  ] do |o|
133
130
  # TODO: Until the API is cleaned up
134
131
  o.expand.except(:environments)
@@ -180,10 +177,10 @@ module HammerCLIForemanDiscovery
180
177
  resource.call(:reboot_all, {})
181
178
  print_message _("Rebooting hosts")
182
179
  HammerCLI::EX_OK
183
- rescue RestClient::UnprocessableEntity => error
184
- response = JSON.parse(error.response)
185
- response = HammerCLIForeman.record_to_common_format(response) unless response.has_key?('message')
186
- output.print_error(response['host_details'].map {|i| i['name'] + ": " + i['error'] }.join("\n"))
180
+ rescue RestClient::UnprocessableEntity => e
181
+ response = JSON.parse(e.response)
182
+ response = HammerCLIForeman.record_to_common_format(response) unless response.key?('message')
183
+ output.print_error(response['host_details'].map { |i| "#{i['name']}: #{i['error']}" }.join("\n"))
187
184
  HammerCLI::EX_DATAERR
188
185
  end
189
186
  else
@@ -208,5 +205,4 @@ module HammerCLIForemanDiscovery
208
205
  end
209
206
  autoload_subcommands
210
207
  end
211
-
212
208
  end
@@ -1,5 +1,4 @@
1
1
  module HammerCLIForemanDiscovery
2
-
3
2
  module DiscoveryReferences
4
3
  def self.hosts(dsl)
5
4
  dsl.build do
@@ -9,4 +8,4 @@ module HammerCLIForemanDiscovery
9
8
  end
10
9
  end
11
10
  end
12
- end
11
+ end
@@ -8,21 +8,17 @@ module HammerCLIForemanDiscovery
8
8
  end
9
9
 
10
10
  module CommonDiscoveryRuleUpdateOptions
11
-
12
11
  def self.included(base)
13
12
  base.option "--hosts-limit", "HOSTS_LIMIT", _("Enables to limit maximum amount of provisioned hosts per rule"),
14
13
  :attribute_name => :option_max_count
15
14
  base.build_options :without => :max_count
16
15
  end
17
-
18
16
  end
19
17
 
20
18
  class DiscoveryRule < HammerCLIForeman::Command
21
-
22
19
  resource :discovery_rules
23
20
 
24
21
  class ListCommand < HammerCLIForeman::ListCommand
25
-
26
22
  output do
27
23
  field :id, _("ID")
28
24
  field :name, _("Name")
@@ -37,7 +33,6 @@ module HammerCLIForemanDiscovery
37
33
  end
38
34
 
39
35
  class InfoCommand < HammerCLIForeman::InfoCommand
40
-
41
36
  output ListCommand.output_definition do
42
37
  field :hostname, _('Hostname template')
43
38
  HammerCLIForemanDiscovery::DiscoveryReferences.hosts(self)
@@ -70,5 +65,4 @@ module HammerCLIForemanDiscovery
70
65
 
71
66
  autoload_subcommands
72
67
  end
73
-
74
68
  end
@@ -2,9 +2,7 @@ require 'hammer_cli/i18n'
2
2
 
3
3
  module HammerCLIForemanDiscovery
4
4
  module I18n
5
-
6
5
  class LocaleDomain < HammerCLI::I18n::LocaleDomain
7
-
8
6
  def translated_files
9
7
  Dir.glob(File.join(File.dirname(__FILE__), '../**/*.rb'))
10
8
  end
@@ -17,8 +15,7 @@ module HammerCLIForemanDiscovery
17
15
  'hammer_cli_foreman_discovery'
18
16
  end
19
17
  end
20
-
21
18
  end
22
19
  end
23
20
 
24
- HammerCLI::I18n.add_domain(HammerCLIForemanDiscovery::I18n::LocaleDomain.new)
21
+ HammerCLI::I18n.add_domain(HammerCLIForemanDiscovery::I18n::LocaleDomain.new)
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanDiscovery
2
2
  def self.version
3
- @version ||= Gem::Version.new('1.1.0')
3
+ @version ||= Gem::Version.new('1.3.0')
4
4
  end
5
5
  end
@@ -5,16 +5,13 @@ module HammerCLIForemanDiscovery
5
5
  require 'hammer_cli_foreman_discovery/discovery_references'
6
6
 
7
7
  HammerCLI::MainCommand.lazy_subcommand('discovery', _("Manipulate discovered hosts."),
8
- 'HammerCLIForemanDiscovery::DiscoveredHost', 'hammer_cli_foreman_discovery/discovery'
9
- )
8
+ 'HammerCLIForemanDiscovery::DiscoveredHost', 'hammer_cli_foreman_discovery/discovery')
10
9
 
11
10
  HammerCLI::MainCommand.lazy_subcommand('discovery-rule', _("Manipulate discovered rules."),
12
- 'HammerCLIForemanDiscovery::DiscoveryRule', 'hammer_cli_foreman_discovery/discovery_rule'
13
- )
14
-
15
- rescue => e
11
+ 'HammerCLIForemanDiscovery::DiscoveryRule', 'hammer_cli_foreman_discovery/discovery_rule')
12
+ rescue StandardError => e
16
13
  handler = HammerCLIForeman::ExceptionHandler.new(:context => {}, :adapter => :base)
17
14
  handler.handle_exception(e)
18
- raise HammerCLI::ModuleLoadingError.new(e)
15
+ raise HammerCLI::ModuleLoadingError, e
19
16
  end
20
17
  end
data/locale/Makefile CHANGED
@@ -1,65 +1,6 @@
1
1
  #
2
2
  # Makefile for PO merging and MO generation. More info in the README.
3
3
  #
4
- # make all-mo (default) - generate MO files
5
- # make check - check translations using translate-tool
6
- # make tx-update - download and merge translations from Transifex
7
- # make clean - clean everything
4
+ # Run make help to list available targets
8
5
  #
9
- DOMAIN = hammer_cli_foreman_discovery
10
- VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load("../hammer_cli_foreman_discovery.gemspec");puts spec.version')
11
- POTFILE = $(DOMAIN).pot
12
- MOFILE = $(DOMAIN).mo
13
- POFILES = $(shell find . -name '*.po')
14
- MOFILES = $(patsubst %.po,%.mo,$(POFILES))
15
- POXFILES = $(patsubst %.po,%.pox,$(POFILES))
16
-
17
- %.mo: %.po
18
- mkdir -p $(shell dirname $@)/LC_MESSAGES
19
- msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
20
-
21
- # Generate MO files from PO files
22
- all-mo: $(MOFILES)
23
-
24
- # Check for malformed strings
25
- %.pox: %.po
26
- msgfmt -c $<
27
- pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
28
- -t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
29
- cat $@
30
- ! grep -q msgid $@
31
-
32
- 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
-
41
- # Unify duplicate translations
42
- uniq-po:
43
- for f in $(shell find ./ -name "*.po") ; do \
44
- msguniq $$f -o $$f ; \
45
- done
46
-
47
- tx-pull:
48
- tx pull -f
49
- for f in $(POFILES) ; do \
50
- sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
51
- done
52
- -git commit -a -m "i18n - extracting new, pulling from tx"
53
-
54
- extract-strings:
55
- bundle exec rake gettext:find
56
-
57
- reset-po:
58
- # merging po files is unnecessary when using transifex.com
59
- git checkout -- */$(DOMAIN).po
60
-
61
- tx-update: tx-pull extract-strings reset-po $(MOFILES)
62
- # amend mo files
63
- git add */LC_MESSAGES
64
- git commit -a --amend -m "i18n - extracting new, pulling from tx"
65
- -echo Changes commited!
6
+ include $(shell bundle exec ruby -e 'require "hammer_cli"; puts HammerCLI::I18n.main_makefile')
@@ -1,17 +1,18 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_discovery package.
4
4
  #
5
5
  # Translators:
6
6
  # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
9
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "PO-Revision-Date: 2015-12-09 11:08+0000\n"
12
- "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>\n"
13
- "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
14
- "\n"
11
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
12
+ "PO-Revision-Date: 2015-01-21 10:30+0000\n"
13
+ "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015\n"
14
+ "Language-Team: Catalan (http://app.transifex.com/foreman/foreman/language/"
15
+ "ca/)\n"
15
16
  "MIME-Version: 1.0\n"
16
17
  "Content-Type: text/plain; charset=UTF-8\n"
17
18
  "Content-Transfer-Encoding: 8bit\n"
@@ -40,7 +41,7 @@ msgid "Memory"
40
41
  msgstr "Memòria"
41
42
 
42
43
  msgid "Disk count"
43
- msgstr "Nombre de disc"
44
+ msgstr "Nombre de discs"
44
45
 
45
46
  msgid "Disks size"
46
47
  msgstr "Mida de disc"
@@ -96,9 +97,8 @@ msgstr "Auto aprovisiona un amfitrió"
96
97
  msgid "Auto provision all discovered hosts"
97
98
  msgstr ""
98
99
 
99
- #, fuzzy
100
100
  msgid "Hosts created"
101
- msgstr "S'ha creat l'amfitrió"
101
+ msgstr ""
102
102
 
103
103
  msgid "Reboot a host"
104
104
  msgstr "Reinicia un amfitrió"
@@ -106,9 +106,8 @@ msgstr "Reinicia un amfitrió"
106
106
  msgid "Reboot all discovered hosts"
107
107
  msgstr ""
108
108
 
109
- #, fuzzy
110
109
  msgid "Rebooting hosts"
111
- msgstr "Reinicia un amfitrió"
110
+ msgstr ""
112
111
 
113
112
  msgid "Host reboot started"
114
113
  msgstr "S'ha iniciat el reinici de l'amfitrió"
@@ -0,0 +1,165 @@
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_foreman_discovery package.
4
+ #
5
+ # Translators:
6
+ # Pavel Borecki <pavel.borecki@gmail.com>, 2018,2020
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
12
+ "PO-Revision-Date: 2015-01-21 10:30+0000\n"
13
+ "Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2018,2020\n"
14
+ "Language-Team: Czech (Czech Republic) (http://app.transifex.com/foreman/"
15
+ "foreman/language/cs_CZ/)\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Language: cs_CZ\n"
20
+ "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
21
+ "<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
22
+
23
+ msgid "Manipulate discovered hosts."
24
+ msgstr ""
25
+
26
+ msgid "Manipulate discovered rules."
27
+ msgstr ""
28
+
29
+ msgid "ID"
30
+ msgstr "Identifikátor"
31
+
32
+ msgid "Name"
33
+ msgstr "Název"
34
+
35
+ msgid "MAC"
36
+ msgstr "MAC adresa"
37
+
38
+ msgid "CPUs"
39
+ msgstr "Procesory"
40
+
41
+ msgid "Memory"
42
+ msgstr "Operační paměť"
43
+
44
+ msgid "Disk count"
45
+ msgstr "Počet jednotek úložiště"
46
+
47
+ msgid "Disks size"
48
+ msgstr "Velikost jednotek úložiště"
49
+
50
+ msgid "Subnet"
51
+ msgstr "Podsíť"
52
+
53
+ msgid "Last report"
54
+ msgstr "Poslední hlášení"
55
+
56
+ msgid "IP"
57
+ msgstr "IP adresa"
58
+
59
+ msgid "Model"
60
+ msgstr "Model"
61
+
62
+ msgid "Organization"
63
+ msgstr "Organizace"
64
+
65
+ msgid "Location"
66
+ msgstr "Umístění"
67
+
68
+ msgid "Fact"
69
+ msgstr "Fakt"
70
+
71
+ msgid "Value"
72
+ msgstr "Hodnota"
73
+
74
+ msgid "Host deleted"
75
+ msgstr "Stroj smazán"
76
+
77
+ msgid "Could not delete the host"
78
+ msgstr "Stroj se nedaří smazat"
79
+
80
+ msgid "Host created"
81
+ msgstr "Stroj vytvořen"
82
+
83
+ msgid "Could not create the host"
84
+ msgstr "Stroj se nedaří "
85
+
86
+ msgid "Host parameters"
87
+ msgstr "Parametry stroje"
88
+
89
+ msgid "Interface parameters"
90
+ msgstr "Parametry rozhraní"
91
+
92
+ msgid "Enter the root password for the host:"
93
+ msgstr "Zadejte heslo ke správcovskému (root) účtu pro stroj:"
94
+
95
+ msgid "Auto provision a host"
96
+ msgstr ""
97
+
98
+ msgid "Auto provision all discovered hosts"
99
+ msgstr ""
100
+
101
+ msgid "Hosts created"
102
+ msgstr "Stroje vytvořeny"
103
+
104
+ msgid "Reboot a host"
105
+ msgstr "Restartovat stroj"
106
+
107
+ msgid "Reboot all discovered hosts"
108
+ msgstr "Restartovat všechny objevené stroje"
109
+
110
+ msgid "Rebooting hosts"
111
+ msgstr "Restartování strojů"
112
+
113
+ msgid "Host reboot started"
114
+ msgstr "Restart stroje zahájen"
115
+
116
+ msgid "Could not reboot the host"
117
+ msgstr ""
118
+
119
+ msgid "Refresh the facts of a host"
120
+ msgstr ""
121
+
122
+ msgid "Host facts refreshed"
123
+ msgstr ""
124
+
125
+ msgid "Could not refresh the facts of the host"
126
+ msgstr ""
127
+
128
+ msgid "Hosts"
129
+ msgstr "Stroje"
130
+
131
+ msgid "Priority"
132
+ msgstr "Priorita"
133
+
134
+ msgid "Search"
135
+ msgstr "Hledat"
136
+
137
+ msgid "Host Group"
138
+ msgstr "Skupina strojů"
139
+
140
+ msgid "Hosts Limit"
141
+ msgstr ""
142
+
143
+ msgid "Enabled"
144
+ msgstr "Zapnuto"
145
+
146
+ msgid "Hostname template"
147
+ msgstr "Šablona názvu stroje"
148
+
149
+ msgid "Rule created"
150
+ msgstr "Pravidlo vytvořeno"
151
+
152
+ msgid "Could not create the rule"
153
+ msgstr "Pravidlo se nedaří vytvořit"
154
+
155
+ msgid "Rule updated"
156
+ msgstr "Pravidlo aktualizováno"
157
+
158
+ msgid "Could not update the rule"
159
+ msgstr "Pravidlo se nedaří aktualizovat"
160
+
161
+ msgid "Rule deleted"
162
+ msgstr "Pravidlo smazáno"
163
+
164
+ msgid "Could not delete the rule"
165
+ msgstr "Pravidlo se nedaří smazat"
@@ -1,21 +1,25 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_discovery package.
4
4
  #
5
5
  # Translators:
6
6
  # Christina Gurski <Gurski_christina@yahoo.de>, 2015
7
7
  # Ettore Atalan <atalanttore@googlemail.com>, 2015
8
+ # Martin Zimmermann <martin.zimmermann@gmx.com>, 2018
9
+ # pdolinic, 2021
8
10
  msgid ""
9
11
  msgstr ""
10
- "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
12
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
11
13
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2015-06-18 19:38+0000\n"
13
- "Last-Translator: Christina Gurski <Gurski_christina@yahoo.de>\n"
14
- "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
15
- "Language: de\n"
14
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
15
+ "PO-Revision-Date: 2015-01-21 10:30+0000\n"
16
+ "Last-Translator: pdolinic, 2021\n"
17
+ "Language-Team: German (http://app.transifex.com/foreman/foreman/language/"
18
+ "de/)\n"
16
19
  "MIME-Version: 1.0\n"
17
20
  "Content-Type: text/plain; charset=UTF-8\n"
18
21
  "Content-Transfer-Encoding: 8bit\n"
22
+ "Language: de\n"
19
23
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
24
 
21
25
  msgid "Manipulate discovered hosts."
@@ -61,7 +65,7 @@ msgid "Organization"
61
65
  msgstr "Organisation"
62
66
 
63
67
  msgid "Location"
64
- msgstr "Ort"
68
+ msgstr "Standort"
65
69
 
66
70
  msgid "Fact"
67
71
  msgstr "Fakt"
@@ -94,21 +98,19 @@ msgid "Auto provision a host"
94
98
  msgstr "Host automatisch bereitstellen"
95
99
 
96
100
  msgid "Auto provision all discovered hosts"
97
- msgstr ""
101
+ msgstr "Automatische Bereitstellung aller erkannten Hosts"
98
102
 
99
- #, fuzzy
100
103
  msgid "Hosts created"
101
- msgstr "Host erstellt"
104
+ msgstr "Hosts erstellt"
102
105
 
103
106
  msgid "Reboot a host"
104
- msgstr "Host neu starten"
107
+ msgstr "Host neustarten"
105
108
 
106
109
  msgid "Reboot all discovered hosts"
107
- msgstr ""
110
+ msgstr "Alle entdeckte Hosts neu starten"
108
111
 
109
- #, fuzzy
110
112
  msgid "Rebooting hosts"
111
- msgstr "Host neu starten"
113
+ msgstr "Hosts neu starten"
112
114
 
113
115
  msgid "Host reboot started"
114
116
  msgstr "Host wird neu gestartet"
@@ -5,9 +5,10 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
8
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2015-01-21 12:06+0200\n"
10
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
11
+ "PO-Revision-Date: 2019-07-31 09:22+0200\n"
11
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
13
14
  "Language: \n"
@@ -1,18 +1,19 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_discovery package.
4
4
  #
5
5
  # Translators:
6
- # Andi Chandler <andi@gowling.com>, 2015
7
- # Dominic Cleal <dcleal@redhat.com>, 2015
6
+ # Andi Chandler <andi@gowling.com>, 2015,2018-2019
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2015
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
10
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2015-05-28 23:40+0000\n"
13
- "Last-Translator: Andi Chandler <andi@gowling.com>\n"
14
- "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
15
- "man/language/en_GB/)\n"
12
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
13
+ "PO-Revision-Date: 2015-01-21 10:30+0000\n"
14
+ "Last-Translator: Andi Chandler <andi@gowling.com>, 2015,2018-2019\n"
15
+ "Language-Team: English (United Kingdom) (http://app.transifex.com/foreman/"
16
+ "foreman/language/en_GB/)\n"
16
17
  "MIME-Version: 1.0\n"
17
18
  "Content-Type: text/plain; charset=UTF-8\n"
18
19
  "Content-Transfer-Encoding: 8bit\n"
@@ -95,21 +96,19 @@ msgid "Auto provision a host"
95
96
  msgstr "Auto provision a host"
96
97
 
97
98
  msgid "Auto provision all discovered hosts"
98
- msgstr ""
99
+ msgstr "Auto provision all discovered hosts"
99
100
 
100
- #, fuzzy
101
101
  msgid "Hosts created"
102
- msgstr "Host created"
102
+ msgstr "Hosts created"
103
103
 
104
104
  msgid "Reboot a host"
105
105
  msgstr "Reboot a host"
106
106
 
107
107
  msgid "Reboot all discovered hosts"
108
- msgstr ""
108
+ msgstr "Reboot all discovered hosts"
109
109
 
110
- #, fuzzy
111
110
  msgid "Rebooting hosts"
112
- msgstr "Reboot a host"
111
+ msgstr "Rebooting hosts"
113
112
 
114
113
  msgid "Host reboot started"
115
114
  msgstr "Host reboot started"