hammer_cli_foreman_remote_execution 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.tx/config +4 -3
  3. data/Gemfile +1 -1
  4. data/Rakefile +5 -25
  5. data/lib/hammer_cli_foreman_remote_execution/job_invocation.rb +1 -0
  6. data/lib/hammer_cli_foreman_remote_execution/version.rb +1 -1
  7. data/locale/Makefile +2 -53
  8. data/locale/ca/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  9. data/locale/ca/hammer-cli-foreman-remote-execution.po +317 -0
  10. data/locale/cs_CZ/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  11. data/locale/cs_CZ/hammer-cli-foreman-remote-execution.po +305 -0
  12. data/locale/de/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  13. data/locale/de/hammer-cli-foreman-remote-execution.po +137 -82
  14. data/locale/en/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  15. data/locale/en/hammer-cli-foreman-remote-execution.po +55 -16
  16. data/locale/es/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  17. data/locale/es/hammer-cli-foreman-remote-execution.po +136 -84
  18. data/locale/fr/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  19. data/locale/fr/hammer-cli-foreman-remote-execution.po +140 -83
  20. data/locale/hammer-cli-foreman-remote-execution.pot +113 -57
  21. data/locale/it/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  22. data/locale/it/hammer-cli-foreman-remote-execution.po +76 -33
  23. data/locale/ja/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  24. data/locale/ja/hammer-cli-foreman-remote-execution.po +136 -86
  25. data/locale/ka/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  26. data/locale/ka/hammer-cli-foreman-remote-execution.po +313 -0
  27. data/locale/ko/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  28. data/locale/ko/hammer-cli-foreman-remote-execution.po +122 -73
  29. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  30. data/locale/pt_BR/hammer-cli-foreman-remote-execution.po +136 -85
  31. data/locale/ru/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  32. data/locale/ru/hammer-cli-foreman-remote-execution.po +128 -75
  33. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  34. data/locale/zh_CN/hammer-cli-foreman-remote-execution.po +133 -87
  35. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  36. data/locale/zh_TW/hammer-cli-foreman-remote-execution.po +119 -73
  37. data/test/unit/foreign_input_set_test.rb +9 -9
  38. data/test/unit/job_invocation_test.rb +10 -10
  39. data/test/unit/job_template_test.rb +18 -18
  40. data/test/unit/remote_execution_feature_test.rb +7 -7
  41. data/test/unit/template_input_test.rb +11 -11
  42. metadata +23 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00e0ed2d507a59921d5e74fea3c867a905275f3cfe08dead49f16ac2c65c270a
4
- data.tar.gz: 13b14ae95a38f37186d530c94693cb169ae242302b14fd7cc8a6aa3f78c13863
3
+ metadata.gz: 57623223e1afdcaa94907746d1d2c2bbdc6f38f9b80228f9282bfb7eeb3c370d
4
+ data.tar.gz: 71f56a32562ddf06465e2a45970cb22bcbbb03a98be8e360a46bcfef9de4eb0e
5
5
  SHA512:
6
- metadata.gz: '0779211fbcabdcba9288f5f79ea652f60f6deb8fc0f25d36a16dd7293df196224d2c263e967a2b0cd30c384cea02f2bcb107cee773862befd6563ea0f287641a'
7
- data.tar.gz: ac9781413c16f4af51d31896adb1328ed64e112b68dff79159db3409bdf183086a4ec4f50abd8c6d39fed3f6e01fb18a44d3ec9c16e4dadab980905bf9bf7aed
6
+ metadata.gz: 6c437aadb35ebd13b10d270356280c337594c9e8e9a1c894370d8cfbae9a2b138f710db6c732ddcc5739381192867afcf0e2ab31211db65e89bef14fda74043d
7
+ data.tar.gz: bdeff7e018dddc6376ee7191ba55f5ac6689a723dd1132601bcd1009f6bc9939fa00a9633a4cd9db79a8d99c4bb1666c9f5f5b334ffb9d49173586b2d6c49d83
data/.tx/config CHANGED
@@ -1,8 +1,9 @@
1
1
  [main]
2
- host = https://www.transifex.com
2
+ host = https://app.transifex.com
3
3
 
4
- [foreman.hammer-cli-foreman-remote-execution]
4
+ [o:foreman:p:foreman:r:hammer-cli-foreman-remote-execution]
5
5
  file_filter = locale/<lang>/hammer-cli-foreman-remote-execution.edit.po
6
- source_file = locale/hammer-cli-foreman-remote-exectution.pot
6
+ source_file = locale/hammer-cli-foreman-remote-execution.pot
7
7
  source_lang = en
8
8
  type = PO
9
+ resource_name = hammer-cli-foreman-remote-execution
data/Gemfile CHANGED
@@ -8,7 +8,7 @@ if RUBY_VERSION < '2.1.0'
8
8
  end
9
9
 
10
10
  group :test do
11
- gem 'rake', '~> 10.1.0'
11
+ gem 'rake', '~> 13.1.0'
12
12
  gem 'thor'
13
13
  gem 'minitest', '< 4.7.4'
14
14
  gem 'minitest-spec-context'
data/Rakefile CHANGED
@@ -8,34 +8,14 @@ Rake::TestTask.new :test do |t|
8
8
  t.verbose = true
9
9
  end
10
10
 
11
- namespace :gettext do
12
-
13
- task :setup do
14
- require "hammer_cli_foreman_remote_execution/version"
15
- require "hammer_cli_foreman_remote_execution/i18n"
16
- require 'gettext/tools/task'
17
-
18
- domain = HammerCLIForemanRemoteExecution::I18n::LocaleDomain.new
19
- GetText::Tools::Task.define do |task|
20
- task.package_name = domain.domain_name
21
- task.package_version = HammerCLIForemanRemoteExecution.version.to_s
22
- task.domain = domain.domain_name
23
- task.mo_base_directory = domain.locale_dir
24
- task.po_base_directory = domain.locale_dir
25
- task.files = domain.translated_files
26
- end
27
- end
28
-
29
- desc "Update pot file"
30
- task :find => [:setup] do
31
- Rake::Task["gettext:po:update"].invoke
32
- end
33
-
34
- end
35
-
36
11
  namespace :pkg do
37
12
  desc 'Generate package source gem'
38
13
  task :generate_source => :build
39
14
  end
40
15
 
41
16
  task :default => :test
17
+
18
+ require "hammer_cli_foreman_remote_execution/version"
19
+ require "hammer_cli_foreman_remote_execution/i18n"
20
+ require "hammer_cli/i18n/find_task"
21
+ HammerCLI::I18n::FindTask.define(HammerCLIForemanRemoteExecution::I18n::LocaleDomain.new, HammerCLIForemanRemoteExecution.version.to_s)
@@ -50,6 +50,7 @@ module HammerCLIForemanRemoteExecution
50
50
  field :mode, _('Mode')
51
51
  field :cron_line, _('Cron line')
52
52
  field :recurring_logic_id, _('Recurring logic ID')
53
+ field :time_to_pickup, _('Time to pickup')
53
54
  field :hosts, _('Hosts')
54
55
  end
55
56
  end
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanRemoteExecution
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.2.2'
3
+ @version ||= Gem::Version.new '0.3.0'
4
4
  end
5
5
  end
data/locale/Makefile CHANGED
@@ -1,57 +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-remote-execution
10
- VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load("../hammer_cli_foreman_remote_execution.gemspec");puts spec.version')
11
- POTFILE = $(DOMAIN).pot
12
- MOFILE = $(DOMAIN).mo
13
- POFILES = $(shell find . -name '$(DOMAIN).po')
14
- MOFILES = $(patsubst %.po,%.mo,$(POFILES))
15
- POXFILES = $(patsubst %.po,%.pox,$(POFILES))
16
- EDITFILES = $(patsubst %.po,%.edit.po,$(POFILES))
17
-
18
- %.mo: %.po
19
- mkdir -p $(shell dirname $@)/LC_MESSAGES
20
- msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
21
-
22
- # Generate MO files from PO files
23
- all-mo: $(MOFILES)
24
-
25
- # Check for malformed strings
26
- %.pox: %.po
27
- msgfmt -c $<
28
- pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
29
- -t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
30
- cat $@
31
- ! grep -q msgid $@
32
-
33
- check: $(POXFILES)
34
-
35
- # Unify duplicate translations
36
- uniq-po:
37
- for f in $(shell find ./ -name "*.po") ; do \
38
- msguniq $$f -o $$f ; \
39
- done
40
-
41
- tx-pull: $(EDITFILES)
42
- tx pull -f
43
- for f in $(POFILES) ; do \
44
- sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
45
- done
46
-
47
- # Extract strings and update the .pot, prepare .edit.po files
48
- extract-strings:
49
- bundle exec rake gettext:find
50
-
51
- # Merge .edit.po into .po
52
- update-po:
53
- bundle exec rake gettext:find
54
-
55
- tx-update: extract-strings tx-pull $(MOFILES)
56
- git commit -m "i18n - extracting new, pulling from tx" ../locale
57
- -echo Changes commited!
6
+ include $(shell bundle exec ruby -e 'require "hammer_cli"; puts HammerCLI::I18n.main_makefile')
@@ -0,0 +1,317 @@
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-remote-execution package.
4
+ #
5
+ # Translators:
6
+ # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2017
7
+ # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2016
8
+ msgid ""
9
+ msgstr ""
10
+ "Project-Id-Version: hammer-cli-foreman-remote-execution 0.2.3\n"
11
+ "Report-Msgid-Bugs-To: \n"
12
+ "POT-Creation-Date: 2019-02-26 10:44-0500\n"
13
+ "PO-Revision-Date: 2016-02-12 07:57+0000\n"
14
+ "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2017\n"
15
+ "Language-Team: Catalan (http://app.transifex.com/foreman/foreman/language/"
16
+ "ca/)\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Language: ca\n"
21
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22
+
23
+ msgid "Manage foreign input sets"
24
+ msgstr "Gestiona els conjunts d'entrades foranies"
25
+
26
+ msgid "ID"
27
+ msgstr "ID"
28
+
29
+ msgid "Target template ID"
30
+ msgstr "ID de la plantilla de l'objectiu"
31
+
32
+ msgid "Target template name"
33
+ msgstr "Nom de la plantilla de l'objectiu"
34
+
35
+ msgid "Name"
36
+ msgstr "Nom"
37
+
38
+ msgid "Include all"
39
+ msgstr "Inclou-ho tot"
40
+
41
+ msgid "Include"
42
+ msgstr "Inclou"
43
+
44
+ msgid "Exclude"
45
+ msgstr "Exclou"
46
+
47
+ msgid "Foreign input set updated"
48
+ msgstr "S'ha actualitzat el conjunt d'entrades foranies"
49
+
50
+ msgid "Could not update the input set"
51
+ msgstr "No s'ha pogut actualitzar el conjunt d'entrades"
52
+
53
+ msgid "Foreign input set created"
54
+ msgstr "S'ha creat el conjunt d'entrades foranies"
55
+
56
+ msgid "Could not create the input set"
57
+ msgstr "No s'ha pogut crear el conjunt d'entrades"
58
+
59
+ msgid "Foreign input set deleted"
60
+ msgstr "S'ha eliminat el conjunt d'entrades foranies"
61
+
62
+ msgid "Could not delete the input set"
63
+ msgstr "No s'ha pogut eliminar el conjunt d'entrades"
64
+
65
+ msgid "Description"
66
+ msgstr "Descripció"
67
+
68
+ msgid "Status"
69
+ msgstr "Estat"
70
+
71
+ msgid "Success"
72
+ msgstr "Correcte"
73
+
74
+ msgid "Failed"
75
+ msgstr "Fallat"
76
+
77
+ msgid "Pending"
78
+ msgstr "Pendent"
79
+
80
+ msgid "Total"
81
+ msgstr "Total"
82
+
83
+ msgid "Start"
84
+ msgstr "Inicia"
85
+
86
+ msgid "Job Category"
87
+ msgstr "Categoria del treball"
88
+
89
+ msgid "Mode"
90
+ msgstr "Mode"
91
+
92
+ msgid "Cron line"
93
+ msgstr "Línia de cron"
94
+
95
+ msgid "Recurring logic ID"
96
+ msgstr "ID de lògica de recurrència"
97
+
98
+ msgid "Hosts"
99
+ msgstr "Amfitrions"
100
+
101
+ msgid "View the output for a host"
102
+ msgstr "Mostra la sortida per un amfitrió"
103
+
104
+ msgid "Do not wait for job to complete, shows current output only"
105
+ msgstr ""
106
+ "No esperis que es completi un treball, mostra únicament la sortida actual"
107
+
108
+ msgid "The job is scheduled to start at %{timestamp}"
109
+ msgstr ""
110
+
111
+ msgid "Job invocation %{id} created"
112
+ msgstr "S'ha creat la invocació del treball %{id}"
113
+
114
+ msgid "Schedule the execution for a later time"
115
+ msgstr "Planifica l'execució per a més tard"
116
+
117
+ msgid "Execution should be cancelled if it cannot be started before --start-at"
118
+ msgstr ""
119
+ "L'execució s'hauria de cancel·lar si no pot iniciar-se abans --start-at"
120
+
121
+ msgid "Create a recurring execution"
122
+ msgstr "Crea una execució recurrent"
123
+
124
+ msgid "Perform no more executions after this time, used with --cron-line"
125
+ msgstr ""
126
+ "No realitzis més execucions després d'aquest temps, s'utilitza amb --cron-"
127
+ "line"
128
+
129
+ msgid "Specify inputs from command line"
130
+ msgstr "Especifica les entrades des de la línia d'ordres"
131
+
132
+ msgid "Read input values from files"
133
+ msgstr "Llegeix els valors d'entrada des del fitxer"
134
+
135
+ msgid "Dynamic search queries are evaluated at run time"
136
+ msgstr "Les consultes de cerques dinàmiques s'avaluen en temps d'execució"
137
+
138
+ msgid "Cancel the job"
139
+ msgstr ""
140
+
141
+ msgid "Job invocation %{id} cancelled"
142
+ msgstr ""
143
+
144
+ msgid "Could not cancel the job invocation"
145
+ msgstr ""
146
+
147
+ msgid "Rerun the job"
148
+ msgstr ""
149
+
150
+ msgid "Job invocation was rerun as %{id}"
151
+ msgstr ""
152
+
153
+ msgid "Manage job invocations"
154
+ msgstr "Gestiona les invocacions dels treballs"
155
+
156
+ msgid "Provider"
157
+ msgstr "Proveïdor"
158
+
159
+ msgid "Type"
160
+ msgstr "Tipus"
161
+
162
+ msgid "Inputs"
163
+ msgstr "Entrades"
164
+
165
+ msgid "View job template content"
166
+ msgstr "Visualitza el contingut de la plantilla del treball"
167
+
168
+ msgid "Path to a file that contains the template"
169
+ msgstr "Camí a un fitxer que conté la plantilla"
170
+
171
+ msgid "Job template created"
172
+ msgstr "S'ha creat la plantilla del treball"
173
+
174
+ msgid "Could not create the job template"
175
+ msgstr "No s'ha pogut crear la plantilla del treball"
176
+
177
+ msgid "Path to a file that contains the template - must include ERB metadata"
178
+ msgstr ""
179
+
180
+ msgid "Job template imported"
181
+ msgstr ""
182
+
183
+ msgid "Could not import the job template"
184
+ msgstr ""
185
+
186
+ msgid "Export a template including all metadata"
187
+ msgstr ""
188
+
189
+ msgid "Job template updated"
190
+ msgstr "S'ha actualitzat la plantilla del treball"
191
+
192
+ msgid "Could not update the job template"
193
+ msgstr "No s'ha pogut actualitzar la plantilla del treball"
194
+
195
+ msgid "Job template deleted"
196
+ msgstr "S'ha eliminat la plantilla del treball"
197
+
198
+ msgid "Could not delete the job template"
199
+ msgstr "No s'ha pogut eliminar la plantilla del treball"
200
+
201
+ msgid "Manage job templates"
202
+ msgstr "Gestiona les plantilles dels treballs"
203
+
204
+ msgid ""
205
+ "Comma-separated list of key=file, where file is a path to a text file to be "
206
+ "read"
207
+ msgstr ""
208
+ "Llista separada per comes de clau=fitxer, on fitxer és un camí al fitxer de "
209
+ "text a llegir"
210
+
211
+ msgid ""
212
+ "Cron line format 'a b c d e', where:\n"
213
+ " a. is minute (range: 0-59)\n"
214
+ " b. is hour (range: 0-23)\n"
215
+ " c. is day of month (range: 1-31)\n"
216
+ " d. is month (range: 1-12)\n"
217
+ " e. is day of week (range: 0-6)"
218
+ msgstr ""
219
+ "Format de línia cron 'a b c d e', on:\n"
220
+ " a. és el minut (interval: 0-59)\n"
221
+ " b. és l'hora (interval: 0-23)\n"
222
+ " c. és el dia del mes (interval: 1-31)\n"
223
+ " d. és el mes (interval: 1-12)\n"
224
+ " e. és el dia de la setmana (interval: 0-6)"
225
+
226
+ msgid "Manage remote execution features"
227
+ msgstr ""
228
+
229
+ msgid "Job template name"
230
+ msgstr ""
231
+
232
+ msgid "Label"
233
+ msgstr "Etiqueta"
234
+
235
+ msgid "Job template ID"
236
+ msgstr ""
237
+
238
+ msgid "Remote execution feature updated"
239
+ msgstr ""
240
+
241
+ msgid "Could not update the remote execution feature"
242
+ msgstr ""
243
+
244
+ msgid "Manage template inputs"
245
+ msgstr "Gestiona les entrades de les plantilles"
246
+
247
+ msgid "Input type"
248
+ msgstr "Tipus d'entrada"
249
+
250
+ msgid "Fact name"
251
+ msgstr "Nom de l'objecte d'interès"
252
+
253
+ msgid "Variable name"
254
+ msgstr "Nom de la variable"
255
+
256
+ msgid "Puppet parameter name"
257
+ msgstr "Nom del paràmetre de Puppet"
258
+
259
+ msgid "Options"
260
+ msgstr "Opcions"
261
+
262
+ msgid "Template input created"
263
+ msgstr "S'ha creat l'entrada de la plantilla"
264
+
265
+ msgid "Could not create the template input"
266
+ msgstr "No s'ha pogut crear l'entrada de la plantilla"
267
+
268
+ msgid "Template input deleted"
269
+ msgstr "S'ha eliminat l'entrada de la plantilla"
270
+
271
+ msgid "Could not delete the template input"
272
+ msgstr "No s'ha pogut eliminar l'entrada de la plantilla"
273
+
274
+ msgid "Execution"
275
+ msgstr ""
276
+
277
+ msgid "execution"
278
+ msgstr ""
279
+
280
+ msgid "Randomized ordering"
281
+ msgstr ""
282
+
283
+ msgid "Show the complete input of the job"
284
+ msgstr ""
285
+
286
+ msgid "Show job status for the hosts"
287
+ msgstr ""
288
+
289
+ msgid "Missing"
290
+ msgstr ""
291
+
292
+ msgid "Time to pickup"
293
+ msgstr ""
294
+
295
+ msgid "Smart Proxies"
296
+ msgstr ""
297
+
298
+ msgid "Remote execution proxies"
299
+ msgstr ""
300
+
301
+ msgid "Id"
302
+ msgstr ""
303
+
304
+ msgid "Default value"
305
+ msgstr ""
306
+
307
+ msgid "Template input created."
308
+ msgstr ""
309
+
310
+ msgid "Template input updated."
311
+ msgstr ""
312
+
313
+ msgid "Could not update the template input"
314
+ msgstr ""
315
+
316
+ msgid "Template input deleted."
317
+ msgstr ""