foreman_templates 10.0.3 → 10.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_templates/locale/cs_CZ/foreman_templates.js +4 -4
  3. data/app/assets/javascripts/foreman_templates/locale/de/foreman_templates.js +4 -4
  4. data/app/assets/javascripts/foreman_templates/locale/en_GB/foreman_templates.js +2 -2
  5. data/app/assets/javascripts/foreman_templates/locale/es/foreman_templates.js +43 -43
  6. data/app/assets/javascripts/foreman_templates/locale/fr/foreman_templates.js +4 -4
  7. data/app/assets/javascripts/foreman_templates/locale/gl/foreman_templates.js +2 -2
  8. data/app/assets/javascripts/foreman_templates/locale/it/foreman_templates.js +4 -4
  9. data/app/assets/javascripts/foreman_templates/locale/ja/foreman_templates.js +4 -4
  10. data/app/assets/javascripts/foreman_templates/locale/ka/foreman_templates.js +4 -4
  11. data/app/assets/javascripts/foreman_templates/locale/ko/foreman_templates.js +4 -4
  12. data/app/assets/javascripts/foreman_templates/locale/pt_BR/foreman_templates.js +4 -4
  13. data/app/assets/javascripts/foreman_templates/locale/ru/foreman_templates.js +4 -4
  14. data/app/assets/javascripts/foreman_templates/locale/sv_SE/foreman_templates.js +2 -2
  15. data/app/assets/javascripts/foreman_templates/locale/zh_CN/foreman_templates.js +4 -4
  16. data/app/assets/javascripts/foreman_templates/locale/zh_TW/foreman_templates.js +4 -4
  17. data/app/controllers/api/v2/template_controller.rb +2 -1
  18. data/lib/foreman_templates/version.rb +1 -1
  19. data/locale/cs_CZ/LC_MESSAGES/foreman_templates.mo +0 -0
  20. data/locale/cs_CZ/foreman_templates.po +7 -5
  21. data/locale/de/LC_MESSAGES/foreman_templates.mo +0 -0
  22. data/locale/de/foreman_templates.po +7 -5
  23. data/locale/en_GB/LC_MESSAGES/foreman_templates.mo +0 -0
  24. data/locale/en_GB/foreman_templates.po +4 -2
  25. data/locale/es/LC_MESSAGES/foreman_templates.mo +0 -0
  26. data/locale/es/foreman_templates.po +48 -45
  27. data/locale/fr/LC_MESSAGES/foreman_templates.mo +0 -0
  28. data/locale/fr/foreman_templates.po +7 -6
  29. data/locale/gl/LC_MESSAGES/foreman_templates.mo +0 -0
  30. data/locale/gl/foreman_templates.po +4 -2
  31. data/locale/it/LC_MESSAGES/foreman_templates.mo +0 -0
  32. data/locale/it/foreman_templates.po +7 -5
  33. data/locale/ja/LC_MESSAGES/foreman_templates.mo +0 -0
  34. data/locale/ja/foreman_templates.po +7 -5
  35. data/locale/ka/LC_MESSAGES/foreman_templates.mo +0 -0
  36. data/locale/ka/foreman_templates.po +7 -5
  37. data/locale/ko/LC_MESSAGES/foreman_templates.mo +0 -0
  38. data/locale/ko/foreman_templates.po +7 -6
  39. data/locale/pt_BR/LC_MESSAGES/foreman_templates.mo +0 -0
  40. data/locale/pt_BR/foreman_templates.po +7 -5
  41. data/locale/ru/LC_MESSAGES/foreman_templates.mo +0 -0
  42. data/locale/ru/foreman_templates.po +7 -5
  43. data/locale/sv_SE/LC_MESSAGES/foreman_templates.mo +0 -0
  44. data/locale/sv_SE/foreman_templates.po +4 -2
  45. data/locale/zh_CN/LC_MESSAGES/foreman_templates.mo +0 -0
  46. data/locale/zh_CN/foreman_templates.po +7 -6
  47. data/locale/zh_TW/LC_MESSAGES/foreman_templates.mo +0 -0
  48. data/locale/zh_TW/foreman_templates.po +7 -5
  49. data/webpack/components/NewTemplateSync/components/ProxySettingFields.js +13 -9
  50. metadata +2 -2
@@ -8,7 +8,7 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_templates 10.0.3\n"
11
+ "Project-Id-Version: foreman_templates 10.0.4\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2019-10-14 12:27+0000\n"
14
14
  "Last-Translator: johnny.westerlund <johnny.westerlund@gmail.com>, 2023\n"
@@ -89,7 +89,9 @@ msgstr ""
89
89
  msgid "HTTP proxy policy"
90
90
  msgstr ""
91
91
 
92
- msgid "HTTP proxy policy for template sync. If you choose 'selected', provide the `http_proxy_id` parameter."
92
+ msgid ""
93
+ "HTTP proxy policy for template sync. \\\n"
94
+ " Use only when synchronizing templates through the HTTP or the HTTPS protocol. If you choose 'selected', provide the `http_proxy_id` parameter."
93
95
  msgstr ""
94
96
 
95
97
  msgid "How to handle lock for imported templates?"
@@ -6,16 +6,15 @@
6
6
  # Translators:
7
7
  # Martin Liu <liuzh66@gmail.com>, 2019
8
8
  # Bryan Kearney <bryan.kearney@gmail.com>, 2023
9
- # Amit Upadhye <aupadhye@redhat.com>, 2023
10
9
  # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
10
+ # Amit Upadhye <aupadhye@redhat.com>, 2024
11
11
  #
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: foreman_templates 10.0.3\n"
14
+ "Project-Id-Version: foreman_templates 10.0.4\n"
15
15
  "Report-Msgid-Bugs-To: \n"
16
16
  "PO-Revision-Date: 2019-10-14 12:27+0000\n"
17
- "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
18
- "n.nl>, 2024\n"
17
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2024\n"
19
18
  "Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/zh"
20
19
  "_CN/)\n"
21
20
  "MIME-Version: 1.0\n"
@@ -88,12 +87,14 @@ msgid "Global default HTTP proxy"
88
87
  msgstr ""
89
88
 
90
89
  msgid "HTTP proxy"
91
- msgstr ""
90
+ msgstr "HTTP 代理"
92
91
 
93
92
  msgid "HTTP proxy policy"
94
93
  msgstr ""
95
94
 
96
- msgid "HTTP proxy policy for template sync. If you choose 'selected', provide the `http_proxy_id` parameter."
95
+ msgid ""
96
+ "HTTP proxy policy for template sync. \\\n"
97
+ " Use only when synchronizing templates through the HTTP or the HTTPS protocol. If you choose 'selected', provide the `http_proxy_id` parameter."
97
98
  msgstr ""
98
99
 
99
100
  msgid "How to handle lock for imported templates?"
@@ -5,14 +5,14 @@
5
5
  #
6
6
  # Translators:
7
7
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2019
8
- # Bryan Kearney <bryan.kearney@gmail.com>, 2023
8
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2024
9
9
  #
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_templates 10.0.3\n"
12
+ "Project-Id-Version: foreman_templates 10.0.4\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
14
  "PO-Revision-Date: 2019-10-14 12:27+0000\n"
15
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2023\n"
15
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2024\n"
16
16
  "Language-Team: Chinese (Taiwan) (https://app.transifex.com/foreman/teams/114/z"
17
17
  "h_TW/)\n"
18
18
  "MIME-Version: 1.0\n"
@@ -85,12 +85,14 @@ msgid "Global default HTTP proxy"
85
85
  msgstr ""
86
86
 
87
87
  msgid "HTTP proxy"
88
- msgstr ""
88
+ msgstr "HTTP 代理"
89
89
 
90
90
  msgid "HTTP proxy policy"
91
91
  msgstr ""
92
92
 
93
- msgid "HTTP proxy policy for template sync. If you choose 'selected', provide the `http_proxy_id` parameter."
93
+ msgid ""
94
+ "HTTP proxy policy for template sync. \\\n"
95
+ " Use only when synchronizing templates through the HTTP or the HTTPS protocol. If you choose 'selected', provide the `http_proxy_id` parameter."
94
96
  msgstr ""
95
97
 
96
98
  msgid "How to handle lock for imported templates?"
@@ -29,15 +29,19 @@ const ProxySettingsFields = ({
29
29
  <React.Fragment>
30
30
  <FormikField
31
31
  name={proxyPolicyFieldName}
32
- render={({ field, form }) => (
33
- <ProxySettingField
34
- setting={proxyPolicySetting}
35
- resetField={resetField}
36
- field={field}
37
- form={form}
38
- fieldName={proxyPolicyFieldName}
39
- />
40
- )}
32
+ render={({ field, form }) => {
33
+ if (form.values[syncType]?.repo?.match(/^https?:\/\//))
34
+ return (
35
+ <ProxySettingField
36
+ setting={proxyPolicySetting}
37
+ resetField={resetField}
38
+ field={field}
39
+ form={form}
40
+ fieldName={proxyPolicyFieldName}
41
+ />
42
+ );
43
+ return <></>;
44
+ }}
41
45
  />
42
46
  <FormikField
43
47
  name={proxyIdFieldName}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.3
4
+ version: 10.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sutcliffe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-03 00:00:00.000000000 Z
11
+ date: 2025-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diffy