foreman_puppet 11.1.0 → 11.2.1

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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_puppet/locale/ca/foreman_puppet.js +182 -2
  3. data/app/assets/javascripts/foreman_puppet/locale/cs_CZ/foreman_puppet.js +182 -2
  4. data/app/assets/javascripts/foreman_puppet/locale/de/foreman_puppet.js +182 -2
  5. data/app/assets/javascripts/foreman_puppet/locale/en/foreman_puppet.js +181 -1
  6. data/app/assets/javascripts/foreman_puppet/locale/en_GB/foreman_puppet.js +181 -1
  7. data/app/assets/javascripts/foreman_puppet/locale/es/foreman_puppet.js +182 -2
  8. data/app/assets/javascripts/foreman_puppet/locale/fr/foreman_puppet.js +188 -2
  9. data/app/assets/javascripts/foreman_puppet/locale/gl/foreman_puppet.js +181 -1
  10. data/app/assets/javascripts/foreman_puppet/locale/it/foreman_puppet.js +182 -2
  11. data/app/assets/javascripts/foreman_puppet/locale/ja/foreman_puppet.js +195 -21
  12. data/app/assets/javascripts/foreman_puppet/locale/ka/foreman_puppet.js +192 -12
  13. data/app/assets/javascripts/foreman_puppet/locale/ko/foreman_puppet.js +177 -3
  14. data/app/assets/javascripts/foreman_puppet/locale/nl_NL/foreman_puppet.js +181 -1
  15. data/app/assets/javascripts/foreman_puppet/locale/pl/foreman_puppet.js +181 -1
  16. data/app/assets/javascripts/foreman_puppet/locale/pt_BR/foreman_puppet.js +182 -2
  17. data/app/assets/javascripts/foreman_puppet/locale/ru/foreman_puppet.js +182 -2
  18. data/app/assets/javascripts/foreman_puppet/locale/sv_SE/foreman_puppet.js +181 -1
  19. data/app/assets/javascripts/foreman_puppet/locale/zh_CN/foreman_puppet.js +176 -2
  20. data/app/assets/javascripts/foreman_puppet/locale/zh_TW/foreman_puppet.js +182 -2
  21. data/app/models/foreman_puppet/config_group.rb +3 -1
  22. data/app/models/foreman_puppet/host_config_group.rb +12 -0
  23. data/app/models/foreman_puppet/puppetclass.rb +14 -3
  24. data/lib/foreman_puppet/version.rb +1 -1
  25. data/locale/ca/LC_MESSAGES/foreman_puppet.mo +0 -0
  26. data/locale/ca/foreman_puppet.po +189 -3
  27. data/locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo +0 -0
  28. data/locale/cs_CZ/foreman_puppet.po +189 -3
  29. data/locale/de/LC_MESSAGES/foreman_puppet.mo +0 -0
  30. data/locale/de/foreman_puppet.po +191 -5
  31. data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
  32. data/locale/en/foreman_puppet.po +187 -1
  33. data/locale/en_GB/LC_MESSAGES/foreman_puppet.mo +0 -0
  34. data/locale/en_GB/foreman_puppet.po +187 -1
  35. data/locale/es/LC_MESSAGES/foreman_puppet.mo +0 -0
  36. data/locale/es/foreman_puppet.po +190 -5
  37. data/locale/foreman_puppet.pot +312 -13
  38. data/locale/fr/LC_MESSAGES/foreman_puppet.mo +0 -0
  39. data/locale/fr/foreman_puppet.po +198 -5
  40. data/locale/gl/LC_MESSAGES/foreman_puppet.mo +0 -0
  41. data/locale/gl/foreman_puppet.po +187 -1
  42. data/locale/it/LC_MESSAGES/foreman_puppet.mo +0 -0
  43. data/locale/it/foreman_puppet.po +189 -3
  44. data/locale/ja/LC_MESSAGES/foreman_puppet.mo +0 -0
  45. data/locale/ja/foreman_puppet.po +203 -23
  46. data/locale/ka/LC_MESSAGES/foreman_puppet.mo +0 -0
  47. data/locale/ka/foreman_puppet.po +199 -13
  48. data/locale/ko/LC_MESSAGES/foreman_puppet.mo +0 -0
  49. data/locale/ko/foreman_puppet.po +186 -6
  50. data/locale/nl_NL/LC_MESSAGES/foreman_puppet.mo +0 -0
  51. data/locale/nl_NL/foreman_puppet.po +187 -1
  52. data/locale/pl/LC_MESSAGES/foreman_puppet.mo +0 -0
  53. data/locale/pl/foreman_puppet.po +187 -1
  54. data/locale/pt_BR/LC_MESSAGES/foreman_puppet.mo +0 -0
  55. data/locale/pt_BR/foreman_puppet.po +190 -5
  56. data/locale/ru/LC_MESSAGES/foreman_puppet.mo +0 -0
  57. data/locale/ru/foreman_puppet.po +189 -3
  58. data/locale/sv_SE/LC_MESSAGES/foreman_puppet.mo +0 -0
  59. data/locale/sv_SE/foreman_puppet.po +187 -1
  60. data/locale/zh_CN/LC_MESSAGES/foreman_puppet.mo +0 -0
  61. data/locale/zh_CN/foreman_puppet.po +185 -5
  62. data/locale/zh_TW/LC_MESSAGES/foreman_puppet.mo +0 -0
  63. data/locale/zh_TW/foreman_puppet.po +189 -3
  64. data/test/models/foreman_puppet/host_test.rb +50 -0
  65. data/test/models/foreman_puppet/hostgroup_test.rb +50 -0
  66. metadata +1 -1
@@ -8,16 +8,16 @@
8
8
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
9
9
  # tim123, 2023
10
10
  # Bryan Kearney <bryan.kearney@gmail.com>, 2023
11
- # Amit Upadhye <aupadhye@redhat.com>, 2024
12
- # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
11
+ # Amit Upadhye <aupadhye@redhat.com>, 2026
12
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2026
13
+ # Ondřej Gajdušek, 2026
13
14
  #
14
15
  msgid ""
15
16
  msgstr ""
16
- "Project-Id-Version: foreman_puppet 9.0.0\n"
17
+ "Project-Id-Version: foreman_puppet 11.1.0\n"
17
18
  "Report-Msgid-Bugs-To: \n"
18
19
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
19
- "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
20
- "n.nl>, 2025\n"
20
+ "Last-Translator: Ondřej Gajdušek, 2026\n"
21
21
  "Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/zh"
22
22
  "_CN/)\n"
23
23
  "MIME-Version: 1.0\n"
@@ -62,6 +62,12 @@ msgstr ""
62
62
  " <b>匹配器:</b> %{matcher}<br/>\n"
63
63
  " <b>继承的值:</b> %{inherited_value}"
64
64
 
65
+ msgid "A Puppet environment with id %{id} could not be found."
66
+ msgstr "无法找到 ID 为 %{id} 的 Puppet 环境。"
67
+
68
+ msgid "A Smart Proxy with id %{id} and the %{proxy_type} feature could not be found."
69
+ msgstr "无法找到 id 为%{id} 的智能代理和 %{proxy_type} 功能。"
70
+
65
71
  msgid "A config group provides a one-step method of associating many Puppet classes to either a host or host group. Typically this would be used to add a particular application profile or stack in one step."
66
72
  msgstr "配置组提供了将多个 Puppet 类关联到一个主机或主机组的一步方法。此方法一般用于通过一个步骤添加特定的应用配置文件或堆栈。"
67
73
 
@@ -86,6 +92,9 @@ msgstr "添加模板组合"
86
92
  msgid "Add:"
87
93
  msgstr "添加:"
88
94
 
95
+ msgid "All"
96
+ msgstr "全部"
97
+
89
98
  msgid "All environments - (not filtered)"
90
99
  msgstr "所有环境 - (未过滤)"
91
100
 
@@ -113,15 +122,54 @@ msgstr "取消"
113
122
  msgid "Change Environment"
114
123
  msgstr "改变环境"
115
124
 
125
+ msgid "Change Puppet (CA) Proxy"
126
+ msgstr "更改 Puppet (CA)代理"
127
+
128
+ msgid "Change Puppet CA Proxy"
129
+ msgstr "更改 Puppet CA 代理"
130
+
131
+ msgid "Change Puppet CA proxy"
132
+ msgstr "更改 Puppet CA 代理"
133
+
134
+ msgid "Change Puppet Environment"
135
+ msgstr "更改 Puppet 环境"
136
+
116
137
  msgid "Change Puppet Master"
117
138
  msgstr "更改 Puppet 主服务器"
118
139
 
140
+ msgid "Change Puppet Proxy"
141
+ msgstr "更改 Puppet 代理"
142
+
143
+ msgid "Change Puppet environment"
144
+ msgstr "更改 Puppet 环境"
145
+
146
+ msgid "Change Puppet proxy"
147
+ msgstr "更改 Puppet 代理"
148
+
119
149
  msgid "Changed"
120
150
  msgstr "已改变"
121
151
 
122
152
  msgid "Changed environments"
123
153
  msgstr "修改的环境"
124
154
 
155
+ msgid "Changing the Puppet CA proxy will affect {boldCount} selected hosts. Some hosts may already have been associated with the selected Puppet CA proxy."
156
+ msgstr "更改 Puppet CA 代理将影响 {boldCount} 个选定的主机。有些主机可能已经与选定的 Puppet CA 代理关联。"
157
+
158
+ msgid "Changing the Puppet CA proxy will affect {boldCount} selected {count, plural, one {host} other {hosts}}. Some hosts may already have been associated with the selected Puppet CA proxy."
159
+ msgstr "更改 Puppet CA 代理将影响 {boldCount} 个选定的 {count, plural, one {host} 和其他 {hosts}。有些主机可能已经与选定的 Puppet CA 代理关联。"
160
+
161
+ msgid "Changing the Puppet environment will affect {boldCount} selected hosts. Some hosts may already have been associated with the selected environment."
162
+ msgstr "更改 Puppet 环境将影响 {boldCount} 个选定的主机。一些主机可能已经与所选环境关联。"
163
+
164
+ msgid "Changing the Puppet environment will affect {boldCount} selected {count, plural, one {host} other {hosts}}. Some hosts may already have been associated with the selected environment."
165
+ msgstr "更改 Puppet 环境将影响 {boldCount} 个选定的 {count, plural, one {host} 和其他 {hosts}}。一些主机可能已经与所选环境关联。"
166
+
167
+ msgid "Changing the Puppet proxy will affect {boldCount} selected hosts. Some hosts may already have been associated with the selected Puppet proxy."
168
+ msgstr "更改 Puppet 代理将影响 {boldCount} 个选定的主机。有些主机可能已经与选定的 Puppet 代理关联。"
169
+
170
+ msgid "Changing the Puppet proxy will affect {boldCount} selected {count, plural, one {host} other {hosts}}. Some hosts may already have been associated with the selected Puppet proxy."
171
+ msgstr "更改 Puppet 代理将影响 {boldCount} 选定的 {count, plural, one {host} 和其他 {hosts}}。一些主机可能已经与选定的 Puppet 代理关联。"
172
+
125
173
  msgid "Check/Uncheck all"
126
174
  msgstr "選取/反選全部"
127
175
 
@@ -278,12 +326,48 @@ msgstr "Facts"
278
326
  msgid "Failed"
279
327
  msgstr "失败"
280
328
 
329
+ msgid "Failed to change %{proxy_type} for %{count} host"
330
+ msgid_plural "Failed to change %{proxy_type} for %{count} hosts"
331
+ msgstr[0] "为 %{count} 主机更改 %{proxy_type} 失败"
332
+
333
+ msgid "Failed to change Puppet CA Proxy"
334
+ msgstr "更改 Puppet CA 代理失败"
335
+
336
+ msgid "Failed to change Puppet Environment"
337
+ msgstr "更改 Puppet 环境失败"
338
+
339
+ msgid "Failed to change Puppet Proxy"
340
+ msgstr "更改 Puppet 代理失败"
341
+
342
+ msgid "Failed to change environment for %{count} host"
343
+ msgid_plural "Failed to change environment for %{count} hosts"
344
+ msgstr[0] "更改 %{count} 主机环境失败"
345
+
281
346
  msgid "Failed to import %{klass} for %{name}: doesn't exists in our database - ignoring"
282
347
  msgstr "为 %{name} 导入 %{klass} 失败:不存在于我们的数据库中 -- 忽略"
283
348
 
349
+ msgid "Failed to remove %{proxy_type} for %{count} host"
350
+ msgid_plural "Failed to remove %{proxy_type} for %{count} hosts"
351
+ msgstr[0] "为 %{count} 主机删除 %{proxy_type} 失败"
352
+
353
+ msgid "Failed to remove Puppet CA Proxy"
354
+ msgstr "删除 Puppet CA 代理失败"
355
+
356
+ msgid "Failed to remove Puppet Environment"
357
+ msgstr "删除 Puppet 环境失败"
358
+
359
+ msgid "Failed to remove Puppet Proxy"
360
+ msgstr "删除 Puppet 代理失败"
361
+
284
362
  msgid "Failed to set %{proxy_type} proxy for %{host}."
285
363
  msgstr "无法为 %{proxy_type} 设置 %{host} 代理服务器。"
286
364
 
365
+ msgid "Failed to set Puppet environment for %{host}."
366
+ msgstr "为 %{host} 设置 Puppet 环境失败。"
367
+
368
+ msgid "Failed to set proxy for %{host}."
369
+ msgstr "无法为 %{host} 设置代理。"
370
+
287
371
  msgid "Failed to start"
288
372
  msgstr "启动失败"
289
373
 
@@ -365,6 +449,15 @@ msgstr "主机组 ID"
365
449
  msgid "ID of puppet environment"
366
450
  msgstr "puppet 环境的 ID"
367
451
 
452
+ msgid "ID of the Puppet environment to set for the selected hosts"
453
+ msgstr "为所选主机设置的 Puppet 环境的 ID"
454
+
455
+ msgid "ID of the Puppet proxy to reassign the hosts to"
456
+ msgstr "要重新分配主机的 Puppet 代理的 ID"
457
+
458
+ msgid "ID of the organization"
459
+ msgstr "机构 ID"
460
+
368
461
  msgid "IDs of associated ConfigGroups"
369
462
  msgstr "与 ConfigGroups 关联的 ID"
370
463
 
@@ -467,6 +560,12 @@ msgstr "列出各个环境的主机"
467
560
  msgid "List of config groups"
468
561
  msgstr "配置组列表"
469
562
 
563
+ msgid "List of host ids to exclude and not run an action on"
564
+ msgstr "要排除且不在其上执行操作的主机 ID 列表"
565
+
566
+ msgid "List of host ids to perform an action on"
567
+ msgstr "要对其执行操作的主机 ID 列表"
568
+
470
569
  msgid "List of override values for a specific smart class parameter"
471
570
  msgstr "具体智能分类参数替代值列表"
472
571
 
@@ -614,6 +713,9 @@ msgstr "Puppet CA"
614
713
  msgid "Puppet CA Smart Proxy"
615
714
  msgstr "Puppet CA 智能代理"
616
715
 
716
+ msgid "Puppet CA proxy"
717
+ msgstr "Puppet CA 代理"
718
+
617
719
  msgid "Puppet Class"
618
720
  msgstr "Puppet 类"
619
721
 
@@ -668,6 +770,9 @@ msgstr "Puppet 指标"
668
770
  msgid "Puppet parameter"
669
771
  msgstr "Puppet 参数"
670
772
 
773
+ msgid "Puppet proxy"
774
+ msgstr "Puppet 代理"
775
+
671
776
  msgid "Puppetclass|Name"
672
777
  msgstr "Puppetclass|名称"
673
778
 
@@ -677,6 +782,27 @@ msgstr "移除"
677
782
  msgid "Remove Combination"
678
783
  msgstr "删除组合"
679
784
 
785
+ msgid "Remove Puppet (CA) Proxy"
786
+ msgstr "删除 Puppet (CA)代理"
787
+
788
+ msgid "Remove Puppet CA Proxy"
789
+ msgstr "删除 Puppet CA 代理"
790
+
791
+ msgid "Remove Puppet CA proxy"
792
+ msgstr "删除 Puppet CA 代理"
793
+
794
+ msgid "Remove Puppet Environment"
795
+ msgstr "删除 Puppet 环境"
796
+
797
+ msgid "Remove Puppet Proxy"
798
+ msgstr "删除 Puppet 代理"
799
+
800
+ msgid "Remove Puppet environment"
801
+ msgstr "删除 Puppet 环境"
802
+
803
+ msgid "Remove Puppet proxy"
804
+ msgstr "删除 Puppet 代理"
805
+
680
806
  msgid "Remove a Puppet class from host"
681
807
  msgstr "從主機移除一個 Puppet 類別"
682
808
 
@@ -692,6 +818,24 @@ msgstr "删除此覆盖"
692
818
  msgid "Remove:"
693
819
  msgstr "删除:"
694
820
 
821
+ msgid "Removing the Puppet CA proxy will affect {boldCount} selected hosts. Warning: If a Puppet Proxy is still set, the Puppet CA Proxy will fall back to that value after removal!"
822
+ msgstr "删除 Puppet CA 代理将影响 {boldCount} 个选定的主机。警告:如果仍然设置了 Puppet 代理,则 Puppet CA 代理将在删除后回退到该值!"
823
+
824
+ msgid "Removing the Puppet CA proxy will affect {boldCount} selected {count, plural, one {host} other {hosts}}. Warning: If a Puppet Proxy is still set, the Puppet CA Proxy will fall back to that value after removal!"
825
+ msgstr "删除 Puppet CA 代理将影响 {boldCount} 个选定的 {count, plural, one {host} 和其他的 {hosts}}。警告:如果 Puppet 代理仍然被设置,则 Puppet CA 代理将在删除后回退到该值!"
826
+
827
+ msgid "Removing the Puppet environment will affect {boldCount} selected hosts."
828
+ msgstr "删除 Puppet 环境将影响 {boldCount} 个选定的主机。"
829
+
830
+ msgid "Removing the Puppet environment will affect {boldCount} selected {count, plural, one {host} other {hosts}}."
831
+ msgstr "删除 Puppet 环境将影响 {boldCount} 选定的 {count, plural, one {host} 和其他 {hosts}}。"
832
+
833
+ msgid "Removing the Puppet proxy will affect {boldCount} selected hosts."
834
+ msgstr "删除 Puppet 代理将影响 {boldCount} 个选定的主机。"
835
+
836
+ msgid "Removing the Puppet proxy will affect {boldCount} selected {count, plural, one {host} other {hosts}}."
837
+ msgstr "删除 Puppet 代理将影响 {boldCount} 个选定的 {count, plural, one {host} 和其他 {hosts}}。"
838
+
695
839
  msgid "Reports"
696
840
  msgstr "报表"
697
841
 
@@ -704,12 +848,27 @@ msgstr "重启"
704
848
  msgid "Scheduled"
705
849
  msgstr "调度"
706
850
 
851
+ msgid "Search string for hosts to perform an action on"
852
+ msgstr "在其中执行操纵的主机的搜索字符串"
853
+
854
+ msgid "Select a Puppet CA Proxy"
855
+ msgstr "选择 Puppet CA 代理"
856
+
857
+ msgid "Select a Puppet Proxy"
858
+ msgstr "选择 Puppet 代理"
859
+
860
+ msgid "Select an Environment"
861
+ msgstr "选择一个环境"
862
+
707
863
  msgid "Select environment"
708
864
  msgstr "选择环境"
709
865
 
710
866
  msgid "Select the changes you want to apply to Foreman"
711
867
  msgstr "选择您要应用到 Foreman 的更改"
712
868
 
869
+ msgid "Selected Puppet environment is not assigned to the proper organization and/or location for all hosts."
870
+ msgstr "选定的 Puppet 环境没有分配到所有主机的正确组织和/或位置。"
871
+
713
872
  msgid "Set parameters to defaults"
714
873
  msgstr "将参数设定为默认"
715
874
 
@@ -795,6 +954,9 @@ msgstr "无法找到请求的环境。"
795
954
  msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
796
955
  msgstr "这台 puppet 主服务器中未设置任何 puppet 环境。请检查 puppet 主服务器配置。"
797
956
 
957
+ msgid "There is no Smart Proxy with the feature '%s' available."
958
+ msgstr "没有带有可用 '%s' 功能的智能代理。"
959
+
798
960
  msgid "This Puppet class has no parameters in its signature."
799
961
  msgstr "这个 Puppet 类别在其签名中没有参数。"
800
962
 
@@ -816,6 +978,12 @@ msgstr "切換"
816
978
  msgid "Total"
817
979
  msgstr "总计"
818
980
 
981
+ msgid "True, if Puppet CA proxy should be changed instead of the Puppet proxy"
982
+ msgstr "True,是否应当更改 Puppet CA 代理而不是 Puppet 代理"
983
+
984
+ msgid "True, if Puppet CA proxy should be removed instead of the Puppet proxy"
985
+ msgstr "True,是否应当删除 Puppet CA 代理而不是 Puppet 代理"
986
+
819
987
  msgid "Types of validation values"
820
988
  msgstr "验证值类型"
821
989
 
@@ -855,6 +1023,18 @@ msgstr "更新:"
855
1023
  msgid "Updated"
856
1024
  msgstr "已更新"
857
1025
 
1026
+ msgid "Updated host: changed %{proxy_type}"
1027
+ msgid_plural "Updated hosts: changed %{proxy_type}"
1028
+ msgstr[0] "更新的主机:已更改 %{proxy_type}"
1029
+
1030
+ msgid "Updated host: changed environment"
1031
+ msgid_plural "Updated hosts: changed environment"
1032
+ msgstr[0] "更新的主机:更改的环境"
1033
+
1034
+ msgid "Updated host: removed %{proxy_type}"
1035
+ msgid_plural "Updated hosts: removed %{proxy_type}"
1036
+ msgstr[0] "更新的主机:已删除 %{proxy_type}"
1037
+
858
1038
  msgid "Updated hosts: changed environment"
859
1039
  msgstr "已更新主机:更改环境"
860
1040
 
@@ -5,15 +5,15 @@
5
5
  #
6
6
  # Translators:
7
7
  # ChrisLee <chris_lee@hiiir.com>, 2021
8
- # Bryan Kearney <bryan.kearney@gmail.com>, 2022
9
8
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2023
9
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2026
10
10
  #
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_puppet 9.0.0\n"
13
+ "Project-Id-Version: foreman_puppet 11.1.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
15
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
16
- "Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4, 2023\n"
16
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2026\n"
17
17
  "Language-Team: Chinese (Taiwan) (https://app.transifex.com/foreman/teams/114/z"
18
18
  "h_TW/)\n"
19
19
  "MIME-Version: 1.0\n"
@@ -55,6 +55,12 @@ msgid ""
55
55
  " <b>Inherited value:</b> %{inherited_value}"
56
56
  msgstr ""
57
57
 
58
+ msgid "A Puppet environment with id %{id} could not be found."
59
+ msgstr ""
60
+
61
+ msgid "A Smart Proxy with id %{id} and the %{proxy_type} feature could not be found."
62
+ msgstr ""
63
+
58
64
  msgid "A config group provides a one-step method of associating many Puppet classes to either a host or host group. Typically this would be used to add a particular application profile or stack in one step."
59
65
  msgstr ""
60
66
 
@@ -79,6 +85,9 @@ msgstr "新增範本組合"
79
85
  msgid "Add:"
80
86
  msgstr "新增:"
81
87
 
88
+ msgid "All"
89
+ msgstr ""
90
+
82
91
  msgid "All environments - (not filtered)"
83
92
  msgstr "所有環境 -(未篩選)"
84
93
 
@@ -106,15 +115,54 @@ msgstr "取消"
106
115
  msgid "Change Environment"
107
116
  msgstr "更改環境"
108
117
 
118
+ msgid "Change Puppet (CA) Proxy"
119
+ msgstr ""
120
+
121
+ msgid "Change Puppet CA Proxy"
122
+ msgstr ""
123
+
124
+ msgid "Change Puppet CA proxy"
125
+ msgstr ""
126
+
127
+ msgid "Change Puppet Environment"
128
+ msgstr ""
129
+
109
130
  msgid "Change Puppet Master"
110
131
  msgstr "改變 Puppet Master"
111
132
 
133
+ msgid "Change Puppet Proxy"
134
+ msgstr ""
135
+
136
+ msgid "Change Puppet environment"
137
+ msgstr ""
138
+
139
+ msgid "Change Puppet proxy"
140
+ msgstr ""
141
+
112
142
  msgid "Changed"
113
143
  msgstr ""
114
144
 
115
145
  msgid "Changed environments"
116
146
  msgstr "已更改的環境"
117
147
 
148
+ msgid "Changing the Puppet CA proxy will affect {boldCount} selected hosts. Some hosts may already have been associated with the selected Puppet CA proxy."
149
+ msgstr ""
150
+
151
+ msgid "Changing the Puppet CA proxy will affect {boldCount} selected {count, plural, one {host} other {hosts}}. Some hosts may already have been associated with the selected Puppet CA proxy."
152
+ msgstr ""
153
+
154
+ msgid "Changing the Puppet environment will affect {boldCount} selected hosts. Some hosts may already have been associated with the selected environment."
155
+ msgstr ""
156
+
157
+ msgid "Changing the Puppet environment will affect {boldCount} selected {count, plural, one {host} other {hosts}}. Some hosts may already have been associated with the selected environment."
158
+ msgstr ""
159
+
160
+ msgid "Changing the Puppet proxy will affect {boldCount} selected hosts. Some hosts may already have been associated with the selected Puppet proxy."
161
+ msgstr ""
162
+
163
+ msgid "Changing the Puppet proxy will affect {boldCount} selected {count, plural, one {host} other {hosts}}. Some hosts may already have been associated with the selected Puppet proxy."
164
+ msgstr ""
165
+
118
166
  msgid "Check/Uncheck all"
119
167
  msgstr "選取/反選全部"
120
168
 
@@ -271,12 +319,51 @@ msgstr "詳情"
271
319
  msgid "Failed"
272
320
  msgstr ""
273
321
 
322
+ msgid "Failed to change %{proxy_type} for %{count} host"
323
+ msgid_plural "Failed to change %{proxy_type} for %{count} hosts"
324
+ msgstr[0] ""
325
+ msgstr[1] ""
326
+
327
+ msgid "Failed to change Puppet CA Proxy"
328
+ msgstr ""
329
+
330
+ msgid "Failed to change Puppet Environment"
331
+ msgstr ""
332
+
333
+ msgid "Failed to change Puppet Proxy"
334
+ msgstr ""
335
+
336
+ msgid "Failed to change environment for %{count} host"
337
+ msgid_plural "Failed to change environment for %{count} hosts"
338
+ msgstr[0] ""
339
+ msgstr[1] ""
340
+
274
341
  msgid "Failed to import %{klass} for %{name}: doesn't exists in our database - ignoring"
275
342
  msgstr "為 %{name} 匯入 %{klass} 失敗:不存在我們的資料庫中 - 將被忽略"
276
343
 
344
+ msgid "Failed to remove %{proxy_type} for %{count} host"
345
+ msgid_plural "Failed to remove %{proxy_type} for %{count} hosts"
346
+ msgstr[0] ""
347
+ msgstr[1] ""
348
+
349
+ msgid "Failed to remove Puppet CA Proxy"
350
+ msgstr ""
351
+
352
+ msgid "Failed to remove Puppet Environment"
353
+ msgstr ""
354
+
355
+ msgid "Failed to remove Puppet Proxy"
356
+ msgstr ""
357
+
277
358
  msgid "Failed to set %{proxy_type} proxy for %{host}."
278
359
  msgstr "設定 %{proxy_type} 代理給 %{host} 時失敗。"
279
360
 
361
+ msgid "Failed to set Puppet environment for %{host}."
362
+ msgstr ""
363
+
364
+ msgid "Failed to set proxy for %{host}."
365
+ msgstr ""
366
+
280
367
  msgid "Failed to start"
281
368
  msgstr ""
282
369
 
@@ -358,6 +445,15 @@ msgstr "主機群組的 ID"
358
445
  msgid "ID of puppet environment"
359
446
  msgstr ""
360
447
 
448
+ msgid "ID of the Puppet environment to set for the selected hosts"
449
+ msgstr ""
450
+
451
+ msgid "ID of the Puppet proxy to reassign the hosts to"
452
+ msgstr ""
453
+
454
+ msgid "ID of the organization"
455
+ msgstr "組織的 ID"
456
+
361
457
  msgid "IDs of associated ConfigGroups"
362
458
  msgstr ""
363
459
 
@@ -460,6 +556,12 @@ msgstr "列出各個環境中的主機"
460
556
  msgid "List of config groups"
461
557
  msgstr "配置群組清單"
462
558
 
559
+ msgid "List of host ids to exclude and not run an action on"
560
+ msgstr "欲排除並且不執行任何動作的主機 ID 清單"
561
+
562
+ msgid "List of host ids to perform an action on"
563
+ msgstr "欲在其上執行動作的主機 ID 清單"
564
+
463
565
  msgid "List of override values for a specific smart class parameter"
464
566
  msgstr "特定智慧型類別參數的置換值之清單"
465
567
 
@@ -607,6 +709,9 @@ msgstr "Puppet CA"
607
709
  msgid "Puppet CA Smart Proxy"
608
710
  msgstr ""
609
711
 
712
+ msgid "Puppet CA proxy"
713
+ msgstr ""
714
+
610
715
  msgid "Puppet Class"
611
716
  msgstr "Puppet 類別"
612
717
 
@@ -661,6 +766,9 @@ msgstr ""
661
766
  msgid "Puppet parameter"
662
767
  msgstr "Puppet 參數"
663
768
 
769
+ msgid "Puppet proxy"
770
+ msgstr ""
771
+
664
772
  msgid "Puppetclass|Name"
665
773
  msgstr "名稱"
666
774
 
@@ -670,6 +778,27 @@ msgstr "移除"
670
778
  msgid "Remove Combination"
671
779
  msgstr ""
672
780
 
781
+ msgid "Remove Puppet (CA) Proxy"
782
+ msgstr ""
783
+
784
+ msgid "Remove Puppet CA Proxy"
785
+ msgstr ""
786
+
787
+ msgid "Remove Puppet CA proxy"
788
+ msgstr ""
789
+
790
+ msgid "Remove Puppet Environment"
791
+ msgstr ""
792
+
793
+ msgid "Remove Puppet Proxy"
794
+ msgstr ""
795
+
796
+ msgid "Remove Puppet environment"
797
+ msgstr ""
798
+
799
+ msgid "Remove Puppet proxy"
800
+ msgstr ""
801
+
673
802
  msgid "Remove a Puppet class from host"
674
803
  msgstr "從主機移除一個 Puppet 類別"
675
804
 
@@ -685,6 +814,24 @@ msgstr "移除此置換"
685
814
  msgid "Remove:"
686
815
  msgstr "移除:"
687
816
 
817
+ msgid "Removing the Puppet CA proxy will affect {boldCount} selected hosts. Warning: If a Puppet Proxy is still set, the Puppet CA Proxy will fall back to that value after removal!"
818
+ msgstr ""
819
+
820
+ msgid "Removing the Puppet CA proxy will affect {boldCount} selected {count, plural, one {host} other {hosts}}. Warning: If a Puppet Proxy is still set, the Puppet CA Proxy will fall back to that value after removal!"
821
+ msgstr ""
822
+
823
+ msgid "Removing the Puppet environment will affect {boldCount} selected hosts."
824
+ msgstr ""
825
+
826
+ msgid "Removing the Puppet environment will affect {boldCount} selected {count, plural, one {host} other {hosts}}."
827
+ msgstr ""
828
+
829
+ msgid "Removing the Puppet proxy will affect {boldCount} selected hosts."
830
+ msgstr ""
831
+
832
+ msgid "Removing the Puppet proxy will affect {boldCount} selected {count, plural, one {host} other {hosts}}."
833
+ msgstr ""
834
+
688
835
  msgid "Reports"
689
836
  msgstr "報告"
690
837
 
@@ -697,12 +844,27 @@ msgstr ""
697
844
  msgid "Scheduled"
698
845
  msgstr ""
699
846
 
847
+ msgid "Search string for hosts to perform an action on"
848
+ msgstr ""
849
+
850
+ msgid "Select a Puppet CA Proxy"
851
+ msgstr ""
852
+
853
+ msgid "Select a Puppet Proxy"
854
+ msgstr ""
855
+
856
+ msgid "Select an Environment"
857
+ msgstr ""
858
+
700
859
  msgid "Select environment"
701
860
  msgstr "選擇環境"
702
861
 
703
862
  msgid "Select the changes you want to apply to Foreman"
704
863
  msgstr ""
705
864
 
865
+ msgid "Selected Puppet environment is not assigned to the proper organization and/or location for all hosts."
866
+ msgstr ""
867
+
706
868
  msgid "Set parameters to defaults"
707
869
  msgstr "將參數設為預設值"
708
870
 
@@ -789,6 +951,9 @@ msgstr ""
789
951
  msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
790
952
  msgstr "此 puppet master 上並未設定 puppet 環境。請檢查 puppet master 的配置。"
791
953
 
954
+ msgid "There is no Smart Proxy with the feature '%s' available."
955
+ msgstr ""
956
+
792
957
  msgid "This Puppet class has no parameters in its signature."
793
958
  msgstr "此 puppet 類別的簽章中沒有參數。"
794
959
 
@@ -810,6 +975,12 @@ msgstr "切換"
810
975
  msgid "Total"
811
976
  msgstr "總數"
812
977
 
978
+ msgid "True, if Puppet CA proxy should be changed instead of the Puppet proxy"
979
+ msgstr ""
980
+
981
+ msgid "True, if Puppet CA proxy should be removed instead of the Puppet proxy"
982
+ msgstr ""
983
+
813
984
  msgid "Types of validation values"
814
985
  msgstr "驗證值的類型"
815
986
 
@@ -849,6 +1020,21 @@ msgstr "更新:"
849
1020
  msgid "Updated"
850
1021
  msgstr "已更新"
851
1022
 
1023
+ msgid "Updated host: changed %{proxy_type}"
1024
+ msgid_plural "Updated hosts: changed %{proxy_type}"
1025
+ msgstr[0] ""
1026
+ msgstr[1] ""
1027
+
1028
+ msgid "Updated host: changed environment"
1029
+ msgid_plural "Updated hosts: changed environment"
1030
+ msgstr[0] ""
1031
+ msgstr[1] ""
1032
+
1033
+ msgid "Updated host: removed %{proxy_type}"
1034
+ msgid_plural "Updated hosts: removed %{proxy_type}"
1035
+ msgstr[0] ""
1036
+ msgstr[1] ""
1037
+
852
1038
  msgid "Updated hosts: changed environment"
853
1039
  msgstr "已更新主機:已更改的環境"
854
1040
 
@@ -176,6 +176,56 @@ module ForemanPuppet
176
176
  assert_not_includes completions, %(config_group = "#{config_group.name}")
177
177
  end
178
178
 
179
+ test 'limits Puppet assignment completions to the current organization' do
180
+ organization = taxonomies(:organization1)
181
+ location = taxonomies(:location1)
182
+ hidden_organization = FactoryBot.create(:organization)
183
+ visible_environment = FactoryBot.create(
184
+ :environment,
185
+ organizations: [organization],
186
+ locations: [location]
187
+ )
188
+ hidden_environment = FactoryBot.create(
189
+ :environment,
190
+ organizations: [hidden_organization],
191
+ locations: [location]
192
+ )
193
+ visible_host = FactoryBot.create(
194
+ :host,
195
+ :with_puppet_enc,
196
+ :with_puppetclass,
197
+ environment: visible_environment,
198
+ organization: organization,
199
+ location: location
200
+ )
201
+ hidden_host = FactoryBot.create(
202
+ :host,
203
+ :with_puppet_enc,
204
+ :with_puppetclass,
205
+ environment: hidden_environment,
206
+ organization: hidden_organization,
207
+ location: location
208
+ )
209
+ visible_config_group = FactoryBot.create(:config_group)
210
+ hidden_config_group = FactoryBot.create(:config_group)
211
+ visible_host.puppet.config_groups << visible_config_group
212
+ hidden_host.puppet.config_groups << hidden_config_group
213
+ Organization.current = organization
214
+ Location.current = nil
215
+
216
+ visible_puppetclass = visible_host.puppet.puppetclasses.first
217
+ hidden_puppetclass = hidden_host.puppet.puppetclasses.first
218
+ visible_puppetclasses = ::Host::Managed.complete_for("puppetclass = #{visible_puppetclass.name}")
219
+ hidden_puppetclasses = ::Host::Managed.complete_for("puppetclass = #{hidden_puppetclass.name}")
220
+ visible_config_groups = ::Host::Managed.complete_for("config_group = #{visible_config_group.name}")
221
+ hidden_config_groups = ::Host::Managed.complete_for("config_group = #{hidden_config_group.name}")
222
+
223
+ assert_includes visible_puppetclasses, %(puppetclass = "#{visible_puppetclass.name}")
224
+ assert_not_includes hidden_puppetclasses, %(puppetclass = "#{hidden_puppetclass.name}")
225
+ assert_includes visible_config_groups, %(config_group = "#{visible_config_group.name}")
226
+ assert_not_includes hidden_config_groups, %(config_group = "#{hidden_config_group.name}")
227
+ end
228
+
179
229
  test 'preserves core host value completions' do
180
230
  completions = as_admin { ::Host::Managed.complete_for('user.login =') }
181
231