foreman_puppet 5.1.1 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_puppet/locale/ca/foreman_puppet.js +861 -0
  3. data/app/assets/javascripts/foreman_puppet/locale/cs_CZ/foreman_puppet.js +861 -0
  4. data/app/assets/javascripts/foreman_puppet/locale/de/foreman_puppet.js +861 -0
  5. data/app/assets/javascripts/foreman_puppet/locale/en/foreman_puppet.js +861 -0
  6. data/app/assets/javascripts/foreman_puppet/locale/en_GB/foreman_puppet.js +861 -0
  7. data/app/assets/javascripts/foreman_puppet/locale/es/foreman_puppet.js +861 -0
  8. data/app/assets/javascripts/foreman_puppet/locale/fr/foreman_puppet.js +863 -0
  9. data/app/assets/javascripts/foreman_puppet/locale/gl/foreman_puppet.js +861 -0
  10. data/app/assets/javascripts/foreman_puppet/locale/it/foreman_puppet.js +861 -0
  11. data/app/assets/javascripts/foreman_puppet/locale/ja/foreman_puppet.js +859 -0
  12. data/app/assets/javascripts/foreman_puppet/locale/ka/foreman_puppet.js +861 -0
  13. data/app/assets/javascripts/foreman_puppet/locale/ko/foreman_puppet.js +861 -0
  14. data/app/assets/javascripts/foreman_puppet/locale/nl_NL/foreman_puppet.js +861 -0
  15. data/app/assets/javascripts/foreman_puppet/locale/pl/foreman_puppet.js +861 -0
  16. data/app/assets/javascripts/foreman_puppet/locale/pt_BR/foreman_puppet.js +861 -0
  17. data/app/assets/javascripts/foreman_puppet/locale/ru/foreman_puppet.js +861 -0
  18. data/app/assets/javascripts/foreman_puppet/locale/sv_SE/foreman_puppet.js +861 -0
  19. data/app/assets/javascripts/foreman_puppet/locale/zh_CN/foreman_puppet.js +859 -0
  20. data/app/assets/javascripts/foreman_puppet/locale/zh_TW/foreman_puppet.js +861 -0
  21. data/app/models/concerns/foreman_puppet/extensions/host.rb +1 -1
  22. data/app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb +5 -0
  23. data/app/views/foreman_puppet/environments/welcome.html.erb +5 -0
  24. data/app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb +1 -1
  25. data/app/views/foreman_puppet/puppetclasses/_selected_classes.html.erb +1 -1
  26. data/app/views/hosts/select_multiple_puppet_proxy.html.erb +5 -0
  27. data/app/views/smart_proxies/plugins/_puppet.html.erb +1 -2
  28. data/lib/foreman_puppet/engine.rb +0 -6
  29. data/lib/foreman_puppet/register.rb +3 -1
  30. data/lib/foreman_puppet/version.rb +1 -1
  31. data/locale/Makefile +6 -3
  32. data/locale/ca/foreman_puppet.edit.po +32 -27
  33. data/locale/ca/foreman_puppet.po +6 -0
  34. data/locale/cs_CZ/foreman_puppet.edit.po +36 -40
  35. data/locale/cs_CZ/foreman_puppet.po +6 -0
  36. data/locale/de/foreman_puppet.edit.po +36 -40
  37. data/locale/de/foreman_puppet.po +6 -0
  38. data/locale/en/foreman_puppet.edit.po +32 -24
  39. data/locale/en/foreman_puppet.po +6 -0
  40. data/locale/en_GB/foreman_puppet.edit.po +36 -37
  41. data/locale/en_GB/foreman_puppet.po +6 -0
  42. data/locale/es/foreman_puppet.edit.po +36 -40
  43. data/locale/es/foreman_puppet.po +6 -0
  44. data/locale/foreman_puppet.pot +31 -22
  45. data/locale/fr/foreman_puppet.edit.po +36 -53
  46. data/locale/fr/foreman_puppet.po +6 -0
  47. data/locale/gl/foreman_puppet.edit.po +32 -24
  48. data/locale/gl/foreman_puppet.po +6 -0
  49. data/locale/it/foreman_puppet.edit.po +36 -37
  50. data/locale/it/foreman_puppet.po +6 -0
  51. data/locale/ja/foreman_puppet.edit.po +36 -51
  52. data/locale/ja/foreman_puppet.po +6 -0
  53. data/locale/ka/foreman_puppet.edit.po +36 -53
  54. data/locale/ka/foreman_puppet.po +6 -0
  55. data/locale/ko/foreman_puppet.edit.po +36 -40
  56. data/locale/ko/foreman_puppet.po +6 -0
  57. data/locale/nl_NL/foreman_puppet.edit.po +32 -24
  58. data/locale/nl_NL/foreman_puppet.po +6 -0
  59. data/locale/pl/foreman_puppet.edit.po +32 -24
  60. data/locale/pl/foreman_puppet.po +6 -0
  61. data/locale/pt_BR/foreman_puppet.edit.po +36 -40
  62. data/locale/pt_BR/foreman_puppet.po +6 -0
  63. data/locale/ru/foreman_puppet.edit.po +36 -40
  64. data/locale/ru/foreman_puppet.po +6 -0
  65. data/locale/sv_SE/foreman_puppet.edit.po +32 -24
  66. data/locale/sv_SE/foreman_puppet.po +6 -0
  67. data/locale/zh_CN/foreman_puppet.edit.po +36 -50
  68. data/locale/zh_CN/foreman_puppet.po +6 -0
  69. data/locale/zh_TW/foreman_puppet.edit.po +36 -40
  70. data/locale/zh_TW/foreman_puppet.po +6 -0
  71. data/webpack/src/Components/Environments/Welcome.js +1 -1
  72. data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js +4 -1
  73. data/webpack/src/Extends/Host/PuppetTab/index.js +1 -0
  74. metadata +37 -17
@@ -197,7 +197,7 @@ msgstr[1] ""
197
197
  msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
198
198
  msgstr ""
199
199
 
200
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:229 ../webpack/src/Extends/Fills/index.js:12
200
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:231 ../webpack/src/Extends/Fills/index.js:12
201
201
  msgid "Puppet"
202
202
  msgstr "Puppet"
203
203
 
@@ -757,7 +757,7 @@ msgstr ""
757
757
  msgid "Edit %s"
758
758
  msgstr "Redigera %s"
759
759
 
760
- #: ../app/views/foreman_puppet/config_groups/index.html.erb:3 ../app/views/foreman_puppet/config_groups/welcome.html.erb:1 ../app/views/foreman_puppet/config_groups/welcome.html.erb:9 ../lib/foreman_puppet/register.rb:172
760
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:3 ../app/views/foreman_puppet/config_groups/welcome.html.erb:1 ../app/views/foreman_puppet/config_groups/welcome.html.erb:9 ../lib/foreman_puppet/register.rb:174
761
761
  msgid "Config Groups"
762
762
  msgstr ""
763
763
 
@@ -797,7 +797,7 @@ msgstr "Lokationer"
797
797
  msgid "Organizations"
798
798
  msgstr "Organisationer"
799
799
 
800
- #: ../app/views/foreman_puppet/environments/edit.html.erb:5 ../app/views/foreman_puppet/environments/index.html.erb:1 ../app/views/foreman_puppet/environments/new.html.erb:4
800
+ #: ../app/views/foreman_puppet/environments/edit.html.erb:5 ../app/views/foreman_puppet/environments/index.html.erb:1 ../app/views/foreman_puppet/environments/new.html.erb:4 ../app/views/foreman_puppet/environments/welcome.html.erb:4 ../webpack/src/Components/Environments/Welcome.js:40
801
801
  msgid "Puppet Environments"
802
802
  msgstr "Puppet Miljöer"
803
803
 
@@ -805,7 +805,7 @@ msgstr "Puppet Miljöer"
805
805
  msgid "Environment|Name"
806
806
  msgstr "Namn"
807
807
 
808
- #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:169
808
+ #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:171
809
809
  msgid "Classes"
810
810
  msgstr "Klasser"
811
811
 
@@ -833,7 +833,7 @@ msgstr ""
833
833
  msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
834
834
  msgstr ""
835
835
 
836
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8 ../lib/foreman_puppet/register.rb:175
836
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8 ../lib/foreman_puppet/register.rb:177
837
837
  msgid "Smart Class Parameters"
838
838
  msgstr ""
839
839
 
@@ -929,7 +929,7 @@ msgstr "Redigera Puppetklass %s"
929
929
  msgid "Puppetclass|Name"
930
930
  msgstr "Namn"
931
931
 
932
- #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:166 ../webpack/src/Components/Environments/Welcome.js:40
932
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:168
933
933
  msgid "Environments"
934
934
  msgstr "Miljöer"
935
935
 
@@ -1001,59 +1001,59 @@ msgstr ""
1001
1001
  msgid "Hosts managed:"
1002
1002
  msgstr ""
1003
1003
 
1004
- #: ../lib/foreman_puppet/register.rb:7
1004
+ #: ../lib/foreman_puppet/register.rb:9
1005
1005
  msgid "Facts"
1006
1006
  msgstr "Fakta"
1007
1007
 
1008
- #: ../lib/foreman_puppet/register.rb:10
1008
+ #: ../lib/foreman_puppet/register.rb:12
1009
1009
  msgid "Foreman will default to this puppet environment if it cannot auto detect one"
1010
1010
  msgstr ""
1011
1011
 
1012
- #: ../lib/foreman_puppet/register.rb:12
1012
+ #: ../lib/foreman_puppet/register.rb:14
1013
1013
  msgid "Default Puppet environment"
1014
1014
  msgstr ""
1015
1015
 
1016
- #: ../lib/foreman_puppet/register.rb:16
1016
+ #: ../lib/foreman_puppet/register.rb:18
1017
1017
  msgid "Foreman will explicitly set the puppet environment in the ENC yaml output. This will avoid conflicts between the environment in puppet.conf and the environment set in Foreman"
1018
1018
  msgstr ""
1019
1019
 
1020
- #: ../lib/foreman_puppet/register.rb:19
1020
+ #: ../lib/foreman_puppet/register.rb:21
1021
1021
  msgid "ENC environment"
1022
1022
  msgstr ""
1023
1023
 
1024
- #: ../lib/foreman_puppet/register.rb:22
1024
+ #: ../lib/foreman_puppet/register.rb:24
1025
1025
  msgid "Foreman will update a host's environment from its facts"
1026
1026
  msgstr ""
1027
1027
 
1028
- #: ../lib/foreman_puppet/register.rb:24
1028
+ #: ../lib/foreman_puppet/register.rb:26
1029
1029
  msgid "Update environment from facts"
1030
1030
  msgstr ""
1031
1031
 
1032
- #: ../lib/foreman_puppet/register.rb:27
1032
+ #: ../lib/foreman_puppet/register.rb:29
1033
1033
  msgid "Config Management"
1034
1034
  msgstr ""
1035
1035
 
1036
- #: ../lib/foreman_puppet/register.rb:30
1036
+ #: ../lib/foreman_puppet/register.rb:32
1037
1037
  msgid "Duration in minutes after servers reporting via Puppet are classed as out of sync."
1038
1038
  msgstr ""
1039
1039
 
1040
- #: ../lib/foreman_puppet/register.rb:32
1040
+ #: ../lib/foreman_puppet/register.rb:34
1041
1041
  msgid "Puppet interval"
1042
1042
  msgstr ""
1043
1043
 
1044
- #: ../lib/foreman_puppet/register.rb:35
1044
+ #: ../lib/foreman_puppet/register.rb:37
1045
1045
  msgid "Disable host configuration status turning to out of sync for %s after report does not arrive within configured interval"
1046
1046
  msgstr ""
1047
1047
 
1048
- #: ../lib/foreman_puppet/register.rb:37
1048
+ #: ../lib/foreman_puppet/register.rb:39
1049
1049
  msgid "%s out of sync disabled"
1050
1050
  msgstr ""
1051
1051
 
1052
- #: ../lib/foreman_puppet/register.rb:163 ../lib/foreman_puppet/register.rb:216
1052
+ #: ../lib/foreman_puppet/register.rb:165 ../lib/foreman_puppet/register.rb:218
1053
1053
  msgid "Puppet ENC"
1054
1054
  msgstr ""
1055
1055
 
1056
- #: ../lib/foreman_puppet/register.rb:230
1056
+ #: ../lib/foreman_puppet/register.rb:232
1057
1057
  msgid "Puppet env"
1058
1058
  msgstr ""
1059
1059
 
@@ -1077,6 +1077,14 @@ msgstr ""
1077
1077
  msgid "Smart class parameters"
1078
1078
  msgstr ""
1079
1079
 
1080
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:43
1081
+ msgid "Successfully copied to clipboard!"
1082
+ msgstr ""
1083
+
1084
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:44
1085
+ msgid "Copy to clipboard"
1086
+ msgstr ""
1087
+
1080
1088
  #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js:28
1081
1089
  msgid "Couldn't find any ENC data for this host"
1082
1090
  msgstr ""
@@ -1126,19 +1134,19 @@ msgid "Some Puppet Classes are unavailable in the selected environment"
1126
1134
  msgstr ""
1127
1135
 
1128
1136
  #: action_names.rb:2
1129
- msgid "Remote action:"
1137
+ msgid "Action with sub plans"
1130
1138
  msgstr ""
1131
1139
 
1132
1140
  #: action_names.rb:3
1133
- msgid "»Action with sub plans«"
1141
+ msgid "Import facts"
1134
1142
  msgstr ""
1135
1143
 
1136
1144
  #: action_names.rb:4
1137
- msgid "»Import Puppet classes«"
1145
+ msgid "Import Puppet classes"
1138
1146
  msgstr ""
1139
1147
 
1140
1148
  #: action_names.rb:5
1141
- msgid "»Import facts«"
1149
+ msgid "Remote action:"
1142
1150
  msgstr ""
1143
1151
 
1144
1152
  #: gemspec.rb:2
@@ -149,6 +149,9 @@ msgstr ""
149
149
  msgid "Config Management"
150
150
  msgstr ""
151
151
 
152
+ msgid "Copy to clipboard"
153
+ msgstr ""
154
+
152
155
  msgid "Couldn't find any ENC data for this host"
153
156
  msgstr ""
154
157
 
@@ -722,6 +725,9 @@ msgstr ""
722
725
  msgid "Some Puppet Classes are unavailable in the selected environment"
723
726
  msgstr ""
724
727
 
728
+ msgid "Successfully copied to clipboard!"
729
+ msgstr ""
730
+
725
731
  msgid "Successfully overridden all parameters of Puppet class %s"
726
732
  msgstr ""
727
733
 
@@ -197,7 +197,7 @@ msgstr[0] "无法为主机 %{host_names} 设置 %{proxy_type} 代理服务器。
197
197
  msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
198
198
  msgstr "所选主机的 %{proxy_type} 代理服务器被设置为 {proxy_name}。"
199
199
 
200
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:229 ../webpack/src/Extends/Fills/index.js:12
200
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:231 ../webpack/src/Extends/Fills/index.js:12
201
201
  msgid "Puppet"
202
202
  msgstr "Puppet"
203
203
 
@@ -766,7 +766,7 @@ msgstr "可用配置组"
766
766
  msgid "Edit %s"
767
767
  msgstr "编辑 %s"
768
768
 
769
- #: ../app/views/foreman_puppet/config_groups/index.html.erb:3 ../app/views/foreman_puppet/config_groups/welcome.html.erb:1 ../app/views/foreman_puppet/config_groups/welcome.html.erb:9 ../lib/foreman_puppet/register.rb:172
769
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:3 ../app/views/foreman_puppet/config_groups/welcome.html.erb:1 ../app/views/foreman_puppet/config_groups/welcome.html.erb:9 ../lib/foreman_puppet/register.rb:174
770
770
  msgid "Config Groups"
771
771
  msgstr "配置组"
772
772
 
@@ -806,7 +806,7 @@ msgstr "位置"
806
806
  msgid "Organizations"
807
807
  msgstr "机构"
808
808
 
809
- #: ../app/views/foreman_puppet/environments/edit.html.erb:5 ../app/views/foreman_puppet/environments/index.html.erb:1 ../app/views/foreman_puppet/environments/new.html.erb:4
809
+ #: ../app/views/foreman_puppet/environments/edit.html.erb:5 ../app/views/foreman_puppet/environments/index.html.erb:1 ../app/views/foreman_puppet/environments/new.html.erb:4 ../app/views/foreman_puppet/environments/welcome.html.erb:4 ../webpack/src/Components/Environments/Welcome.js:40
810
810
  msgid "Puppet Environments"
811
811
  msgstr "Puppet 环境"
812
812
 
@@ -814,7 +814,7 @@ msgstr "Puppet 环境"
814
814
  msgid "Environment|Name"
815
815
  msgstr "名称"
816
816
 
817
- #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:169
817
+ #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:171
818
818
  msgid "Classes"
819
819
  msgstr "类"
820
820
 
@@ -842,7 +842,7 @@ msgstr "未找到任何环境"
842
842
  msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
843
843
  msgstr "这台 puppet 主服务器中未设置任何 puppet 环境。请检查 puppet 主服务器配置。"
844
844
 
845
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8 ../lib/foreman_puppet/register.rb:175
845
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8 ../lib/foreman_puppet/register.rb:177
846
846
  msgid "Smart Class Parameters"
847
847
  msgstr "智能类参数"
848
848
 
@@ -938,7 +938,7 @@ msgstr "编辑 Puppet 类 %s"
938
938
  msgid "Puppetclass|Name"
939
939
  msgstr "Puppetclass|名称"
940
940
 
941
- #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:166 ../webpack/src/Components/Environments/Welcome.js:40
941
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:168
942
942
  msgid "Environments"
943
943
  msgstr "环境"
944
944
 
@@ -1010,59 +1010,59 @@ msgstr "常规"
1010
1010
  msgid "Hosts managed:"
1011
1011
  msgstr "管理的主机:"
1012
1012
 
1013
- #: ../lib/foreman_puppet/register.rb:7
1013
+ #: ../lib/foreman_puppet/register.rb:9
1014
1014
  msgid "Facts"
1015
1015
  msgstr "Facts"
1016
1016
 
1017
- #: ../lib/foreman_puppet/register.rb:10
1017
+ #: ../lib/foreman_puppet/register.rb:12
1018
1018
  msgid "Foreman will default to this puppet environment if it cannot auto detect one"
1019
1019
  msgstr "如果无法自动探测到环境,Foreman 将默认使用这个 puppet 环境"
1020
1020
 
1021
- #: ../lib/foreman_puppet/register.rb:12
1021
+ #: ../lib/foreman_puppet/register.rb:14
1022
1022
  msgid "Default Puppet environment"
1023
1023
  msgstr "默认 Puppet 环境"
1024
1024
 
1025
- #: ../lib/foreman_puppet/register.rb:16
1025
+ #: ../lib/foreman_puppet/register.rb:18
1026
1026
  msgid "Foreman will explicitly set the puppet environment in the ENC yaml output. This will avoid conflicts between the environment in puppet.conf and the environment set in Foreman"
1027
1027
  msgstr "Foreman 将在 ENC yaml 输出中明确设置这个 puppet 环境。这样可以避免 puppet.conf 以及 Foreman 中设置的环境冲突"
1028
1028
 
1029
- #: ../lib/foreman_puppet/register.rb:19
1029
+ #: ../lib/foreman_puppet/register.rb:21
1030
1030
  msgid "ENC environment"
1031
1031
  msgstr "ENC 环境"
1032
1032
 
1033
- #: ../lib/foreman_puppet/register.rb:22
1033
+ #: ../lib/foreman_puppet/register.rb:24
1034
1034
  msgid "Foreman will update a host's environment from its facts"
1035
1035
  msgstr "Foreman 将根据其详情更新主机环境"
1036
1036
 
1037
- #: ../lib/foreman_puppet/register.rb:24
1037
+ #: ../lib/foreman_puppet/register.rb:26
1038
1038
  msgid "Update environment from facts"
1039
1039
  msgstr "根据系统信息更新环境"
1040
1040
 
1041
- #: ../lib/foreman_puppet/register.rb:27
1041
+ #: ../lib/foreman_puppet/register.rb:29
1042
1042
  msgid "Config Management"
1043
1043
  msgstr "配置管理"
1044
1044
 
1045
- #: ../lib/foreman_puppet/register.rb:30
1045
+ #: ../lib/foreman_puppet/register.rb:32
1046
1046
  msgid "Duration in minutes after servers reporting via Puppet are classed as out of sync."
1047
1047
  msgstr "在其时间后(以分钟为单位)经过 Puppet 的服务器报告被认为已不同步。"
1048
1048
 
1049
- #: ../lib/foreman_puppet/register.rb:32
1049
+ #: ../lib/foreman_puppet/register.rb:34
1050
1050
  msgid "Puppet interval"
1051
1051
  msgstr "Puppet 间隔"
1052
1052
 
1053
- #: ../lib/foreman_puppet/register.rb:35
1053
+ #: ../lib/foreman_puppet/register.rb:37
1054
1054
  msgid "Disable host configuration status turning to out of sync for %s after report does not arrive within configured interval"
1055
1055
  msgstr "禁用在配置的间隔时间后没有获得报告时把主机(%s)配置状态变为不同步"
1056
1056
 
1057
- #: ../lib/foreman_puppet/register.rb:37
1057
+ #: ../lib/foreman_puppet/register.rb:39
1058
1058
  msgid "%s out of sync disabled"
1059
1059
  msgstr "%s 不同步被禁用"
1060
1060
 
1061
- #: ../lib/foreman_puppet/register.rb:163 ../lib/foreman_puppet/register.rb:216
1061
+ #: ../lib/foreman_puppet/register.rb:165 ../lib/foreman_puppet/register.rb:218
1062
1062
  msgid "Puppet ENC"
1063
1063
  msgstr "Puppet ENC"
1064
1064
 
1065
- #: ../lib/foreman_puppet/register.rb:230
1065
+ #: ../lib/foreman_puppet/register.rb:232
1066
1066
  msgid "Puppet env"
1067
1067
  msgstr ""
1068
1068
 
@@ -1086,6 +1086,14 @@ msgstr "这个标签页仍在进行中"
1086
1086
  msgid "Smart class parameters"
1087
1087
  msgstr "智能类参数"
1088
1088
 
1089
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:43
1090
+ msgid "Successfully copied to clipboard!"
1091
+ msgstr ""
1092
+
1093
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:44
1094
+ msgid "Copy to clipboard"
1095
+ msgstr ""
1096
+
1089
1097
  #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js:28
1090
1098
  msgid "Couldn't find any ENC data for this host"
1091
1099
  msgstr "无法找到此主机的任何 ENC 数据"
@@ -1135,43 +1143,21 @@ msgid "Some Puppet Classes are unavailable in the selected environment"
1135
1143
  msgstr "某些 Puppet 类在所选的环境中不可用"
1136
1144
 
1137
1145
  #: action_names.rb:2
1138
- msgid "Remote action:"
1139
- msgstr "远程操作:"
1146
+ msgid "Action with sub plans"
1147
+ msgstr "有子计划的操作"
1140
1148
 
1141
1149
  #: action_names.rb:3
1142
- msgid "»Action with sub plans«"
1143
- msgstr ""
1150
+ msgid "Import facts"
1151
+ msgstr "导入事实"
1144
1152
 
1145
1153
  #: action_names.rb:4
1146
- msgid "»Import Puppet classes«"
1147
- msgstr ""
1154
+ msgid "Import Puppet classes"
1155
+ msgstr "导入 Puppet 类"
1148
1156
 
1149
1157
  #: action_names.rb:5
1150
- msgid "»Import facts«"
1151
- msgstr ""
1158
+ msgid "Remote action:"
1159
+ msgstr "远程操作:"
1152
1160
 
1153
1161
  #: gemspec.rb:2
1154
1162
  msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
1155
1163
  msgstr "允许将 Puppet 环境和类分配给 Foreman 主机。"
1156
-
1157
- #~ msgid "Action with sub plans"
1158
- #~ msgstr "有子计划的操作"
1159
-
1160
- #~ msgid "Environment name"
1161
- #~ msgstr "環境名稱"
1162
-
1163
- #~ msgid ""
1164
- #~ "If you are planning to use Foreman as an external node classifier you should p"
1165
- #~ "rovide information about one or more environments.<br/> This information is co"
1166
- #~ "mmonly imported from a pre-existing Puppet configuration by the use of the <a "
1167
- #~ "target=\"_blank\" href=${getManualURL( '4.2.2Classes' )}>Puppet classes and envi"
1168
- #~ "ronment importer.</a>"
1169
- #~ msgstr ""
1170
- #~ "如果您计划将 Foreman 用作外部节点分类器,您应当提供一个或多个环境的信息。<br/>此信息通常使用 <a target=\"_blank\" href="
1171
- #~ "${getManualURL( '4.2.2Classes' )}>Puppet 类和环境导入器</a>从预先存在的 Puppet 配置中导入。"
1172
-
1173
- #~ msgid "Import Puppet classes"
1174
- #~ msgstr "导入 Puppet 类"
1175
-
1176
- #~ msgid "Import facts"
1177
- #~ msgstr "导入事实"
@@ -153,6 +153,9 @@ msgstr "配置组"
153
153
  msgid "Config Management"
154
154
  msgstr "配置管理"
155
155
 
156
+ msgid "Copy to clipboard"
157
+ msgstr ""
158
+
156
159
  msgid "Couldn't find any ENC data for this host"
157
160
  msgstr "无法找到此主机的任何 ENC 数据"
158
161
 
@@ -726,6 +729,9 @@ msgstr "智能类参数"
726
729
  msgid "Some Puppet Classes are unavailable in the selected environment"
727
730
  msgstr "某些 Puppet 类在所选的环境中不可用"
728
731
 
732
+ msgid "Successfully copied to clipboard!"
733
+ msgstr ""
734
+
729
735
  msgid "Successfully overridden all parameters of Puppet class %s"
730
736
  msgstr "成功覆盖 Puppet 类 %s 的所有参数"
731
737
 
@@ -196,7 +196,7 @@ msgstr[1] ""
196
196
  msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
197
197
  msgstr "所選主機的 %{proxy_type} 代理已設為 %{proxy_name}。"
198
198
 
199
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:229 ../webpack/src/Extends/Fills/index.js:12
199
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:231 ../webpack/src/Extends/Fills/index.js:12
200
200
  msgid "Puppet"
201
201
  msgstr "Puppet"
202
202
 
@@ -756,7 +756,7 @@ msgstr "可用的配置群組"
756
756
  msgid "Edit %s"
757
757
  msgstr "編輯 %s"
758
758
 
759
- #: ../app/views/foreman_puppet/config_groups/index.html.erb:3 ../app/views/foreman_puppet/config_groups/welcome.html.erb:1 ../app/views/foreman_puppet/config_groups/welcome.html.erb:9 ../lib/foreman_puppet/register.rb:172
759
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:3 ../app/views/foreman_puppet/config_groups/welcome.html.erb:1 ../app/views/foreman_puppet/config_groups/welcome.html.erb:9 ../lib/foreman_puppet/register.rb:174
760
760
  msgid "Config Groups"
761
761
  msgstr ""
762
762
 
@@ -796,7 +796,7 @@ msgstr "位置"
796
796
  msgid "Organizations"
797
797
  msgstr "組織"
798
798
 
799
- #: ../app/views/foreman_puppet/environments/edit.html.erb:5 ../app/views/foreman_puppet/environments/index.html.erb:1 ../app/views/foreman_puppet/environments/new.html.erb:4
799
+ #: ../app/views/foreman_puppet/environments/edit.html.erb:5 ../app/views/foreman_puppet/environments/index.html.erb:1 ../app/views/foreman_puppet/environments/new.html.erb:4 ../app/views/foreman_puppet/environments/welcome.html.erb:4 ../webpack/src/Components/Environments/Welcome.js:40
800
800
  msgid "Puppet Environments"
801
801
  msgstr "Puppet 環境"
802
802
 
@@ -804,7 +804,7 @@ msgstr "Puppet 環境"
804
804
  msgid "Environment|Name"
805
805
  msgstr "名稱"
806
806
 
807
- #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:169
807
+ #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:171
808
808
  msgid "Classes"
809
809
  msgstr "類別"
810
810
 
@@ -832,7 +832,7 @@ msgstr "找不到環境"
832
832
  msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
833
833
  msgstr "此 puppet master 上並未設定 puppet 環境。請檢查 puppet master 的配置。"
834
834
 
835
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8 ../lib/foreman_puppet/register.rb:175
835
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8 ../lib/foreman_puppet/register.rb:177
836
836
  msgid "Smart Class Parameters"
837
837
  msgstr ""
838
838
 
@@ -928,7 +928,7 @@ msgstr "編輯 Puppet 類別 %s"
928
928
  msgid "Puppetclass|Name"
929
929
  msgstr "名稱"
930
930
 
931
- #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:166 ../webpack/src/Components/Environments/Welcome.js:40
931
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:168
932
932
  msgid "Environments"
933
933
  msgstr "環境"
934
934
 
@@ -1000,59 +1000,59 @@ msgstr "一般"
1000
1000
  msgid "Hosts managed:"
1001
1001
  msgstr "受管理的主機:"
1002
1002
 
1003
- #: ../lib/foreman_puppet/register.rb:7
1003
+ #: ../lib/foreman_puppet/register.rb:9
1004
1004
  msgid "Facts"
1005
1005
  msgstr "詳情"
1006
1006
 
1007
- #: ../lib/foreman_puppet/register.rb:10
1007
+ #: ../lib/foreman_puppet/register.rb:12
1008
1008
  msgid "Foreman will default to this puppet environment if it cannot auto detect one"
1009
1009
  msgstr "若 Foreman 無法自動偵測 puppet 環境,就預設值它將會使用此 puppet 環境"
1010
1010
 
1011
- #: ../lib/foreman_puppet/register.rb:12
1011
+ #: ../lib/foreman_puppet/register.rb:14
1012
1012
  msgid "Default Puppet environment"
1013
1013
  msgstr "預設 Puppet 環境"
1014
1014
 
1015
- #: ../lib/foreman_puppet/register.rb:16
1015
+ #: ../lib/foreman_puppet/register.rb:18
1016
1016
  msgid "Foreman will explicitly set the puppet environment in the ENC yaml output. This will avoid conflicts between the environment in puppet.conf and the environment set in Foreman"
1017
1017
  msgstr "Foreman 將會明確設置 puppet 環境於 ENC yaml 輸出中。這將避免 puppet.conf 和 Foreman 中,環境之間的衝突。"
1018
1018
 
1019
- #: ../lib/foreman_puppet/register.rb:19
1019
+ #: ../lib/foreman_puppet/register.rb:21
1020
1020
  msgid "ENC environment"
1021
1021
  msgstr "ENC 環境"
1022
1022
 
1023
- #: ../lib/foreman_puppet/register.rb:22
1023
+ #: ../lib/foreman_puppet/register.rb:24
1024
1024
  msgid "Foreman will update a host's environment from its facts"
1025
1025
  msgstr "Foreman 會藉由主機的環境之詳情來更新它"
1026
1026
 
1027
- #: ../lib/foreman_puppet/register.rb:24
1027
+ #: ../lib/foreman_puppet/register.rb:26
1028
1028
  msgid "Update environment from facts"
1029
1029
  msgstr "從詳情升級環境"
1030
1030
 
1031
- #: ../lib/foreman_puppet/register.rb:27
1031
+ #: ../lib/foreman_puppet/register.rb:29
1032
1032
  msgid "Config Management"
1033
1033
  msgstr ""
1034
1034
 
1035
- #: ../lib/foreman_puppet/register.rb:30
1035
+ #: ../lib/foreman_puppet/register.rb:32
1036
1036
  msgid "Duration in minutes after servers reporting via Puppet are classed as out of sync."
1037
1037
  msgstr ""
1038
1038
 
1039
- #: ../lib/foreman_puppet/register.rb:32
1039
+ #: ../lib/foreman_puppet/register.rb:34
1040
1040
  msgid "Puppet interval"
1041
1041
  msgstr "Puppet 間隔"
1042
1042
 
1043
- #: ../lib/foreman_puppet/register.rb:35
1043
+ #: ../lib/foreman_puppet/register.rb:37
1044
1044
  msgid "Disable host configuration status turning to out of sync for %s after report does not arrive within configured interval"
1045
1045
  msgstr ""
1046
1046
 
1047
- #: ../lib/foreman_puppet/register.rb:37
1047
+ #: ../lib/foreman_puppet/register.rb:39
1048
1048
  msgid "%s out of sync disabled"
1049
1049
  msgstr ""
1050
1050
 
1051
- #: ../lib/foreman_puppet/register.rb:163 ../lib/foreman_puppet/register.rb:216
1051
+ #: ../lib/foreman_puppet/register.rb:165 ../lib/foreman_puppet/register.rb:218
1052
1052
  msgid "Puppet ENC"
1053
1053
  msgstr ""
1054
1054
 
1055
- #: ../lib/foreman_puppet/register.rb:230
1055
+ #: ../lib/foreman_puppet/register.rb:232
1056
1056
  msgid "Puppet env"
1057
1057
  msgstr ""
1058
1058
 
@@ -1076,6 +1076,14 @@ msgstr ""
1076
1076
  msgid "Smart class parameters"
1077
1077
  msgstr "智慧類別參數"
1078
1078
 
1079
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:43
1080
+ msgid "Successfully copied to clipboard!"
1081
+ msgstr ""
1082
+
1083
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:44
1084
+ msgid "Copy to clipboard"
1085
+ msgstr ""
1086
+
1079
1087
  #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js:28
1080
1088
  msgid "Couldn't find any ENC data for this host"
1081
1089
  msgstr ""
@@ -1125,33 +1133,21 @@ msgid "Some Puppet Classes are unavailable in the selected environment"
1125
1133
  msgstr ""
1126
1134
 
1127
1135
  #: action_names.rb:2
1128
- msgid "Remote action:"
1129
- msgstr "遠端動作:"
1136
+ msgid "Action with sub plans"
1137
+ msgstr "有子計畫的動作"
1130
1138
 
1131
1139
  #: action_names.rb:3
1132
- msgid "»Action with sub plans«"
1133
- msgstr ""
1140
+ msgid "Import facts"
1141
+ msgstr "匯入詳情"
1134
1142
 
1135
1143
  #: action_names.rb:4
1136
- msgid "»Import Puppet classes«"
1137
- msgstr ""
1144
+ msgid "Import Puppet classes"
1145
+ msgstr "匯入 Puppet 類別"
1138
1146
 
1139
1147
  #: action_names.rb:5
1140
- msgid "»Import facts«"
1141
- msgstr ""
1148
+ msgid "Remote action:"
1149
+ msgstr "遠端動作:"
1142
1150
 
1143
1151
  #: gemspec.rb:2
1144
1152
  msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
1145
1153
  msgstr ""
1146
-
1147
- #~ msgid "Action with sub plans"
1148
- #~ msgstr "有子計畫的動作"
1149
-
1150
- #~ msgid "Environment name"
1151
- #~ msgstr "環境名稱"
1152
-
1153
- #~ msgid "Import Puppet classes"
1154
- #~ msgstr "匯入 Puppet 類別"
1155
-
1156
- #~ msgid "Import facts"
1157
- #~ msgstr "匯入詳情"
@@ -148,6 +148,9 @@ msgstr ""
148
148
  msgid "Config Management"
149
149
  msgstr ""
150
150
 
151
+ msgid "Copy to clipboard"
152
+ msgstr ""
153
+
151
154
  msgid "Couldn't find any ENC data for this host"
152
155
  msgstr ""
153
156
 
@@ -721,6 +724,9 @@ msgstr "智慧類別參數"
721
724
  msgid "Some Puppet Classes are unavailable in the selected environment"
722
725
  msgstr ""
723
726
 
727
+ msgid "Successfully copied to clipboard!"
728
+ msgstr ""
729
+
724
730
  msgid "Successfully overridden all parameters of Puppet class %s"
725
731
  msgstr "已成功置換 Puppet 類別 %s 的所有參數"
726
732
 
@@ -37,7 +37,7 @@ export const WelcomeEnv = ({ canCreate }) => {
37
37
  <EmptyState
38
38
  icon="th"
39
39
  iconType="fa"
40
- header={__('Environments')}
40
+ header={__('Puppet Environments')}
41
41
  description={description}
42
42
  documentation={{ url: getManualURL('4.2.1Environments') }}
43
43
  action={action}
@@ -6,6 +6,7 @@ import {
6
6
  CodeBlockCode,
7
7
  ClipboardCopyButton,
8
8
  } from '@patternfly/react-core';
9
+ import { translate as __ } from 'foremanReact/common/I18n';
9
10
 
10
11
  export const ENCTab = ({ encData }) => {
11
12
  const [copied, setCopied] = React.useState(false);
@@ -38,7 +39,9 @@ export const ENCTab = ({ encData }) => {
38
39
  maxWidth="110px"
39
40
  variant="plain"
40
41
  >
41
- {copied ? 'Successfully copied to clipboard!' : 'Copy to clipboard'}
42
+ {copied
43
+ ? __('Successfully copied to clipboard!')
44
+ : __('Copy to clipboard')}
42
45
  </ClipboardCopyButton>
43
46
  </CodeBlockAction>
44
47
  );
@@ -13,6 +13,7 @@ const PuppetTab = ({ response, status, location: { pathname } }) => {
13
13
  return (
14
14
  <>
15
15
  <Tabs
16
+ ouiaId="puppet-tabs"
16
17
  className="margin-0-24"
17
18
  onSelect={(evt, subTab) => hashHistory.push(subTab)}
18
19
  isSecondary