foreman_remote_execution 16.1.0 → 16.2.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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +54 -30
- data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +52 -28
- data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +55 -31
- data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +61 -37
- data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +62 -38
- data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +53 -29
- data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +61 -37
- data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +55 -31
- data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +52 -28
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +61 -37
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +52 -28
- data/app/views/api/v2/job_templates/main.json.rabl +1 -1
- data/lib/foreman_remote_execution/plugin.rb +1 -1
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/de/foreman_remote_execution.po +54 -30
- data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en_GB/foreman_remote_execution.po +52 -28
- data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/es/foreman_remote_execution.po +55 -31
- data/locale/foreman_remote_execution.pot +193 -156
- data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/fr/foreman_remote_execution.po +61 -37
- data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ja/foreman_remote_execution.po +62 -38
- data/locale/ka/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ka/foreman_remote_execution.po +53 -29
- data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ko/foreman_remote_execution.po +61 -37
- data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/pt_BR/foreman_remote_execution.po +55 -31
- data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ru/foreman_remote_execution.po +52 -28
- data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_CN/foreman_remote_execution.po +61 -37
- data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_TW/foreman_remote_execution.po +52 -28
- data/webpack/JobInvocationDetail/CheckboxesActions.js +1 -2
- data/webpack/JobInvocationDetail/JobInvocationHostTable.js +14 -1
- data/webpack/JobInvocationDetail/TemplateInvocation.js +63 -50
- data/webpack/JobInvocationDetail/TemplateInvocationPage.js +1 -0
- data/webpack/JobInvocationDetail/__tests__/TableToolbarActions.test.js +1 -1
- data/webpack/JobInvocationDetail/__tests__/TemplateInvocation.test.js +4 -0
- data/webpack/JobInvocationDetail/index.js +1 -1
- data/webpack/react_app/components/HostKebab/KebabItems.js +2 -3
- metadata +2 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: foreman_remote_execution
|
9
|
+
"Project-Id-Version: foreman_remote_execution 16.2.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"PO-Revision-Date: 2016-02-15 13:54+0000\n"
|
12
12
|
"Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
|
@@ -34,6 +34,9 @@ msgstr "%s 任务已被调用"
|
|
34
34
|
msgid "%s more"
|
35
35
|
msgstr "%s 更多"
|
36
36
|
|
37
|
+
msgid "%s task(s) successfully %s: %s"
|
38
|
+
msgstr ""
|
39
|
+
|
37
40
|
msgid "%{description} on %{host}"
|
38
41
|
msgstr "%{host} 中的 %{host}"
|
39
42
|
|
@@ -92,6 +95,9 @@ msgstr "终止"
|
|
92
95
|
msgid "Abort Job"
|
93
96
|
msgstr "终止作业"
|
94
97
|
|
98
|
+
msgid "Abort selected"
|
99
|
+
msgstr ""
|
100
|
+
|
95
101
|
msgid "Abort task"
|
96
102
|
msgstr "中止任务"
|
97
103
|
|
@@ -131,6 +137,9 @@ msgstr "按字母"
|
|
131
137
|
msgid "An error occurred while fetching the template invocation details."
|
132
138
|
msgstr "在获取模板调用详情时出错。"
|
133
139
|
|
140
|
+
msgid "An error occurred."
|
141
|
+
msgstr ""
|
142
|
+
|
134
143
|
msgid "Another interface is already set as execution. Are you sure you want to use this one instead?"
|
135
144
|
msgstr "已经将另一个接口设置为执行。您确定要改用这个吗?"
|
136
145
|
|
@@ -149,8 +158,8 @@ msgstr "任意机构"
|
|
149
158
|
msgid "Apply to"
|
150
159
|
msgstr "应用到"
|
151
160
|
|
152
|
-
msgid "Are you sure you want to open all invocations in new tabs?"
|
153
|
-
msgstr "
|
161
|
+
msgid "Are you sure you want to open all %s invocations in new tabs?"
|
162
|
+
msgstr ""
|
154
163
|
|
155
164
|
msgid "At"
|
156
165
|
msgstr "位于"
|
@@ -182,12 +191,15 @@ msgstr "取消作业"
|
|
182
191
|
msgid "Cancel Task"
|
183
192
|
msgstr "取消任务"
|
184
193
|
|
185
|
-
msgid "Cancel job invocation"
|
186
|
-
msgstr "
|
194
|
+
msgid "Cancel job invocation or matching tasks only"
|
195
|
+
msgstr ""
|
187
196
|
|
188
197
|
msgid "Cancel recurring"
|
189
198
|
msgstr "取消重复"
|
190
199
|
|
200
|
+
msgid "Cancel selected"
|
201
|
+
msgstr ""
|
202
|
+
|
191
203
|
msgid "Cancelled"
|
192
204
|
msgstr "已取消"
|
193
205
|
|
@@ -254,12 +266,18 @@ msgstr "复制到剪贴板"
|
|
254
266
|
msgid "Could not abort the job %s: ${response}"
|
255
267
|
msgstr "无法中止作业 %s: ${response}"
|
256
268
|
|
269
|
+
msgid "Could not abort the task"
|
270
|
+
msgstr ""
|
271
|
+
|
257
272
|
msgid "Could not cancel recurring logic %s: ${response}"
|
258
273
|
msgstr "无法取消重复逻辑 %s:${response}"
|
259
274
|
|
260
275
|
msgid "Could not cancel the job %s: ${response}"
|
261
276
|
msgstr "无法取消作业 %s: ${response}"
|
262
277
|
|
278
|
+
msgid "Could not cancel the task"
|
279
|
+
msgstr ""
|
280
|
+
|
263
281
|
msgid "Could not disable recurring logic %s: ${response}"
|
264
282
|
msgstr "无法禁用重复逻辑 %s:${response}"
|
265
283
|
|
@@ -467,6 +485,9 @@ msgstr "错误:"
|
|
467
485
|
msgid "Evaluated at:"
|
468
486
|
msgstr "评估于:"
|
469
487
|
|
488
|
+
msgid "Evaluates the list of target hosts just before the job is executed. If you used a filter to select the target hosts, the list of target hosts might be different from the current list."
|
489
|
+
msgstr ""
|
490
|
+
|
470
491
|
msgid "Every day at %s"
|
471
492
|
msgstr "每天的 %s"
|
472
493
|
|
@@ -491,6 +512,9 @@ msgstr "在一个重复调度中执行作业。"
|
|
491
512
|
msgid "Execute the jobs on hosts in randomized order"
|
492
513
|
msgstr "以随机顺序在主机上执行作业"
|
493
514
|
|
515
|
+
msgid "Executes the job on the current list of target hosts."
|
516
|
+
msgstr ""
|
517
|
+
|
494
518
|
msgid "Execution"
|
495
519
|
msgstr "执行"
|
496
520
|
|
@@ -500,8 +524,8 @@ msgstr "执行顺序"
|
|
500
524
|
msgid "Execution ordering"
|
501
525
|
msgstr "执行顺序"
|
502
526
|
|
503
|
-
msgid "Execution ordering determines whether the jobs should be executed on hosts in alphabetical order or in randomized order.<br><ul><li><b>Ordered</b> -
|
504
|
-
msgstr "
|
527
|
+
msgid "Execution ordering determines whether the jobs should be executed on hosts in alphabetical order or in randomized order.<br><ul><li><b>Ordered</b> - Executes the jobs on hosts in alphabetical order</li><li><b>Randomized</b> - Randomizes the order in which jobs are executed on hosts</li></ul>"
|
528
|
+
msgstr ""
|
505
529
|
|
506
530
|
msgid "Exit status: %s"
|
507
531
|
msgstr "退出状态:%s"
|
@@ -698,27 +722,18 @@ msgstr "作业任务"
|
|
698
722
|
msgid "Job Templates"
|
699
723
|
msgstr "作业模板"
|
700
724
|
|
701
|
-
msgid "Job cancelled by user"
|
702
|
-
msgstr "作业被用户取消"
|
703
|
-
|
704
725
|
msgid "Job category"
|
705
726
|
msgstr "作业类别"
|
706
727
|
|
707
728
|
msgid "Job execution failed"
|
708
729
|
msgstr "作业执行失败"
|
709
730
|
|
710
|
-
msgid "Job finished with error"
|
711
|
-
msgstr "作业完成但带有错误"
|
712
|
-
|
713
731
|
msgid "Job invocation"
|
714
732
|
msgstr "工作调用"
|
715
733
|
|
716
734
|
msgid "Job invocations"
|
717
735
|
msgstr "作业调用"
|
718
736
|
|
719
|
-
msgid "Job invocations detail"
|
720
|
-
msgstr "作业调用详情"
|
721
|
-
|
722
737
|
msgid "Job result"
|
723
738
|
msgstr "作业结果"
|
724
739
|
|
@@ -731,9 +746,6 @@ msgstr "用于功能的作业模板 ID"
|
|
731
746
|
msgid "Job template imported successfully."
|
732
747
|
msgstr "成功导入作业模版。"
|
733
748
|
|
734
|
-
msgid "Job templates"
|
735
|
-
msgstr "作业模板"
|
736
|
-
|
737
749
|
msgid "Job with id '%{id}' was not found"
|
738
750
|
msgstr "未找到 ID 为 '%{id}' 的作业"
|
739
751
|
|
@@ -899,15 +911,21 @@ msgstr "上"
|
|
899
911
|
msgid "Only one of feature or job_template_id can be specified"
|
900
912
|
msgstr "只能指定一个功能或 job_template_id"
|
901
913
|
|
902
|
-
msgid "Open all in new tabs"
|
903
|
-
msgstr "
|
914
|
+
msgid "Open all %s invocations in new tabs"
|
915
|
+
msgstr ""
|
904
916
|
|
905
|
-
msgid "Open all
|
906
|
-
msgstr "
|
917
|
+
msgid "Open all failed runs (%s)"
|
918
|
+
msgstr ""
|
907
919
|
|
908
920
|
msgid "Open in new tab"
|
909
921
|
msgstr "在新标签页中打开"
|
910
922
|
|
923
|
+
msgid "Open in new tabs"
|
924
|
+
msgstr ""
|
925
|
+
|
926
|
+
msgid "Open selected in new tab"
|
927
|
+
msgstr ""
|
928
|
+
|
911
929
|
msgid "Opening job invocation form"
|
912
930
|
msgstr "打开作业调用表单"
|
913
931
|
|
@@ -1244,6 +1262,9 @@ msgstr "在分配给主机的代理之外搜索远程执行代理。搜索将会
|
|
1244
1262
|
msgid "Search query"
|
1245
1263
|
msgstr "搜索查询"
|
1246
1264
|
|
1265
|
+
msgid "Search query to cancel tasks only on matching hosts. If not provided, the whole job invocation will be cancelled."
|
1266
|
+
msgstr ""
|
1267
|
+
|
1247
1268
|
msgid "Search the host for any proxy with Remote Execution, useful when the host has no subnet or the subnet does not have an execution proxy"
|
1248
1269
|
msgstr "在主机上搜索具有远程执行功能的任何代理,当主机没有子网或子网没有执行代理时,此命令很有用"
|
1249
1270
|
|
@@ -1424,6 +1445,9 @@ msgstr "任务计数"
|
|
1424
1445
|
msgid "Task for the host cancelled succesfully"
|
1425
1446
|
msgstr "主机任务已成功取消"
|
1426
1447
|
|
1448
|
+
msgid "Task(s) were not %s"
|
1449
|
+
msgstr ""
|
1450
|
+
|
1427
1451
|
msgid "Template ERB"
|
1428
1452
|
msgstr "模版 ERB"
|
1429
1453
|
|
@@ -1478,8 +1502,8 @@ msgstr "此作业无法取消。"
|
|
1478
1502
|
msgid "The job template to use, parameter is required unless feature was specified"
|
1479
1503
|
msgstr "要使用的任务模板,除非已指定功能,否则参数是必需的"
|
1480
1504
|
|
1481
|
-
msgid "The number of invocations is:"
|
1482
|
-
msgstr "
|
1505
|
+
msgid "The number of %s invocations is:"
|
1506
|
+
msgstr ""
|
1483
1507
|
|
1484
1508
|
msgid "The only applicable proxy %{proxy_names} is down"
|
1485
1509
|
msgid_plural "All %{count} applicable proxies are down. Tried %{proxy_names}"
|
@@ -1509,8 +1533,8 @@ msgstr "这个模块用来生成描述。输入值可以使用语法 %{package}
|
|
1509
1533
|
msgid "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}."
|
1510
1534
|
msgstr "这个模块用来生成描述。<br/>输入值可以使用语法%%{package}。<br/>您可以使用 <br/> %{job_category}和 %{template_name} 来包括作业类型和模板名称。"
|
1511
1535
|
|
1512
|
-
msgid "This will open a new tab for each invocation."
|
1513
|
-
msgstr "
|
1536
|
+
msgid "This will open a new tab for each invocation. The maximum is 100."
|
1537
|
+
msgstr ""
|
1514
1538
|
|
1515
1539
|
msgid "Time in seconds from the start on the remote host after which the job should be killed."
|
1516
1540
|
msgstr "在远程主机上开始后,以秒计算时间,之后结束作业。"
|
@@ -1554,6 +1578,9 @@ msgstr "尝试取消作业"
|
|
1554
1578
|
msgid "Try to cancel the job on a host"
|
1555
1579
|
msgstr "尝试取消主机上的作业"
|
1556
1580
|
|
1581
|
+
msgid "Trying to %s the task"
|
1582
|
+
msgstr ""
|
1583
|
+
|
1557
1584
|
msgid "Trying to abort the job"
|
1558
1585
|
msgstr "尝试中止作业"
|
1559
1586
|
|
@@ -1575,11 +1602,11 @@ msgstr "尝试取消主机的任务"
|
|
1575
1602
|
msgid "Type"
|
1576
1603
|
msgstr "类型"
|
1577
1604
|
|
1578
|
-
msgid "Type
|
1579
|
-
msgstr "
|
1605
|
+
msgid "Type determines when the query is evaluated to hosts."
|
1606
|
+
msgstr ""
|
1580
1607
|
|
1581
|
-
msgid "Type
|
1582
|
-
msgstr "
|
1608
|
+
msgid "Type determines when the query is evaluated to hosts.<br><ul><li><b>Static</b> - Executes the job on the current list of target hosts.</li><li><b>Dynamic</b> - Evaluates the list of target hosts just before the job is executed. If you used a filter to select the target hosts, the list of target hosts might be different from the current list.</li></ul>"
|
1609
|
+
msgstr ""
|
1583
1610
|
|
1584
1611
|
msgid "Type of execution"
|
1585
1612
|
msgstr "执行类型"
|
@@ -1722,6 +1749,9 @@ msgstr "您有 %s 个结果现实。显示前 %s 个结果"
|
|
1722
1749
|
msgid "You have more results to display. Showing first %s results"
|
1723
1750
|
msgstr "有更多显示的结果。显示第一 %s 结果"
|
1724
1751
|
|
1752
|
+
msgid "aborted"
|
1753
|
+
msgstr ""
|
1754
|
+
|
1725
1755
|
msgid "add an input set for this template to reference a different template inputs"
|
1726
1756
|
msgstr "为此模板添加一个输入集,以引用其他模板输入"
|
1727
1757
|
|
@@ -1740,12 +1770,6 @@ msgstr "有效用户"
|
|
1740
1770
|
msgid "error during rendering: %s"
|
1741
1771
|
msgstr "呈现时出错:%s"
|
1742
1772
|
|
1743
|
-
msgid "evaluates just after you submit this form"
|
1744
|
-
msgstr "提交此表单后评估"
|
1745
|
-
|
1746
|
-
msgid "evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it"
|
1747
|
-
msgstr "在执行启动前进行评估,因此如果将来需要它,则目标主机设置可能会在它之前改变"
|
1748
|
-
|
1749
1773
|
msgid "failed"
|
1750
1774
|
msgstr "失败"
|
1751
1775
|
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_remote_execution
|
8
|
+
"Project-Id-Version: foreman_remote_execution 16.2.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2016-02-15 13:54+0000\n"
|
11
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
@@ -32,6 +32,9 @@ msgstr ""
|
|
32
32
|
msgid "%s more"
|
33
33
|
msgstr ""
|
34
34
|
|
35
|
+
msgid "%s task(s) successfully %s: %s"
|
36
|
+
msgstr ""
|
37
|
+
|
35
38
|
msgid "%{description} on %{host}"
|
36
39
|
msgstr "%{description} 於 %{host} 之上"
|
37
40
|
|
@@ -91,6 +94,9 @@ msgstr ""
|
|
91
94
|
msgid "Abort Job"
|
92
95
|
msgstr ""
|
93
96
|
|
97
|
+
msgid "Abort selected"
|
98
|
+
msgstr ""
|
99
|
+
|
94
100
|
msgid "Abort task"
|
95
101
|
msgstr ""
|
96
102
|
|
@@ -130,6 +136,9 @@ msgstr ""
|
|
130
136
|
msgid "An error occurred while fetching the template invocation details."
|
131
137
|
msgstr ""
|
132
138
|
|
139
|
+
msgid "An error occurred."
|
140
|
+
msgstr ""
|
141
|
+
|
133
142
|
msgid "Another interface is already set as execution. Are you sure you want to use this one instead?"
|
134
143
|
msgstr "另一個介面已設為執行。行您是否確定要使用此介面?"
|
135
144
|
|
@@ -148,7 +157,7 @@ msgstr ""
|
|
148
157
|
msgid "Apply to"
|
149
158
|
msgstr ""
|
150
159
|
|
151
|
-
msgid "Are you sure you want to open all invocations in new tabs?"
|
160
|
+
msgid "Are you sure you want to open all %s invocations in new tabs?"
|
152
161
|
msgstr ""
|
153
162
|
|
154
163
|
msgid "At"
|
@@ -181,12 +190,15 @@ msgstr "取消工作"
|
|
181
190
|
msgid "Cancel Task"
|
182
191
|
msgstr ""
|
183
192
|
|
184
|
-
msgid "Cancel job invocation"
|
193
|
+
msgid "Cancel job invocation or matching tasks only"
|
185
194
|
msgstr ""
|
186
195
|
|
187
196
|
msgid "Cancel recurring"
|
188
197
|
msgstr ""
|
189
198
|
|
199
|
+
msgid "Cancel selected"
|
200
|
+
msgstr ""
|
201
|
+
|
190
202
|
msgid "Cancelled"
|
191
203
|
msgstr "已取消"
|
192
204
|
|
@@ -253,12 +265,18 @@ msgstr ""
|
|
253
265
|
msgid "Could not abort the job %s: ${response}"
|
254
266
|
msgstr ""
|
255
267
|
|
268
|
+
msgid "Could not abort the task"
|
269
|
+
msgstr ""
|
270
|
+
|
256
271
|
msgid "Could not cancel recurring logic %s: ${response}"
|
257
272
|
msgstr ""
|
258
273
|
|
259
274
|
msgid "Could not cancel the job %s: ${response}"
|
260
275
|
msgstr ""
|
261
276
|
|
277
|
+
msgid "Could not cancel the task"
|
278
|
+
msgstr ""
|
279
|
+
|
262
280
|
msgid "Could not disable recurring logic %s: ${response}"
|
263
281
|
msgstr ""
|
264
282
|
|
@@ -466,6 +484,9 @@ msgstr ""
|
|
466
484
|
msgid "Evaluated at:"
|
467
485
|
msgstr "評量於:"
|
468
486
|
|
487
|
+
msgid "Evaluates the list of target hosts just before the job is executed. If you used a filter to select the target hosts, the list of target hosts might be different from the current list."
|
488
|
+
msgstr ""
|
489
|
+
|
469
490
|
msgid "Every day at %s"
|
470
491
|
msgstr ""
|
471
492
|
|
@@ -490,6 +511,9 @@ msgstr ""
|
|
490
511
|
msgid "Execute the jobs on hosts in randomized order"
|
491
512
|
msgstr ""
|
492
513
|
|
514
|
+
msgid "Executes the job on the current list of target hosts."
|
515
|
+
msgstr ""
|
516
|
+
|
493
517
|
msgid "Execution"
|
494
518
|
msgstr "執行"
|
495
519
|
|
@@ -499,7 +523,7 @@ msgstr ""
|
|
499
523
|
msgid "Execution ordering"
|
500
524
|
msgstr ""
|
501
525
|
|
502
|
-
msgid "Execution ordering determines whether the jobs should be executed on hosts in alphabetical order or in randomized order.<br><ul><li><b>Ordered</b> -
|
526
|
+
msgid "Execution ordering determines whether the jobs should be executed on hosts in alphabetical order or in randomized order.<br><ul><li><b>Ordered</b> - Executes the jobs on hosts in alphabetical order</li><li><b>Randomized</b> - Randomizes the order in which jobs are executed on hosts</li></ul>"
|
503
527
|
msgstr ""
|
504
528
|
|
505
529
|
msgid "Exit status: %s"
|
@@ -697,27 +721,18 @@ msgstr "工作任務"
|
|
697
721
|
msgid "Job Templates"
|
698
722
|
msgstr "工作範本"
|
699
723
|
|
700
|
-
msgid "Job cancelled by user"
|
701
|
-
msgstr ""
|
702
|
-
|
703
724
|
msgid "Job category"
|
704
725
|
msgstr "工作類別"
|
705
726
|
|
706
727
|
msgid "Job execution failed"
|
707
728
|
msgstr ""
|
708
729
|
|
709
|
-
msgid "Job finished with error"
|
710
|
-
msgstr "工作完成但發生錯誤"
|
711
|
-
|
712
730
|
msgid "Job invocation"
|
713
731
|
msgstr "工作祈願"
|
714
732
|
|
715
733
|
msgid "Job invocations"
|
716
734
|
msgstr "工作祈願"
|
717
735
|
|
718
|
-
msgid "Job invocations detail"
|
719
|
-
msgstr ""
|
720
|
-
|
721
736
|
msgid "Job result"
|
722
737
|
msgstr ""
|
723
738
|
|
@@ -730,9 +745,6 @@ msgstr "要給這功能使用的工作範本 ID"
|
|
730
745
|
msgid "Job template imported successfully."
|
731
746
|
msgstr ""
|
732
747
|
|
733
|
-
msgid "Job templates"
|
734
|
-
msgstr "工作範本"
|
735
|
-
|
736
748
|
msgid "Job with id '%{id}' was not found"
|
737
749
|
msgstr ""
|
738
750
|
|
@@ -898,15 +910,21 @@ msgstr "開啟"
|
|
898
910
|
msgid "Only one of feature or job_template_id can be specified"
|
899
911
|
msgstr ""
|
900
912
|
|
901
|
-
msgid "Open all in new tabs"
|
913
|
+
msgid "Open all %s invocations in new tabs"
|
902
914
|
msgstr ""
|
903
915
|
|
904
|
-
msgid "Open all
|
916
|
+
msgid "Open all failed runs (%s)"
|
905
917
|
msgstr ""
|
906
918
|
|
907
919
|
msgid "Open in new tab"
|
908
920
|
msgstr ""
|
909
921
|
|
922
|
+
msgid "Open in new tabs"
|
923
|
+
msgstr ""
|
924
|
+
|
925
|
+
msgid "Open selected in new tab"
|
926
|
+
msgstr ""
|
927
|
+
|
910
928
|
msgid "Opening job invocation form"
|
911
929
|
msgstr ""
|
912
930
|
|
@@ -1243,6 +1261,9 @@ msgstr ""
|
|
1243
1261
|
msgid "Search query"
|
1244
1262
|
msgstr "搜尋查詢"
|
1245
1263
|
|
1264
|
+
msgid "Search query to cancel tasks only on matching hosts. If not provided, the whole job invocation will be cancelled."
|
1265
|
+
msgstr ""
|
1266
|
+
|
1246
1267
|
msgid "Search the host for any proxy with Remote Execution, useful when the host has no subnet or the subnet does not have an execution proxy"
|
1247
1268
|
msgstr "使用遠端執行為代理搜尋主機,這在主機沒有子網路、或子網路沒有執行代理時很有用"
|
1248
1269
|
|
@@ -1423,6 +1444,9 @@ msgstr "工作數量"
|
|
1423
1444
|
msgid "Task for the host cancelled succesfully"
|
1424
1445
|
msgstr ""
|
1425
1446
|
|
1447
|
+
msgid "Task(s) were not %s"
|
1448
|
+
msgstr ""
|
1449
|
+
|
1426
1450
|
msgid "Template ERB"
|
1427
1451
|
msgstr ""
|
1428
1452
|
|
@@ -1477,7 +1501,7 @@ msgstr ""
|
|
1477
1501
|
msgid "The job template to use, parameter is required unless feature was specified"
|
1478
1502
|
msgstr ""
|
1479
1503
|
|
1480
|
-
msgid "The number of invocations is:"
|
1504
|
+
msgid "The number of %s invocations is:"
|
1481
1505
|
msgstr ""
|
1482
1506
|
|
1483
1507
|
msgid "The only applicable proxy %{proxy_names} is down"
|
@@ -1509,7 +1533,7 @@ msgstr "這範本是用來產生描述。輸入值可以使用 %{package} 語法
|
|
1509
1533
|
msgid "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}."
|
1510
1534
|
msgstr ""
|
1511
1535
|
|
1512
|
-
msgid "This will open a new tab for each invocation."
|
1536
|
+
msgid "This will open a new tab for each invocation. The maximum is 100."
|
1513
1537
|
msgstr ""
|
1514
1538
|
|
1515
1539
|
msgid "Time in seconds from the start on the remote host after which the job should be killed."
|
@@ -1554,6 +1578,9 @@ msgstr "試著取消工作"
|
|
1554
1578
|
msgid "Try to cancel the job on a host"
|
1555
1579
|
msgstr "試著取消主機上的工作"
|
1556
1580
|
|
1581
|
+
msgid "Trying to %s the task"
|
1582
|
+
msgstr ""
|
1583
|
+
|
1557
1584
|
msgid "Trying to abort the job"
|
1558
1585
|
msgstr ""
|
1559
1586
|
|
@@ -1575,10 +1602,10 @@ msgstr ""
|
|
1575
1602
|
msgid "Type"
|
1576
1603
|
msgstr "類型"
|
1577
1604
|
|
1578
|
-
msgid "Type
|
1605
|
+
msgid "Type determines when the query is evaluated to hosts."
|
1579
1606
|
msgstr ""
|
1580
1607
|
|
1581
|
-
msgid "Type
|
1608
|
+
msgid "Type determines when the query is evaluated to hosts.<br><ul><li><b>Static</b> - Executes the job on the current list of target hosts.</li><li><b>Dynamic</b> - Evaluates the list of target hosts just before the job is executed. If you used a filter to select the target hosts, the list of target hosts might be different from the current list.</li></ul>"
|
1582
1609
|
msgstr ""
|
1583
1610
|
|
1584
1611
|
msgid "Type of execution"
|
@@ -1722,6 +1749,9 @@ msgstr ""
|
|
1722
1749
|
msgid "You have more results to display. Showing first %s results"
|
1723
1750
|
msgstr ""
|
1724
1751
|
|
1752
|
+
msgid "aborted"
|
1753
|
+
msgstr ""
|
1754
|
+
|
1725
1755
|
msgid "add an input set for this template to reference a different template inputs"
|
1726
1756
|
msgstr "為此範本新增輸入集,以參照至不同的範本輸入"
|
1727
1757
|
|
@@ -1740,12 +1770,6 @@ msgstr ""
|
|
1740
1770
|
msgid "error during rendering: %s"
|
1741
1771
|
msgstr "處理時發生錯誤:%s"
|
1742
1772
|
|
1743
|
-
msgid "evaluates just after you submit this form"
|
1744
|
-
msgstr ""
|
1745
|
-
|
1746
|
-
msgid "evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it"
|
1747
|
-
msgstr ""
|
1748
|
-
|
1749
1773
|
msgid "failed"
|
1750
1774
|
msgstr "已失敗"
|
1751
1775
|
|
@@ -28,7 +28,6 @@ import {
|
|
28
28
|
} from './JobInvocationConstants';
|
29
29
|
import {
|
30
30
|
selectHasPermission,
|
31
|
-
selectItems,
|
32
31
|
selectTaskCancelable,
|
33
32
|
} from './JobInvocationSelectors';
|
34
33
|
import OpenAllInvocationsModal, { PopupAlert } from './OpenAllInvocationsModal';
|
@@ -123,7 +122,7 @@ export const CheckboxesActions = ({
|
|
123
122
|
const hasCancelPermission = useSelector(
|
124
123
|
selectHasPermission('cancel_job_invocations')
|
125
124
|
);
|
126
|
-
const jobSearchQuery =
|
125
|
+
const jobSearchQuery = `job_invocation.id = ${jobID}`;
|
127
126
|
const filterQuery =
|
128
127
|
filter && filter !== 'all_statuses'
|
129
128
|
? ` and job_invocation.result = ${filter}`
|
@@ -23,7 +23,7 @@ import TableIndexPage from 'foremanReact/components/PF4/TableIndexPage/TableInde
|
|
23
23
|
import { getControllerSearchProps } from 'foremanReact/constants';
|
24
24
|
import { Icon } from 'patternfly-react';
|
25
25
|
import PropTypes from 'prop-types';
|
26
|
-
import React, { useEffect, useMemo, useState } from 'react';
|
26
|
+
import React, { useEffect, useMemo, useState, useRef } from 'react';
|
27
27
|
import { FormattedMessage } from 'react-intl';
|
28
28
|
import { useHistory } from 'react-router-dom';
|
29
29
|
import URI from 'urijs';
|
@@ -45,6 +45,7 @@ const JobInvocationHostTable = ({
|
|
45
45
|
id,
|
46
46
|
initialFilter,
|
47
47
|
onFilterUpdate,
|
48
|
+
statusLabel,
|
48
49
|
targeting,
|
49
50
|
}) => {
|
50
51
|
const columns = Columns();
|
@@ -53,6 +54,7 @@ const JobInvocationHostTable = ({
|
|
53
54
|
const history = useHistory();
|
54
55
|
const [selectedFilter, setSelectedFilter] = useState(initialFilter);
|
55
56
|
const [expandedHost, setExpandedHost] = useState([]);
|
57
|
+
const prevStatusLabel = useRef(statusLabel);
|
56
58
|
|
57
59
|
useEffect(() => {
|
58
60
|
if (initialFilter !== selectedFilter) {
|
@@ -138,6 +140,14 @@ const JobInvocationHostTable = ({
|
|
138
140
|
}
|
139
141
|
}, [allResponse]);
|
140
142
|
|
143
|
+
useEffect(() => {
|
144
|
+
if (statusLabel !== prevStatusLabel.current) {
|
145
|
+
setAPIOptions(prevOptions => ({ ...prevOptions }));
|
146
|
+
prevStatusLabel.current = statusLabel;
|
147
|
+
}
|
148
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
149
|
+
}, [statusLabel]);
|
150
|
+
|
141
151
|
const {
|
142
152
|
updateSearchQuery: updateSearchQueryBulk,
|
143
153
|
fetchBulkParams,
|
@@ -408,6 +418,7 @@ const JobInvocationHostTable = ({
|
|
408
418
|
</div>
|
409
419
|
) : (
|
410
420
|
<TemplateInvocation
|
421
|
+
key={`${result.id}-${result.job_status}`}
|
411
422
|
hostID={result.id}
|
412
423
|
jobID={id}
|
413
424
|
isInTableView
|
@@ -430,11 +441,13 @@ JobInvocationHostTable.propTypes = {
|
|
430
441
|
targeting: PropTypes.object.isRequired,
|
431
442
|
failedCount: PropTypes.number.isRequired,
|
432
443
|
initialFilter: PropTypes.string.isRequired,
|
444
|
+
statusLabel: PropTypes.string,
|
433
445
|
onFilterUpdate: PropTypes.func,
|
434
446
|
};
|
435
447
|
|
436
448
|
JobInvocationHostTable.defaultProps = {
|
437
449
|
onFilterUpdate: () => {},
|
450
|
+
statusLabel: undefined,
|
438
451
|
};
|
439
452
|
|
440
453
|
export default JobInvocationHostTable;
|