foreman_remote_execution 15.0.1 → 15.0.2

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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +12 -12
  3. data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +3 -3
  4. data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +11 -11
  5. data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +82 -82
  6. data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +82 -82
  7. data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +13 -13
  8. data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +79 -79
  9. data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +10 -10
  10. data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +12 -12
  11. data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +73 -73
  12. data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +10 -10
  13. data/app/views/job_invocations/_form.html.erb +2 -2
  14. data/app/views/template_invocations/_refresh.js.erb +2 -2
  15. data/lib/foreman_remote_execution/engine.rb +1 -1
  16. data/lib/foreman_remote_execution/version.rb +1 -1
  17. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  18. data/locale/de/foreman_remote_execution.po +12 -12
  19. data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  20. data/locale/en_GB/foreman_remote_execution.po +3 -3
  21. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  22. data/locale/es/foreman_remote_execution.po +11 -11
  23. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  24. data/locale/fr/foreman_remote_execution.po +82 -82
  25. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  26. data/locale/ja/foreman_remote_execution.po +82 -82
  27. data/locale/ka/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  28. data/locale/ka/foreman_remote_execution.po +13 -13
  29. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  30. data/locale/ko/foreman_remote_execution.po +79 -79
  31. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  32. data/locale/pt_BR/foreman_remote_execution.po +10 -10
  33. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  34. data/locale/ru/foreman_remote_execution.po +12 -12
  35. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  36. data/locale/zh_CN/foreman_remote_execution.po +73 -73
  37. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  38. data/locale/zh_TW/foreman_remote_execution.po +10 -10
  39. data/webpack/JobInvocationDetail/TemplateInvocationComponents/TemplateActionButtons.js +8 -9
  40. data/webpack/JobInvocationDetail/TemplateInvocationComponents/index.scss +3 -0
  41. data/webpack/JobWizard/steps/AdvancedFields/Fields.js +1 -1
  42. data/webpack/JobWizard/steps/Schedule/QueryType.js +3 -3
  43. metadata +3 -5
  44. data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +0 -1842
  45. data/locale/en/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  46. data/locale/en/foreman_remote_execution.po +0 -1840
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_remote_execution 15.0.0\n"
8
+ "Project-Id-Version: foreman_remote_execution 15.0.1\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"
@@ -233,7 +233,7 @@ msgid "Cockpit URL"
233
233
  msgstr ""
234
234
 
235
235
  msgid "Command"
236
- msgstr ""
236
+ msgstr "指令"
237
237
 
238
238
  msgid "Concurrency level"
239
239
  msgstr "同步等級"
@@ -323,7 +323,7 @@ msgid "Cronline"
323
323
  msgstr ""
324
324
 
325
325
  msgid "Current iteration"
326
- msgstr ""
326
+ msgstr "現有重述"
327
327
 
328
328
  msgid "Current location %s is different from job's location %s. This job may run on different hosts than before."
329
329
  msgstr ""
@@ -674,7 +674,7 @@ msgid "Invocation type, one of %s"
674
674
  msgstr "祈願類型,%s 之一"
675
675
 
676
676
  msgid "Iteration limit"
677
- msgstr ""
677
+ msgstr "重述限制"
678
678
 
679
679
  msgid "Job"
680
680
  msgstr "工作"
@@ -767,7 +767,7 @@ msgid "Last execution succeeded"
767
767
  msgstr "最後的執行成功"
768
768
 
769
769
  msgid "Last occurrence"
770
- msgstr ""
770
+ msgstr "最後一次發生"
771
771
 
772
772
  msgid "Latest Jobs"
773
773
  msgstr ""
@@ -845,7 +845,7 @@ msgid "Next"
845
845
  msgstr "下一步"
846
846
 
847
847
  msgid "Next occurrence"
848
- msgstr ""
848
+ msgstr "下次發生"
849
849
 
850
850
  msgid "No (override)"
851
851
  msgstr ""
@@ -1094,7 +1094,7 @@ msgid "Repeat amount can only be a positive number"
1094
1094
  msgstr ""
1095
1095
 
1096
1096
  msgid "Repeat until"
1097
- msgstr ""
1097
+ msgstr "重複直到"
1098
1098
 
1099
1099
  msgid "Repeats"
1100
1100
  msgstr "重複"
@@ -1316,7 +1316,7 @@ msgid "Skip to review step"
1316
1316
  msgstr ""
1317
1317
 
1318
1318
  msgid "Smart proxy"
1319
- msgstr ""
1319
+ msgstr "智慧代理"
1320
1320
 
1321
1321
  msgid "Snippet"
1322
1322
  msgstr "程式碼片段"
@@ -1418,7 +1418,7 @@ msgid "Task cancelled"
1418
1418
  msgstr ""
1419
1419
 
1420
1420
  msgid "Task count"
1421
- msgstr ""
1421
+ msgstr "工作數量"
1422
1422
 
1423
1423
  msgid "Task for the host cancelled succesfully"
1424
1424
  msgstr ""
@@ -1603,7 +1603,7 @@ msgid "Unable to save template. Correct highlighted errors"
1603
1603
  msgstr ""
1604
1604
 
1605
1605
  msgid "Unknown"
1606
- msgstr ""
1606
+ msgstr "不明"
1607
1607
 
1608
1608
  msgid "Unknown execution status"
1609
1609
  msgstr "未知的執行狀態"
@@ -7,6 +7,7 @@ import { APIActions } from 'foremanReact/redux/API';
7
7
  import { addToast } from 'foremanReact/components/ToastsList';
8
8
  import { translate as __ } from 'foremanReact/common/I18n';
9
9
  import { selectTemplateInvocation } from '../JobInvocationSelectors';
10
+ import './index.scss';
10
11
 
11
12
  const actions = ({
12
13
  taskID,
@@ -55,7 +56,7 @@ const actions = ({
55
56
  },
56
57
  abort: {
57
58
  name: 'template-invocation-abort-job',
58
- text: __('Abort task'),
59
+ text: __('Abort Task'),
59
60
  permission: permissions.cancel_job_invocations,
60
61
  onClick: () => {
61
62
  dispatch(
@@ -96,17 +97,15 @@ export const RowActions = ({ hostID, jobID }) => {
96
97
  permissions,
97
98
  dispatch,
98
99
  });
100
+
99
101
  const rowActions = Object.values(getActions)
100
- .map(({ text, onClick, href, permission, isDisabled }) =>
102
+ .map(({ text, href, onClick, permission, isDisabled }) =>
101
103
  permission
102
104
  ? {
103
- title: href ? (
104
- <a href={href} target="_blank" rel="noreferrer">
105
- {text}
106
- </a>
107
- ) : (
108
- text
109
- ),
105
+ title: text,
106
+ component: 'a',
107
+ className: 'jobs-table-action-item',
108
+ href,
110
109
  onClick,
111
110
  isDisabled,
112
111
  }
@@ -0,0 +1,3 @@
1
+ .jobs-table-action-item:hover {
2
+ color: var(--pf-c-dropdown__menu-item--Color);
3
+ }
@@ -181,7 +181,7 @@ export const ExecutionOrderingField = ({ isRandomizedOrdering, setValue }) => (
181
181
  <div
182
182
  dangerouslySetInnerHTML={{
183
183
  __html: __(
184
- '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>'
184
+ '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>'
185
185
  ),
186
186
  }}
187
187
  />,
@@ -10,7 +10,7 @@ export const QueryType = ({ isTypeStatic, setIsTypeStatic }) => (
10
10
  label={__('Query type')}
11
11
  fieldId="query-type-static"
12
12
  labelIcon={helpLabel(
13
- __('Type has impact on when is the query evaluated to hosts.'),
13
+ __('Type determines when the query is evaluated to hosts.'),
14
14
  'query-type'
15
15
  )}
16
16
  >
@@ -21,7 +21,7 @@ export const QueryType = ({ isTypeStatic, setIsTypeStatic }) => (
21
21
  onChange={() => setIsTypeStatic(true)}
22
22
  id="query-type-static"
23
23
  label={__('Static query')}
24
- body={__('evaluates just after you submit this form')}
24
+ body={__('Executes the job on the current list of target hosts.')}
25
25
  />
26
26
  </FormGroup>
27
27
  <FormGroup fieldId="query-type-dynamic">
@@ -33,7 +33,7 @@ export const QueryType = ({ isTypeStatic, setIsTypeStatic }) => (
33
33
  id="query-type-dynamic"
34
34
  label={__('Dynamic query')}
35
35
  body={__(
36
- "evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it"
36
+ '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.'
37
37
  )}
38
38
  />
39
39
  </FormGroup>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_remote_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.1
4
+ version: 15.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-02-18 00:00:00.000000000 Z
10
+ date: 2025-03-04 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: deface
@@ -101,7 +101,6 @@ files:
101
101
  - app/assets/javascripts/foreman_remote_execution/execution_interface.js
102
102
  - app/assets/javascripts/foreman_remote_execution/job_templates.js
103
103
  - app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js
104
- - app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js
105
104
  - app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js
106
105
  - app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js
107
106
  - app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js
@@ -360,8 +359,6 @@ files:
360
359
  - locale/Makefile
361
360
  - locale/de/LC_MESSAGES/foreman_remote_execution.mo
362
361
  - locale/de/foreman_remote_execution.po
363
- - locale/en/LC_MESSAGES/foreman_remote_execution.mo
364
- - locale/en/foreman_remote_execution.po
365
362
  - locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo
366
363
  - locale/en_GB/foreman_remote_execution.po
367
364
  - locale/es/LC_MESSAGES/foreman_remote_execution.mo
@@ -438,6 +435,7 @@ files:
438
435
  - webpack/JobInvocationDetail/TemplateInvocationComponents/OutputToggleGroup.js
439
436
  - webpack/JobInvocationDetail/TemplateInvocationComponents/PreviewTemplate.js
440
437
  - webpack/JobInvocationDetail/TemplateInvocationComponents/TemplateActionButtons.js
438
+ - webpack/JobInvocationDetail/TemplateInvocationComponents/index.scss
441
439
  - webpack/JobInvocationDetail/TemplateInvocationPage.js
442
440
  - webpack/JobInvocationDetail/__tests__/MainInformation.test.js
443
441
  - webpack/JobInvocationDetail/__tests__/OpenAlInvocations.test.js