foreman_remote_execution 14.0.0 → 14.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +77 -77
  3. data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +2 -1667
  4. data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +7 -7
  5. data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +33 -33
  6. data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +131 -131
  7. data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +131 -131
  8. data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +38 -38
  9. data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +16 -16
  10. data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +33 -33
  11. data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +7 -7
  12. data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +134 -134
  13. data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +6 -6
  14. data/app/controllers/api/v2/job_invocations_controller.rb +34 -17
  15. data/app/helpers/job_invocations_helper.rb +1 -1
  16. data/app/helpers/remote_execution_helper.rb +2 -2
  17. data/app/lib/actions/remote_execution/proxy_action.rb +10 -5
  18. data/app/lib/actions/remote_execution/run_host_job.rb +1 -1
  19. data/app/lib/actions/remote_execution/template_invocation_progress_logging.rb +2 -3
  20. data/app/models/concerns/foreman_remote_execution/errors_flattener.rb +2 -2
  21. data/app/views/api/v2/job_invocations/hosts.json.rabl +15 -0
  22. data/app/views/template_invocations/show.html.erb +1 -1
  23. data/app/views/templates/script/package_action.erb +1 -1
  24. data/config/routes.rb +1 -0
  25. data/db/migrate/20240312133027_extend_template_invocation_events.rb +19 -0
  26. data/db/migrate/20240522093413_migrate_smart_proxy_ids_to_template_invocations.rb +3 -0
  27. data/lib/foreman_remote_execution/engine.rb +0 -4
  28. data/lib/foreman_remote_execution/version.rb +1 -1
  29. data/locale/Makefile +12 -2
  30. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  31. data/locale/de/foreman_remote_execution.po +81 -80
  32. data/locale/en/foreman_remote_execution.po +0 -1675
  33. data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  34. data/locale/en_GB/foreman_remote_execution.po +7 -7
  35. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  36. data/locale/es/foreman_remote_execution.po +33 -33
  37. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  38. data/locale/fr/foreman_remote_execution.po +132 -132
  39. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  40. data/locale/ja/foreman_remote_execution.po +131 -131
  41. data/locale/ka/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  42. data/locale/ka/foreman_remote_execution.po +38 -38
  43. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  44. data/locale/ko/foreman_remote_execution.po +16 -16
  45. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  46. data/locale/pt_BR/foreman_remote_execution.po +33 -33
  47. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  48. data/locale/ru/foreman_remote_execution.po +7 -7
  49. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  50. data/locale/zh_CN/foreman_remote_execution.po +136 -134
  51. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  52. data/locale/zh_TW/foreman_remote_execution.po +6 -6
  53. data/webpack/JobInvocationDetail/JobInvocationActions.js +1 -1
  54. data/webpack/JobInvocationDetail/JobInvocationConstants.js +84 -0
  55. data/webpack/JobInvocationDetail/JobInvocationDetail.scss +0 -1
  56. data/webpack/JobInvocationDetail/JobInvocationHostTable.js +210 -0
  57. data/webpack/JobInvocationDetail/JobInvocationSelectors.js +2 -2
  58. data/webpack/JobInvocationDetail/__tests__/MainInformation.test.js +5 -1
  59. data/webpack/JobInvocationDetail/__tests__/fixtures.js +9 -0
  60. data/webpack/JobInvocationDetail/index.js +56 -34
  61. data/webpack/__mocks__/foremanReact/components/HostDetails/DetailsCard/DefaultLoaderEmptyState.js +1 -2
  62. data/webpack/react_app/components/RecentJobsCard/JobStatusIcon.js +38 -7
  63. data/webpack/react_app/components/RecentJobsCard/constants.js +4 -0
  64. data/webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/HostStatus.test.js.snap +1 -1
  65. data/webpack/react_app/components/TargetingHosts/components/HostStatus.js +6 -6
  66. metadata +6 -95
  67. data/.babelrc.js +0 -3
  68. data/.eslintignore +0 -3
  69. data/.eslintrc +0 -13
  70. data/.github/workflows/js_ci.yml +0 -32
  71. data/.github/workflows/release.yml +0 -16
  72. data/.github/workflows/ruby_ci.yml +0 -19
  73. data/.gitignore +0 -18
  74. data/.packit.yaml +0 -45
  75. data/.prettierrc +0 -4
  76. data/.rubocop.yml +0 -105
  77. data/.rubocop_todo.yml +0 -516
  78. data/.tx/config +0 -10
  79. data/Gemfile +0 -5
  80. data/app/mailers/.gitkeep +0 -0
  81. data/app/views/dashboard/.gitkeep +0 -0
  82. data/foreman_remote_execution.gemspec +0 -33
  83. data/jsconfig.json +0 -8
  84. data/locale/action_names.rb +0 -2
  85. data/test/benchmark/run_hosts_job_benchmark.rb +0 -70
  86. data/test/benchmark/targeting_benchmark.rb +0 -31
  87. data/test/factories/foreman_remote_execution_factories.rb +0 -147
  88. data/test/functional/api/v2/foreign_input_sets_controller_test.rb +0 -58
  89. data/test/functional/api/v2/job_invocations_controller_test.rb +0 -446
  90. data/test/functional/api/v2/job_templates_controller_test.rb +0 -110
  91. data/test/functional/api/v2/registration_controller_test.rb +0 -73
  92. data/test/functional/api/v2/remote_execution_features_controller_test.rb +0 -34
  93. data/test/functional/api/v2/template_invocations_controller_test.rb +0 -33
  94. data/test/functional/cockpit_controller_test.rb +0 -16
  95. data/test/functional/job_invocations_controller_test.rb +0 -132
  96. data/test/functional/job_templates_controller_test.rb +0 -31
  97. data/test/functional/ui_job_wizard_controller_test.rb +0 -16
  98. data/test/graphql/mutations/job_invocations/create_test.rb +0 -58
  99. data/test/graphql/queries/job_invocation_query_test.rb +0 -31
  100. data/test/graphql/queries/job_invocations_query_test.rb +0 -35
  101. data/test/helpers/remote_execution_helper_test.rb +0 -46
  102. data/test/support/remote_execution_helper.rb +0 -5
  103. data/test/test_plugin_helper.rb +0 -9
  104. data/test/unit/actions/run_host_job_test.rb +0 -115
  105. data/test/unit/actions/run_hosts_job_test.rb +0 -214
  106. data/test/unit/api_params_test.rb +0 -25
  107. data/test/unit/concerns/foreman_tasks_cleaner_extensions_test.rb +0 -29
  108. data/test/unit/concerns/host_extensions_test.rb +0 -219
  109. data/test/unit/concerns/nic_extensions_test.rb +0 -9
  110. data/test/unit/execution_task_status_mapper_test.rb +0 -92
  111. data/test/unit/input_template_renderer_test.rb +0 -503
  112. data/test/unit/job_invocation_composer_test.rb +0 -974
  113. data/test/unit/job_invocation_report_template_test.rb +0 -60
  114. data/test/unit/job_invocation_test.rb +0 -232
  115. data/test/unit/job_template_effective_user_test.rb +0 -37
  116. data/test/unit/job_template_test.rb +0 -316
  117. data/test/unit/remote_execution_feature_test.rb +0 -86
  118. data/test/unit/remote_execution_provider_test.rb +0 -298
  119. data/test/unit/renderer_scope_input_test.rb +0 -49
  120. data/test/unit/targeting_test.rb +0 -206
  121. data/test/unit/template_invocation_input_value_test.rb +0 -38
@@ -3,11 +3,11 @@
3
3
  "locale_data": {
4
4
  "foreman_remote_execution": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_remote_execution 9.0.1",
6
+ "Project-Id-Version": "foreman_remote_execution 14.0.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-02-15 13:54+0000",
9
- "Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
10
- "Language-Team": "Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)",
9
+ "Last-Translator": "Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024",
10
+ "Language-Team": "Chinese (China) (http://app.transifex.com/foreman/foreman/language/zh_CN/)",
11
11
  "MIME-Version": "1.0",
12
12
  "Content-Type": "text/plain; charset=UTF-8",
13
13
  "Content-Transfer-Encoding": "8bit",
@@ -18,7 +18,7 @@
18
18
  "plural_forms": "nplurals=1; plural=0;"
19
19
  },
20
20
  "${d.title} ${d.count} hosts": [
21
- ""
21
+ "${d.title} ${d.count} 主机"
22
22
  ],
23
23
  "%s": [
24
24
  "%s"
@@ -30,16 +30,16 @@
30
30
  "%s 任务已被调用"
31
31
  ],
32
32
  "%s more": [
33
- ""
33
+ "%s 更多"
34
34
  ],
35
35
  "%{description} on %{host}": [
36
- "%{host} %{description}"
36
+ "%{host} 中的 %{host}"
37
37
  ],
38
38
  "'Starts before' date must be after 'Starts at' date": [
39
- ""
39
+ "'Starts before' 的日期需要在 'Starts at' 日期之后"
40
40
  ],
41
41
  "'Starts before' date must in the future": [
42
- ""
42
+ "'Starts before' 日期需要是一个未来的时间"
43
43
  ],
44
44
  "...and %s more": [
45
45
  "...和 %s 个更多"
@@ -54,7 +54,7 @@
54
54
  "要从外部模板中包含的输入名称的列表,以逗号分隔。"
55
55
  ],
56
56
  "A job '%{job_name}' has %{status} at %{time}": [
57
- "作业 '%{job_name}' 的 %%{status}(在 %%{time})"
57
+ "作业 '%%{job_name}' 的 %%{status}(在 %%{time})"
58
58
  ],
59
59
  "A job '%{subject}' has failed": [
60
60
  "作业 '%%{subject}' 已失败"
@@ -72,25 +72,25 @@
72
72
  "用于跟踪周期性作业的特殊标签。一次只能有一个具有给定目的的活跃作业。"
73
73
  ],
74
74
  "A user to be used for SSH.": [
75
- ""
75
+ "用于 SSH 的用户。"
76
76
  ],
77
77
  "A user to be used for executing the script. If it differs from the SSH user, su or sudo is used to switch the accounts.": [
78
78
  "要使用執行這 script 的使用者。如果使用者與 SSH 使用者不同,會用 su 或 sudo 來切換使用者。"
79
79
  ],
80
80
  "Abort": [
81
- ""
81
+ "终止"
82
82
  ],
83
83
  "Abort Job": [
84
84
  "终止作业"
85
85
  ],
86
86
  "Access denied": [
87
- ""
87
+ "拒绝访问"
88
88
  ],
89
89
  "Actions": [
90
90
  "操作"
91
91
  ],
92
92
  "Active Filters:": [
93
- ""
93
+ "活跃的过滤器:"
94
94
  ],
95
95
  "Add Foreign Input Set": [
96
96
  "添加外部输入集"
@@ -99,10 +99,10 @@
99
99
  "高级项"
100
100
  ],
101
101
  "After": [
102
- ""
102
+ "之后"
103
103
  ],
104
104
  "After %s occurences": [
105
- ""
105
+ "在 %s 发生后"
106
106
  ],
107
107
  "All fields are required.": [
108
108
  "各个项都需要。"
@@ -132,10 +132,10 @@
132
132
  "于分钟"
133
133
  ],
134
134
  "Awaiting start": [
135
- ""
135
+ "等待开始"
136
136
  ],
137
137
  "Back": [
138
- ""
138
+ "返回"
139
139
  ],
140
140
  "Back to Job": [
141
141
  "回到作业"
@@ -147,7 +147,7 @@
147
147
  "无法为 ID %s 找到作业调用"
148
148
  ],
149
149
  "Cancel": [
150
- ""
150
+ "取消"
151
151
  ],
152
152
  "Cancel Job": [
153
153
  "取消作业"
@@ -156,10 +156,10 @@
156
156
  "取消作业调用"
157
157
  ],
158
158
  "Cancel recurring": [
159
- ""
159
+ "取消重复"
160
160
  ],
161
161
  "Canceled:": [
162
- ""
162
+ "取消:"
163
163
  ],
164
164
  "Cancelled": [
165
165
  "已取消"
@@ -177,22 +177,22 @@
177
177
  "类别列表失败并带有:"
178
178
  ],
179
179
  "Category and template": [
180
- ""
180
+ "类别和模板"
181
181
  ],
182
182
  "Choose a job template that is pre-selected in job invocation form": [
183
183
  "选择在作业调用表单中预先选择的作业模板"
184
184
  ],
185
185
  "Circular dependency detected in foreign input set '%{template}' -> '%{target_template}'. Templates stack: %{templates_stack}": [
186
- "在外部输入设置中发现了循环的依赖关系 '%{template}' -> '%{target_template}'。模板堆栈:%{templates_stack}"
186
+ "在外部输入设置中发现了循环的依赖关系 '%%{template}' -> '%%{target_template}'。模板堆栈:%%{templates_stack}"
187
187
  ],
188
188
  "Cleanup working directories": [
189
189
  "清理工作目录"
190
190
  ],
191
191
  "Clear all filters": [
192
- ""
192
+ "清除所有过滤器"
193
193
  ],
194
194
  "Clear input": [
195
- ""
195
+ "清除输入"
196
196
  ],
197
197
  "Clone a provision template": [
198
198
  "克隆置备模板"
@@ -216,22 +216,22 @@
216
216
  "控制并发级别和时间分布"
217
217
  ],
218
218
  "Could not abort the job %s: ${response}": [
219
- ""
219
+ "无法中止作业 %s: ${response}"
220
220
  ],
221
221
  "Could not cancel recurring logic %s: ${response}": [
222
- ""
222
+ "无法取消重复逻辑 %s:${response}"
223
223
  ],
224
224
  "Could not cancel the job %s: ${response}": [
225
- ""
225
+ "无法取消作业 %s: ${response}"
226
226
  ],
227
227
  "Could not disable recurring logic %s: ${response}": [
228
- ""
228
+ "无法禁用重复逻辑 %s:${response}"
229
229
  ],
230
230
  "Could not display data for job invocation.": [
231
231
  "无法显示用于作业调用的数据。"
232
232
  ],
233
233
  "Could not enable recurring logic %s: ${response}": [
234
- ""
234
+ "无法启用重复逻辑 %s:${response}"
235
235
  ],
236
236
  "Could not find any suitable interface for execution": [
237
237
  "无法找到适合执行的接口"
@@ -243,7 +243,7 @@
243
243
  "无法重新运行作业 %{id},因为它的模板没有找到"
244
244
  ],
245
245
  "Could not use any proxy for the %{provider} job. Consider configuring %{global_proxy}, %{fallback_proxy} in settings": [
246
- "无法为 %%{provider} 作业使用任何代理。考虑在设置中配置 %{global_proxy} 和 %{fallback_proxy}"
246
+ "无法为 %%{provider} 作业使用任何代理。考虑在设置中配置 %%{global_proxy} 和 %%{fallback_proxy}"
247
247
  ],
248
248
  "Could not use any template used in the job invocation": [
249
249
  "无法使用作业调用中使用的任何模板"
@@ -267,7 +267,7 @@
267
267
  "创建一个重复运行的作业"
268
268
  ],
269
269
  "Create report": [
270
- ""
270
+ "创建报告"
271
271
  ],
272
272
  "Create report for this job": [
273
273
  "为这个作业创建报告"
@@ -276,25 +276,25 @@
276
276
  "Cron 行"
277
277
  ],
278
278
  "Cron line (extended)": [
279
- ""
279
+ "Cron 行(扩展)"
280
280
  ],
281
281
  "Cron line format '1 2 3 4 5', where:": [
282
- ""
282
+ "Cron 行格式 '1 2 3 4 5',其中:"
283
283
  ],
284
284
  "Cronline": [
285
285
  "Cronline"
286
286
  ],
287
287
  "Current location %s is different from job's location %s. This job may run on different hosts than before.": [
288
- ""
288
+ "当前位置 %s 与作业的位置 %s 不同。此作业可能会在与以前不同的主机上运行。"
289
289
  ],
290
290
  "Current location %{loc_c} is different from job's location %{loc_j}.": [
291
- "当前位置 {loc_c} 与作业位置 {loc_j} 不同。"
291
+ "当前位置 %%{loc_c} 与作业位置 %%{loc_j} 不同。"
292
292
  ],
293
293
  "Current organization %s is different from job's organization %s. This job may run on different hosts than before.": [
294
- ""
294
+ "当前机构 %s 与作业的机构 %s 不同。此作业可能会在与以前不同的主机上运行。"
295
295
  ],
296
296
  "Current organization %{org_c} is different from job's organization %{org_j}.": [
297
- "当前机构 {org_c} 与作业机构 {org_j} 不同。"
297
+ "当前机构 %%{org_c} 与作业机构 %%{org_j} 不同。"
298
298
  ],
299
299
  "Daily": [
300
300
  "每日"
@@ -318,7 +318,7 @@
318
318
  "SSH 默认使用的密码。可通过设置名为 remote_execution_ssh_password 的参数来按主机覆盖"
319
319
  ],
320
320
  "Default user to use for SSH. You may override per host by setting a parameter called remote_execution_ssh_user.": [
321
- "SSH 默认使用的用户。可通过设置名为 remote_execution_ssh_user 的参数来按主机覆盖"
321
+ "SSH 默认使用的用户。可通过设置名为 remote_execution_ssh_user 的参数来按主机覆盖。"
322
322
  ],
323
323
  "Default user to use for executing the script. If the user differs from the SSH user, su or sudo is used to switch the user.": [
324
324
  "用于执行脚本的默认用户。如果用户与 SSH 用户不同,则使用 su 或 sudo 切换用户。"
@@ -342,7 +342,7 @@
342
342
  "设计特殊目的"
343
343
  ],
344
344
  "Disable recurring": [
345
- ""
345
+ "禁用重复"
346
346
  ],
347
347
  "Display advanced fields": [
348
348
  "显示高级字段"
@@ -351,7 +351,7 @@
351
351
  "没有创建"
352
352
  ],
353
353
  "Duplicated inputs detected: %{duplicated_inputs}": [
354
- "检测到重复的输入:%{duplicated_inputs}"
354
+ "检测到重复的输入:%{duplicated_inputs}"
355
355
  ],
356
356
  "Dynamic Query": [
357
357
  "动态查询"
@@ -381,7 +381,7 @@
381
381
  "有效的用户"
382
382
  ],
383
383
  "Effective user method \\\"%{current_value}\\\" is not one of %{valid_methods}": [
384
- "有效的用户方法 \\\"%{current_value}\\\" 不是 %{valid_methods} 之一"
384
+ "有效的用户方法 \\\"%%{current_value}\\\" 不是 %%{valid_methods} 之一"
385
385
  ],
386
386
  "Effective user options": [
387
387
  "有效的用户选项"
@@ -396,13 +396,13 @@
396
396
  "有效用户密码只适用于 SSH 提供商。其他提供商会忽略此字段。在任务完成之前,密码会以加密方式存储在数据库中。对于未来或周期性执行,该密码将在最后一次执行后删除。"
397
397
  ],
398
398
  "Effective user:": [
399
- ""
399
+ "有效用户:"
400
400
  ],
401
401
  "Enable Global Proxy": [
402
402
  "启用全局代理服务器"
403
403
  ],
404
404
  "Enable recurring": [
405
- ""
405
+ "启用重复"
406
406
  ],
407
407
  "End time needs to be after start time": [
408
408
  "结束时间需要在开始时间后"
@@ -420,25 +420,25 @@
420
420
  "评估于:"
421
421
  ],
422
422
  "Every day at %s": [
423
- ""
423
+ "每天的 %s"
424
424
  ],
425
425
  "Every hour at minute %s": [
426
- ""
426
+ "每个小时的分钟 %s"
427
427
  ],
428
428
  "Every month on %s at %s": [
429
- ""
429
+ "每个月的 %s %s"
430
430
  ],
431
431
  "Every week on %s at %s": [
432
- ""
432
+ "每周的 %s %s"
433
433
  ],
434
434
  "Execute the job later, at a scheduled time.": [
435
- ""
435
+ "在以后的一个调度的时间执行作业。"
436
436
  ],
437
437
  "Execute the job now.": [
438
- ""
438
+ "现在执行作业。"
439
439
  ],
440
440
  "Execute the job on a repeating schedule.": [
441
- ""
441
+ "在一个重复调度中执行作业。"
442
442
  ],
443
443
  "Execute the jobs on hosts in randomized order": [
444
444
  "以随机顺序在主机上执行作业"
@@ -471,19 +471,19 @@
471
471
  "呈现模板失败:%s"
472
472
  ],
473
473
  "Failed:": [
474
- ""
474
+ "失败:"
475
475
  ],
476
476
  "Fallback to Any Proxy": [
477
477
  "退回至任何代理服务器"
478
478
  ],
479
479
  "Feature input %{input_name} not defined in template %{template_name}": [
480
- "功能输入%{input_name} 未在模板%{template_name} 中定义"
480
+ "功能输入%%{input_name} 未在模板%%{template_name} 中定义"
481
481
  ],
482
482
  "Fill all required fields in all the steps": [
483
- ""
483
+ "在所有步骤中填写所有必填字段"
484
484
  ],
485
485
  "Fill all required fields in all the steps to start the job": [
486
- ""
486
+ "在启动作业的所有步骤中填写所有必填字段"
487
487
  ],
488
488
  "Filter by host collections": [
489
489
  "按主机集过滤"
@@ -498,7 +498,7 @@
498
498
  "完成"
499
499
  ],
500
500
  "For Future execution a 'Starts at' date or 'Starts before' date must be selected. Immediate execution can be selected in the previous step.": [
501
- ""
501
+ "对于未来执行,需要设置 'Starts at' 日期或 'Starts before' 日期。立即执行可以在前一步中选择。"
502
502
  ],
503
503
  "For example: 1, 2, 3, 4, 5...": [
504
504
  "例如:1, 2, 3, 4, 5..."
@@ -513,7 +513,7 @@
513
513
  "来自作业模板"
514
514
  ],
515
515
  "Future execution": [
516
- ""
516
+ "在未来执行"
517
517
  ],
518
518
  "Get output for a host": [
519
519
  "获取主机的输出"
@@ -567,7 +567,7 @@
567
567
  "主机接口的标识符,用于远程执行"
568
568
  ],
569
569
  "Immediate execution": [
570
- ""
570
+ "立即执行"
571
571
  ],
572
572
  "Import": [
573
573
  "导入"
@@ -576,7 +576,7 @@
576
576
  "从 ERB 导入作业模版"
577
577
  ],
578
578
  "In Progress:": [
579
- ""
579
+ "进行中:"
580
580
  ],
581
581
  "Include all inputs from the foreign template": [
582
582
  "在外部模板中包含所有输入格式"
@@ -603,10 +603,10 @@
603
603
  "如果启用了Katello,则只能使用内部代理选择器"
604
604
  ],
605
605
  "Interval in seconds, if the job is not picked up by a client within this interval it will be cancelled.": [
606
- ""
606
+ "间隔时间(以秒为单位),如果一个作业在这个间隔时间内没有被一个客户端抓取,这个作业被取消。"
607
607
  ],
608
608
  "Interval in seconds, if the job is not picked up by a client within this interval it will be cancelled. Applies only to pull-mqtt based jobs": [
609
- ""
609
+ "间隔(以秒为单位),如果作业没有由此间隔内的客户端获取,它将被取消。只适用于基于 pull-mqtt 的作业"
610
610
  ],
611
611
  "Invalid date": [
612
612
  "无效的日期"
@@ -657,7 +657,7 @@
657
657
  "作业调用"
658
658
  ],
659
659
  "Job invocations detail": [
660
- ""
660
+ "作业调用详情"
661
661
  ],
662
662
  "Job result": [
663
663
  "作业结果"
@@ -711,10 +711,10 @@
711
711
  "如需了解更多信息,请参阅文档。"
712
712
  ],
713
713
  "Legacy UI": [
714
- ""
714
+ "旧 UI"
715
715
  ],
716
716
  "List available remote execution features for a host": [
717
- ""
717
+ "列出主机的可用远程执行功能"
718
718
  ],
719
719
  "List foreign input sets": [
720
720
  "列出外部输入集"
@@ -747,10 +747,10 @@
747
747
  "手动选择"
748
748
  ],
749
749
  "Minute can only be a number between 0-59": [
750
- ""
750
+ "分钟只能是一个 0-59 之间的数字"
751
751
  ],
752
752
  "Missing the required permissions: ${missingPermissions.join( ', ' )}": [
753
- ""
753
+ "缺少所需的权限:${missingPermissions.join( ', ' )}"
754
754
  ],
755
755
  "Monthly": [
756
756
  "每月"
@@ -771,10 +771,10 @@
771
771
  "新作业模板"
772
772
  ],
773
773
  "New UI": [
774
- ""
774
+ "新 UI"
775
775
  ],
776
776
  "Next": [
777
- ""
777
+ "下一个"
778
778
  ],
779
779
  "No (override)": [
780
780
  "否(覆盖)"
@@ -792,19 +792,19 @@
792
792
  "没有找到结果"
793
793
  ],
794
794
  "No template mapped to feature %{feature_name}": [
795
- "没有映射到功能 %{feature_name} 的模板"
795
+ "没有映射到功能 %%{feature_name} 的模板"
796
796
  ],
797
797
  "Not all required inputs have values. Missing inputs: %s": [
798
798
  "並不是所有需要的輸入都有值。缺少的输入:%s"
799
799
  ],
800
800
  "Not available": [
801
- ""
801
+ "不可用"
802
802
  ],
803
803
  "Not yet": [
804
- ""
804
+ "还没有"
805
805
  ],
806
806
  "Now": [
807
- ""
807
+ "现在"
808
808
  ],
809
809
  "On": [
810
810
  "上"
@@ -813,7 +813,7 @@
813
813
  "只能指定一个功能或 job_template_id"
814
814
  ],
815
815
  "Opening job invocation form": [
816
- ""
816
+ "打开作业调用表单"
817
817
  ],
818
818
  "Organization": [
819
819
  "机构"
@@ -822,7 +822,7 @@
822
822
  "只为此调用覆盖来自模板的描述格式"
823
823
  ],
824
824
  "Override the global time to pickup interval for this invocation only": [
825
- ""
825
+ "只为此调用覆盖获取间隔的全局时间"
826
826
  ],
827
827
  "Override the timeout interval from the template for this invocation only": [
828
828
  "只为此调用使用该模板覆盖超时间隔"
@@ -852,34 +852,34 @@
852
852
  "在此时间后不再执行"
853
853
  ],
854
854
  "Permission Denied": [
855
- ""
855
+ "没有足够权限"
856
856
  ],
857
857
  "Please enter a search query": [
858
- ""
858
+ "请输入搜索查询"
859
859
  ],
860
860
  "Please go back to \\\\\\\"Schedule\\\\\\\" - \\\\\\\"Future execution\\\\\\\" step to fix the error": [
861
- ""
861
+ "请返回 \\\\\\\"Schedule\\\\\\\" - \\\\\\\"Future execution\\\\\\\" 步骤来修复错误"
862
862
  ],
863
863
  "Please refine your search.": [
864
864
  "请重新调整您的搜索。"
865
865
  ],
866
866
  "Please request the required permissions listed below from a Foreman administrator:": [
867
- ""
867
+ "请从 Foreman 管理员请求下面列出所需的权限:"
868
868
  ],
869
869
  "Please select at least one host": [
870
- ""
870
+ "请至少选择一个主机"
871
871
  ],
872
872
  "Please select at least one host collection": [
873
- ""
873
+ "请至少选择一个主机集合"
874
874
  ],
875
875
  "Please select at least one host group": [
876
- ""
876
+ "请至少选择一个主机组"
877
877
  ],
878
878
  "Port to use for SSH communication. Default port 22. You may override per host by setting a parameter called remote_execution_ssh_port.": [
879
879
  "要用于 SSH 通信的端口。默认端口 22。您可以通过设置名为 remote_execution_ssh_port 的参数来按主机进行覆盖。"
880
880
  ],
881
881
  "Prefer IPv6 over IPv4": [
882
- "首选 IPv6 而不是 IPv4 "
882
+ "首选 IPv6 而不是 IPv4"
883
883
  ],
884
884
  "Preview": [
885
885
  "预览"
@@ -900,7 +900,7 @@
900
900
  "预览模板有问题:%{error}。请注意,在预览前需要保存模板输入的改变。"
901
901
  ],
902
902
  "Proceed Anyway": [
903
- ""
903
+ "继续操作"
904
904
  ],
905
905
  "Provider type": [
906
906
  "供应商类型"
@@ -927,7 +927,7 @@
927
927
  "REX 作业已成功 - %s"
928
928
  ],
929
929
  "REX pull mode": [
930
- ""
930
+ "REX 拉取模式"
931
931
  ],
932
932
  "Randomized": [
933
933
  "随机化"
@@ -939,19 +939,19 @@
939
939
  "重复发生"
940
940
  ],
941
941
  "Recurring execution": [
942
- ""
942
+ "重复执行"
943
943
  ],
944
944
  "Recurring logic": [
945
945
  "重复逻辑"
946
946
  ],
947
947
  "Recurring logic %s cancelled successfully.": [
948
- ""
948
+ "成功取消重复逻辑 %s。"
949
949
  ],
950
950
  "Recurring logic %s disabled successfully.": [
951
- ""
951
+ "成功禁用重复逻辑 %s。"
952
952
  ],
953
953
  "Recurring logic %s enabled successfully.": [
954
- ""
954
+ "成功启用重复逻辑 %s。"
955
955
  ],
956
956
  "Recursive rendering of templates detected": [
957
957
  "检测到递归的模板呈现"
@@ -993,7 +993,7 @@
993
993
  "重新运行"
994
994
  ],
995
995
  "Rerun all": [
996
- ""
996
+ "重新运行所有"
997
997
  ],
998
998
  "Rerun failed": [
999
999
  "重新运行失败"
@@ -1008,7 +1008,7 @@
1008
1008
  "在失败的主机上重新运行"
1009
1009
  ],
1010
1010
  "Rerun successful": [
1011
- ""
1011
+ "重新运行成功"
1012
1012
  ],
1013
1013
  "Rerun the job": [
1014
1014
  "重新运行作业"
@@ -1035,10 +1035,10 @@
1035
1035
  "运行 Puppet 一次"
1036
1036
  ],
1037
1037
  "Run Script": [
1038
- ""
1038
+ "运行脚本"
1039
1039
  ],
1040
1040
  "Run a script": [
1041
- ""
1041
+ "运行脚本"
1042
1042
  ],
1043
1043
  "Run at most N tasks at a time": [
1044
1044
  "一次最多运行 N 个任务"
@@ -1050,7 +1050,7 @@
1050
1050
  "运行作业"
1051
1051
  ],
1052
1052
  "Run on selected hosts": [
1053
- ""
1053
+ "在所选主机上运行"
1054
1054
  ],
1055
1055
  "Running": [
1056
1056
  "執行中"
@@ -1065,10 +1065,10 @@
1065
1065
  "SSH 供应商特定的选项"
1066
1066
  ],
1067
1067
  "SSH user": [
1068
- ""
1068
+ "SSH 用户"
1069
1069
  ],
1070
1070
  "SSH user:": [
1071
- ""
1071
+ "SSH 用户:"
1072
1072
  ],
1073
1073
  "Schedule": [
1074
1074
  "调度"
@@ -1089,10 +1089,10 @@
1089
1089
  "调度类型"
1090
1090
  ],
1091
1091
  "Scheduled": [
1092
- "调度的"
1092
+ "调度"
1093
1093
  ],
1094
1094
  "Scheduled at:": [
1095
- ""
1095
+ "调度于:"
1096
1096
  ],
1097
1097
  "Scheduled to start at": [
1098
1098
  "调度开始于"
@@ -1101,7 +1101,7 @@
1101
1101
  "调度在这个时间前开始"
1102
1102
  ],
1103
1103
  "Scheduled: ${totalHosts} hosts": [
1104
- ""
1104
+ "调度:${totalHosts} 主机"
1105
1105
  ],
1106
1106
  "Script": [
1107
1107
  "脚本"
@@ -1143,10 +1143,10 @@
1143
1143
  "选择适用于该子网的尽可能多的远程执行代理。当添加具有相同提供者的多个代理时,将在它们之间平衡操作。"
1144
1144
  ],
1145
1145
  "Select the type of execution": [
1146
- ""
1146
+ "选择执行类型"
1147
1147
  ],
1148
1148
  "Set 'host_registration_remote_execution_pull' parameter for the host. If it is set to true, pull provider client will be deployed on the host": [
1149
- ""
1149
+ "为主机设置 'host_registration_remote_execution_pull' 参数。如果设置为 true, 拉取提供程序客户端将在主机上部署"
1150
1150
  ],
1151
1151
  "Set SSH key passphrase": [
1152
1152
  "设置 SSH 密钥口令"
@@ -1155,13 +1155,13 @@
1155
1155
  "设置 SSH 密码"
1156
1156
  ],
1157
1157
  "Set SSH user": [
1158
- ""
1158
+ "设置 SSH 用户"
1159
1159
  ],
1160
1160
  "Set password for effective user (using sudo-like mechanisms)": [
1161
1161
  "为有效用户设置密码(使用类似 sudo 的机制)"
1162
1162
  ],
1163
1163
  "Setup remote execution pull mode. If set to `Yes`, pull provider client will be deployed on the registered host. The inherited value is based on the `host_registration_remote_execution_pull` parameter. It can be inherited e.g. from host group, operating system, organization. When overridden, the selected value will be stored on host parameter level.": [
1164
- ""
1164
+ "设置远程执行拉取模式。如果设置为 `Yes`,则拉取提供程序客户端将被部署在注册的主机上。继承的值基于 `host_registration_remote_execution_pull` 参数。它可以被继承,例如来自主机组,操作系统,组织。。被覆盖时,所选值将存储在主机参数级别。"
1165
1165
  ],
1166
1166
  "Should the ip addresses on host interfaces be preferred over the fqdn? It is useful when DNS not resolving the fqdns properly. You may override this per host by setting a parameter called remote_execution_connect_by_ip. For dual-stacked hosts you should consider the remote_execution_connect_by_ip_prefer_ipv6 setting": [
1167
1167
  "相比 fqdn,是否应优先使用主机接口上的 ip 地址?当 DNS 未能成功解析 fqdns 时,它很有用。您可以通过设置参数 remote_execution_connect_by_ip 来覆盖每个主机的这个地址。对于多堆栈的主机,您应该考虑 remote_execution_connect_by_ip_prefer_ipv6 设置"
@@ -1188,10 +1188,10 @@
1188
1188
  "显示远程执行功能"
1189
1189
  ],
1190
1190
  "Skip to review": [
1191
- ""
1191
+ "跳过来进行检查"
1192
1192
  ],
1193
1193
  "Skip to review step": [
1194
- ""
1194
+ "跳过检查步骤"
1195
1195
  ],
1196
1196
  "Snippet": [
1197
1197
  "程序代码片段"
@@ -1200,19 +1200,19 @@
1200
1200
  "开始"
1201
1201
  ],
1202
1202
  "Start job": [
1203
- ""
1203
+ "启动作业"
1204
1204
  ],
1205
1205
  "Started": [
1206
1206
  "已启动"
1207
1207
  ],
1208
1208
  "Started at:": [
1209
- ""
1209
+ "起始于:"
1210
1210
  ],
1211
1211
  "Starts": [
1212
1212
  "开始"
1213
1213
  ],
1214
1214
  "Starts Before": [
1215
- ""
1215
+ "开始前"
1216
1216
  ],
1217
1217
  "Starts at": [
1218
1218
  "开始于"
@@ -1233,7 +1233,7 @@
1233
1233
  "状态"
1234
1234
  ],
1235
1235
  "Submit": [
1236
- ""
1236
+ "提交"
1237
1237
  ],
1238
1238
  "Subscribe to all my jobs": [
1239
1239
  "订阅到所有主机"
@@ -1248,22 +1248,22 @@
1248
1248
  "已成功"
1249
1249
  ],
1250
1250
  "Succeeded:": [
1251
- ""
1251
+ "成功:"
1252
1252
  ],
1253
1253
  "Success": [
1254
1254
  "成功"
1255
1255
  ],
1256
1256
  "Switch to the new job invocation detail UI": [
1257
- ""
1257
+ "切换到新作业调用详情 UI"
1258
1258
  ],
1259
1259
  "Sync Job Templates": [
1260
1260
  "同步作业模板"
1261
1261
  ],
1262
1262
  "System status": [
1263
- ""
1263
+ "系统状态"
1264
1264
  ],
1265
1265
  "Systems": [
1266
- ""
1266
+ "系统"
1267
1267
  ],
1268
1268
  "Target hosts": [
1269
1269
  "目标主机"
@@ -1302,13 +1302,13 @@
1302
1302
  "找不到 id 为 '%{id}' 的模板"
1303
1303
  ],
1304
1304
  "Template:": [
1305
- ""
1305
+ "模板:"
1306
1306
  ],
1307
1307
  "Templates list failed with:": [
1308
1308
  "模板列表失败并带有:"
1309
1309
  ],
1310
1310
  "The cron line supports extended cron line syntax. For details please refer to the ": [
1311
- ""
1311
+ "cron 行支持扩展 cron 行语法。有关详细信息,请参阅 "
1312
1312
  ],
1313
1313
  "The dynamic query '%{query}' was not resolved yet. The list of hosts to which it would resolve now can be seen %{here}.": [
1314
1314
  "动态查询 '%{query}' 还没有解析。现在应该解析的主机列表可在 %{here} 查看。"
@@ -1332,7 +1332,7 @@
1332
1332
  "要使用的任务模板,除非已指定功能,否则参数是必需的"
1333
1333
  ],
1334
1334
  "The only applicable proxy %{proxy_names} is down": [
1335
- "唯一可用的代理 %{proxy_names} 已停机"
1335
+ "唯一可用的代理 %%{proxy_names} 已停机"
1336
1336
  ],
1337
1337
  "The template %{template_name} mapped to feature %{feature_name} is not accessible by the user": [
1338
1338
  "用户无法访问映射到功能 %{feature_name} 的模板 %{template_name}"
@@ -1353,19 +1353,19 @@
1353
1353
  "此模板已锁定。请将它克隆到一个新的模板进行定制。"
1354
1354
  ],
1355
1355
  "This template is used to generate the description. Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}.": [
1356
- "这个模块用来生成描述。输入值可以使用语法 %{package}。您可以使用 %{job_category} 和 %{template_name} 来包括作业类型和模板名称。"
1356
+ "这个模块用来生成描述。输入值可以使用语法 %%{package}。您可以使用 %%{job_category} 和 %%{template_name} 来包括作业类型和模板名称。"
1357
1357
  ],
1358
1358
  "This template is used to generate the description.<br/>Input values can be used using the syntax %{package}.<br/>You may also include the job category and template<br/>name using %{job_category} and %{template_name}.": [
1359
- "这个模块用来生成描述。<br/>输入值可以使用语法%{package}。<br/>您可以使用 {job_category} 和 {template_name} 来<br/>包括作业类型和模板名称。"
1359
+ "这个模块用来生成描述。<br/>输入值可以使用语法%%{package}。<br/>您可以使用 <br/> %{job_category}和 %{template_name} 来包括作业类型和模板名称。"
1360
1360
  ],
1361
1361
  "Time in seconds from the start on the remote host after which the job should be killed.": [
1362
1362
  "在远程主机上开始后,以秒计算时间,之后结束作业。"
1363
1363
  ],
1364
1364
  "Time in seconds within which the host has to pick up a job. If the job is not picked up within this limit, the job will be cancelled. Defaults to 1 day. Applies only to pull-mqtt based jobs.": [
1365
- ""
1365
+ "主机必须在此时间内(以秒为单位)获取一个作业。如果在这个时间限制内没有获取该作业,则将取消该作业。默认为 1 天。仅适用于基于 pull-mqtt 的作用。"
1366
1366
  ],
1367
1367
  "Time to pickup": [
1368
- ""
1368
+ "抓取时间"
1369
1369
  ],
1370
1370
  "Timeout to kill": [
1371
1371
  "超时至结束"
@@ -1404,13 +1404,13 @@
1404
1404
  "尝试中止作业"
1405
1405
  ],
1406
1406
  "Trying to abort the job %s.": [
1407
- ""
1407
+ "尝试中止作业 %s。"
1408
1408
  ],
1409
1409
  "Trying to cancel the job": [
1410
1410
  "尝试取消作业"
1411
1411
  ],
1412
1412
  "Trying to cancel the job %s.": [
1413
- ""
1413
+ "尝试取消作业 %s。"
1414
1414
  ],
1415
1415
  "Type": [
1416
1416
  "类型"
@@ -1419,10 +1419,10 @@
1419
1419
  "类型会影响到什么时候会评估到主机。"
1420
1420
  ],
1421
1421
  "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it</li></ul>": [
1422
- ""
1422
+ "类型会对何时评估主机查询产生影响。<br><ul><li><b>静态</b> - 提交此表格后立即评估</li><li><b>动态</b> - 开始执行前进行评估,因此,如果以后计划,则目标主机集可能会在它之前发生变化</li></ul>"
1423
1423
  ],
1424
1424
  "Type of execution": [
1425
- ""
1425
+ "执行类型"
1426
1426
  ],
1427
1427
  "Type of query": [
1428
1428
  "查询类型"
@@ -1437,13 +1437,13 @@
1437
1437
  "无法从已知主机中删除主机"
1438
1438
  ],
1439
1439
  "Unable to save template. Correct highlighted errors": [
1440
- "无法保存模版。纠正高亮显示的错误。"
1440
+ "无法保存模版。纠正高亮显示的错误"
1441
1441
  ],
1442
1442
  "Unknown execution status": [
1443
1443
  "未知的执行状态"
1444
1444
  ],
1445
1445
  "Unknown input %{input_name} for template %{template_name}": [
1446
- "未知输入%{input_name}模板用于模板%{template_name}"
1446
+ "未知输入%%{input_name}模板用于模板%%{template_name}"
1447
1447
  ],
1448
1448
  "Unknown remote execution feature %s": [
1449
1449
  "未知的远程执行功能 %s"
@@ -1461,10 +1461,10 @@
1461
1461
  "使用默认描述模板"
1462
1462
  ],
1463
1463
  "Use legacy form": [
1464
- ""
1464
+ "使用传统形式"
1465
1465
  ],
1466
1466
  "Use new job wizard": [
1467
- ""
1467
+ "使用新的作业向导"
1468
1468
  ],
1469
1469
  "User Inputs": [
1470
1470
  "用户输入"
@@ -1500,7 +1500,7 @@
1500
1500
  "查看调度的作业"
1501
1501
  ],
1502
1502
  "View task": [
1503
- ""
1503
+ "查看任务"
1504
1504
  ],
1505
1505
  "Web Console": [
1506
1506
  "Web 控制台"
@@ -1518,7 +1518,7 @@
1518
1518
  "应该使用什么用户来运行脚本(使用类似于 sudo 的机制)。默认为模板参数或全局设置。"
1519
1519
  ],
1520
1520
  "When connecting using ip address, should the IPv6 addresses be preferred? If no IPv6 address is set, it falls back to IPv4 automatically. You may override this per host by setting a parameter called remote_execution_connect_by_ip_prefer_ipv6. By default and for compatibility, IPv4 will be preferred over IPv6 by default": [
1521
- "使用 ip 地址进行连接时,是否应该首选 IPv6 地址?如果没有设置 IPv6 地址,它会自动回退到使用 IPv4。您可以通过设置名为remote_execution_connect_by_ip_prefer_prefer_ipv6 的参数来针对单个主机进行覆盖。默认情况下,为了实现兼容的目的,IPv4 将优先于 IPv6"
1521
+ "使用 ip 地址进行连接时,是否应该首选 IPv6 地址?如果没有设置 IPv6 地址,它会自动回退到使用 IPv4。您可以通过设置名为remote_execution_connect_by_ip_prefer_prefer_ipv6 的参数来针对单个主机进行覆盖。默认情况下,为了实现兼容的目的,IPv4 将优先于 IPv6"
1522
1522
  ],
1523
1523
  "When enabled, working directories will be removed after task completion. You may override this per host by setting a parameter called remote_execution_cleanup_working_dirs.": [
1524
1524
  "如果启用,工作目录会在任务完成后被删除。使用名为 remote_execution_cleanup_working_dirs 的参数可以在相关主机上覆盖这个设置。"
@@ -1551,7 +1551,7 @@
1551
1551
  "您没有权限查看当前分配的模板。现在保存表单将取消分配模板。"
1552
1552
  ],
1553
1553
  "You are not authorized to perform this action.": [
1554
- ""
1554
+ "您没有执行这个操作的授权。"
1555
1555
  ],
1556
1556
  "You have %s results to display. Showing first %s results": [
1557
1557
  "您有 %s 个结果现实。显示前 %s 个结果"
@@ -1566,7 +1566,7 @@
1566
1566
  "SmartProxy 中缺少 default_capsule 方法"
1567
1567
  ],
1568
1568
  "documentation": [
1569
- ""
1569
+ "文档"
1570
1570
  ],
1571
1571
  "effective user": [
1572
1572
  "有效用户"
@@ -1581,7 +1581,7 @@
1581
1581
  "提交此表单后评估"
1582
1582
  ],
1583
1583
  "evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it": [
1584
- ""
1584
+ "在执行启动前进行评估,因此如果将来需要它,则目标主机设置可能会在它之前改变"
1585
1585
  ],
1586
1586
  "failed": [
1587
1587
  "失败"
@@ -1623,7 +1623,7 @@
1623
1623
  "否"
1624
1624
  ],
1625
1625
  "occurences": [
1626
- ""
1626
+ "发生"
1627
1627
  ],
1628
1628
  "open-help-tooltip-button": [
1629
1629
  "open-help-tooltip-button"
@@ -1635,7 +1635,7 @@
1635
1635
  "已排队,在 %{time} 开始实施"
1636
1636
  ],
1637
1637
  "range: 0-59": [
1638
- ""
1638
+ "范围:0-59"
1639
1639
  ],
1640
1640
  "remove template input set": [
1641
1641
  "删除模板输入集"
@@ -1665,7 +1665,7 @@
1665
1665
  "使用智能代理"
1666
1666
  ],
1667
1667
  "view host names": [
1668
- ""
1668
+ "查看主机名"
1669
1669
  ],
1670
1670
  "yes": [
1671
1671
  "是"