foreman_puppet 5.1.3 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_puppet/locale/ca/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/cs_CZ/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/de/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/en/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/en_GB/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/es/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/fr/foreman_puppet.js +863 -0
- data/app/assets/javascripts/foreman_puppet/locale/gl/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/it/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/ja/foreman_puppet.js +859 -0
- data/app/assets/javascripts/foreman_puppet/locale/ka/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/ko/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/nl_NL/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/pl/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/pt_BR/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/ru/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/sv_SE/foreman_puppet.js +861 -0
- data/app/assets/javascripts/foreman_puppet/locale/zh_CN/foreman_puppet.js +859 -0
- data/app/assets/javascripts/foreman_puppet/locale/zh_TW/foreman_puppet.js +861 -0
- data/app/views/foreman_puppet/puppetclasses/_selected_classes.html.erb +1 -6
- data/lib/foreman_puppet/engine.rb +0 -6
- data/lib/foreman_puppet/register.rb +3 -1
- data/lib/foreman_puppet/version.rb +1 -1
- data/locale/Makefile +6 -3
- data/locale/ca/foreman_puppet.po +6 -0
- data/locale/cs_CZ/foreman_puppet.po +6 -0
- data/locale/de/foreman_puppet.po +6 -0
- data/locale/en/foreman_puppet.po +6 -0
- data/locale/en_GB/foreman_puppet.po +6 -0
- data/locale/es/foreman_puppet.po +6 -0
- data/locale/foreman_puppet.pot +31 -22
- data/locale/fr/foreman_puppet.po +6 -0
- data/locale/gl/foreman_puppet.po +6 -0
- data/locale/it/foreman_puppet.po +6 -0
- data/locale/ja/foreman_puppet.po +6 -0
- data/locale/ka/foreman_puppet.po +6 -0
- data/locale/ko/foreman_puppet.po +6 -0
- data/locale/nl_NL/foreman_puppet.po +6 -0
- data/locale/pl/foreman_puppet.po +6 -0
- data/locale/pt_BR/foreman_puppet.po +6 -0
- data/locale/ru/foreman_puppet.po +6 -0
- data/locale/sv_SE/foreman_puppet.po +6 -0
- data/locale/zh_CN/foreman_puppet.po +6 -0
- data/locale/zh_TW/foreman_puppet.po +6 -0
- data/webpack/src/Components/Environments/Welcome.js +1 -1
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js +4 -1
- data/webpack/src/foreman_puppet_host_form.js +0 -3
- metadata +40 -21
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
id = "selected_puppetclass_#{klass.id}"
|
3
|
-
css = [dom_class(klass, 'selected'), cycle('even', 'odd')]
|
4
|
-
css << 'unavailable' unless klass.environments.include?(obj.try(:environment).presence || @environment)
|
5
|
-
%>
|
6
|
-
<%= content_tag :li, id: id, class: css do %>
|
1
|
+
<%= content_tag :li, id: "selected_puppetclass_#{klass.id}", class: [dom_class(klass, 'selected'), cycle('even', 'odd'), ('unavailable' unless klass.environments.include?(obj.environment.present? ? obj.environment : @environment))] do %>
|
7
2
|
<%= link_to_remove_puppetclass(klass, obj) %>
|
8
3
|
<%= hidden_field_tag "#{resource_type}[puppetclass_ids][]", klass.id %>
|
9
4
|
<% end %>
|
@@ -91,11 +91,5 @@ module ForemanPuppet
|
|
91
91
|
ForemanPuppet::Engine.load_seed
|
92
92
|
end
|
93
93
|
end
|
94
|
-
|
95
|
-
initializer 'foreman_puppet.register_gettext', after: :load_config_initializers do |_app|
|
96
|
-
locale_dir = File.join(File.expand_path('../..', __dir__), 'locale')
|
97
|
-
locale_domain = 'foreman_puppet'
|
98
|
-
Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
|
99
|
-
end
|
100
94
|
end
|
101
95
|
end
|
data/locale/Makefile
CHANGED
@@ -14,6 +14,7 @@ POFILES = $(shell find . -name '$(DOMAIN).po')
|
|
14
14
|
MOFILES = $(patsubst %.po,%.mo,$(POFILES))
|
15
15
|
POXFILES = $(patsubst %.po,%.pox,$(POFILES))
|
16
16
|
EDITFILES = $(patsubst %.po,%.edit.po,$(POFILES))
|
17
|
+
JSFILES = $(shell find ../app/assets/javascripts/*/locale -name '$(DOMAIN).js')
|
17
18
|
|
18
19
|
%.mo: %.po
|
19
20
|
mkdir -p $(shell dirname $@)/LC_MESSAGES
|
@@ -42,18 +43,20 @@ uniq-po:
|
|
42
43
|
done
|
43
44
|
|
44
45
|
tx-pull: $(EDITFILES)
|
45
|
-
tx pull -f
|
46
|
+
cd .. && tx pull -f
|
46
47
|
for f in $(EDITFILES) ; do \
|
47
48
|
sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
|
48
49
|
done
|
49
50
|
|
50
51
|
tx-update: tx-pull
|
51
52
|
@echo
|
52
|
-
@echo Run rake plugin:gettext[$(DOMAIN)] from the Foreman installation
|
53
|
+
@echo Run rake plugin:gettext[$(DOMAIN)] from the Foreman installation
|
54
|
+
@echo then run rake plugin:po_to_json[$(DOMAIN)] from the Foreman installation
|
55
|
+
@echo then run make -C locale mo-files to finish
|
53
56
|
@echo
|
54
57
|
|
55
58
|
mo-files: $(MOFILES)
|
56
|
-
git add $(POFILES) $(POTFILE) ../locale/*/LC_MESSAGES
|
59
|
+
git add $(POFILES) $(POTFILE) $(JSFILES) ../locale/*/LC_MESSAGES
|
57
60
|
git commit -m "i18n - pulling from tx"
|
58
61
|
@echo
|
59
62
|
@echo Changes commited!
|
data/locale/ca/foreman_puppet.po
CHANGED
@@ -145,6 +145,9 @@ msgstr "Grups de configuracions"
|
|
145
145
|
msgid "Config Management"
|
146
146
|
msgstr "Gestió de la configuració"
|
147
147
|
|
148
|
+
msgid "Copy to clipboard"
|
149
|
+
msgstr ""
|
150
|
+
|
148
151
|
msgid "Couldn't find any ENC data for this host"
|
149
152
|
msgstr ""
|
150
153
|
|
@@ -718,6 +721,9 @@ msgstr "Paràmetres de la classe intel·ligent"
|
|
718
721
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
719
722
|
msgstr ""
|
720
723
|
|
724
|
+
msgid "Successfully copied to clipboard!"
|
725
|
+
msgstr ""
|
726
|
+
|
721
727
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
722
728
|
msgstr "S'han redefinit correctament tots els paràmetres de la classe de Puppet %s"
|
723
729
|
|
@@ -150,6 +150,9 @@ msgstr ""
|
|
150
150
|
msgid "Config Management"
|
151
151
|
msgstr "Správa nastavení"
|
152
152
|
|
153
|
+
msgid "Copy to clipboard"
|
154
|
+
msgstr ""
|
155
|
+
|
153
156
|
msgid "Couldn't find any ENC data for this host"
|
154
157
|
msgstr ""
|
155
158
|
|
@@ -723,6 +726,9 @@ msgstr ""
|
|
723
726
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
724
727
|
msgstr ""
|
725
728
|
|
729
|
+
msgid "Successfully copied to clipboard!"
|
730
|
+
msgstr ""
|
731
|
+
|
726
732
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
727
733
|
msgstr ""
|
728
734
|
|
data/locale/de/foreman_puppet.po
CHANGED
@@ -166,6 +166,9 @@ msgstr "Konfigurationsgruppen"
|
|
166
166
|
msgid "Config Management"
|
167
167
|
msgstr "Konfigurationsmanagement"
|
168
168
|
|
169
|
+
msgid "Copy to clipboard"
|
170
|
+
msgstr ""
|
171
|
+
|
169
172
|
msgid "Couldn't find any ENC data for this host"
|
170
173
|
msgstr ""
|
171
174
|
|
@@ -739,6 +742,9 @@ msgstr "Smart-Klassenparameter"
|
|
739
742
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
740
743
|
msgstr "Einige Puppet-Klassen sind in der ausgewählten Umgebung nicht verfügbar"
|
741
744
|
|
745
|
+
msgid "Successfully copied to clipboard!"
|
746
|
+
msgstr ""
|
747
|
+
|
742
748
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
743
749
|
msgstr "Alle Parameter von Puppet-Klasse %s erfolgreich überschrieben"
|
744
750
|
|
data/locale/en/foreman_puppet.po
CHANGED
@@ -141,6 +141,9 @@ msgstr ""
|
|
141
141
|
msgid "Config Management"
|
142
142
|
msgstr ""
|
143
143
|
|
144
|
+
msgid "Copy to clipboard"
|
145
|
+
msgstr ""
|
146
|
+
|
144
147
|
msgid "Couldn't find any ENC data for this host"
|
145
148
|
msgstr ""
|
146
149
|
|
@@ -714,6 +717,9 @@ msgstr ""
|
|
714
717
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
715
718
|
msgstr ""
|
716
719
|
|
720
|
+
msgid "Successfully copied to clipboard!"
|
721
|
+
msgstr ""
|
722
|
+
|
717
723
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
718
724
|
msgstr ""
|
719
725
|
|
@@ -147,6 +147,9 @@ msgstr ""
|
|
147
147
|
msgid "Config Management"
|
148
148
|
msgstr ""
|
149
149
|
|
150
|
+
msgid "Copy to clipboard"
|
151
|
+
msgstr ""
|
152
|
+
|
150
153
|
msgid "Couldn't find any ENC data for this host"
|
151
154
|
msgstr ""
|
152
155
|
|
@@ -720,6 +723,9 @@ msgstr ""
|
|
720
723
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
721
724
|
msgstr ""
|
722
725
|
|
726
|
+
msgid "Successfully copied to clipboard!"
|
727
|
+
msgstr ""
|
728
|
+
|
723
729
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
724
730
|
msgstr ""
|
725
731
|
|
data/locale/es/foreman_puppet.po
CHANGED
@@ -156,6 +156,9 @@ msgstr "Grupos de configuración"
|
|
156
156
|
msgid "Config Management"
|
157
157
|
msgstr "Administración de configuración"
|
158
158
|
|
159
|
+
msgid "Copy to clipboard"
|
160
|
+
msgstr ""
|
161
|
+
|
159
162
|
msgid "Couldn't find any ENC data for this host"
|
160
163
|
msgstr ""
|
161
164
|
|
@@ -729,6 +732,9 @@ msgstr "Parámetros de clase inteligentes"
|
|
729
732
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
730
733
|
msgstr "Algunas clases de Puppet no están disponibles en el entorno seleccionado"
|
731
734
|
|
735
|
+
msgid "Successfully copied to clipboard!"
|
736
|
+
msgstr ""
|
737
|
+
|
732
738
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
733
739
|
msgstr "Se han sobrescrito correctamente todos los parámetros de la clase Puppet %s"
|
734
740
|
|
data/locale/foreman_puppet.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: foreman_puppet 1.0.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2023-
|
12
|
-
"PO-Revision-Date: 2023-
|
11
|
+
"POT-Creation-Date: 2023-06-01 14:06+0200\n"
|
12
|
+
"PO-Revision-Date: 2023-06-01 14:06+0200\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -255,7 +255,7 @@ msgstr ""
|
|
255
255
|
|
256
256
|
#:
|
257
257
|
#: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204
|
258
|
-
#: ../lib/foreman_puppet/register.rb:
|
258
|
+
#: ../lib/foreman_puppet/register.rb:231
|
259
259
|
#: ../webpack/src/Extends/Fills/index.js:12
|
260
260
|
msgid "Puppet"
|
261
261
|
msgstr ""
|
@@ -900,7 +900,7 @@ msgstr ""
|
|
900
900
|
#: ../app/views/foreman_puppet/config_groups/index.html.erb:3
|
901
901
|
#: ../app/views/foreman_puppet/config_groups/welcome.html.erb:1
|
902
902
|
#: ../app/views/foreman_puppet/config_groups/welcome.html.erb:9
|
903
|
-
#: ../lib/foreman_puppet/register.rb:
|
903
|
+
#: ../lib/foreman_puppet/register.rb:174
|
904
904
|
msgid "Config Groups"
|
905
905
|
msgstr ""
|
906
906
|
|
@@ -955,6 +955,8 @@ msgstr ""
|
|
955
955
|
#: ../app/views/foreman_puppet/environments/edit.html.erb:5
|
956
956
|
#: ../app/views/foreman_puppet/environments/index.html.erb:1
|
957
957
|
#: ../app/views/foreman_puppet/environments/new.html.erb:4
|
958
|
+
#: ../app/views/foreman_puppet/environments/welcome.html.erb:4
|
959
|
+
#: ../webpack/src/Components/Environments/Welcome.js:40
|
958
960
|
msgid "Puppet Environments"
|
959
961
|
msgstr ""
|
960
962
|
|
@@ -963,7 +965,7 @@ msgid "Environment|Name"
|
|
963
965
|
msgstr ""
|
964
966
|
|
965
967
|
#: ../app/views/foreman_puppet/environments/index.html.erb:22
|
966
|
-
#: ../lib/foreman_puppet/register.rb:
|
968
|
+
#: ../lib/foreman_puppet/register.rb:171
|
967
969
|
msgid "Classes"
|
968
970
|
msgstr ""
|
969
971
|
|
@@ -997,7 +999,7 @@ msgstr ""
|
|
997
999
|
#: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1
|
998
1000
|
#: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1
|
999
1001
|
#: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8
|
1000
|
-
#: ../lib/foreman_puppet/register.rb:
|
1002
|
+
#: ../lib/foreman_puppet/register.rb:177
|
1001
1003
|
msgid "Smart Class Parameters"
|
1002
1004
|
msgstr ""
|
1003
1005
|
|
@@ -1106,8 +1108,7 @@ msgstr ""
|
|
1106
1108
|
|
1107
1109
|
#: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10
|
1108
1110
|
#: ../app/views/smart_proxies/plugins/_puppet.html.erb:4
|
1109
|
-
#: ../lib/foreman_puppet/register.rb:
|
1110
|
-
#: ../webpack/src/Components/Environments/Welcome.js:40
|
1111
|
+
#: ../lib/foreman_puppet/register.rb:168
|
1111
1112
|
msgid "Environments"
|
1112
1113
|
msgstr ""
|
1113
1114
|
|
@@ -1179,66 +1180,66 @@ msgstr ""
|
|
1179
1180
|
msgid "Hosts managed:"
|
1180
1181
|
msgstr ""
|
1181
1182
|
|
1182
|
-
#: ../lib/foreman_puppet/register.rb:
|
1183
|
+
#: ../lib/foreman_puppet/register.rb:9
|
1183
1184
|
msgid "Facts"
|
1184
1185
|
msgstr ""
|
1185
1186
|
|
1186
|
-
#: ../lib/foreman_puppet/register.rb:
|
1187
|
+
#: ../lib/foreman_puppet/register.rb:12
|
1187
1188
|
msgid "Foreman will default to this puppet environment if it cannot auto detect one"
|
1188
1189
|
msgstr ""
|
1189
1190
|
|
1190
|
-
#: ../lib/foreman_puppet/register.rb:
|
1191
|
+
#: ../lib/foreman_puppet/register.rb:14
|
1191
1192
|
msgid "Default Puppet environment"
|
1192
1193
|
msgstr ""
|
1193
1194
|
|
1194
|
-
#: ../lib/foreman_puppet/register.rb:
|
1195
|
+
#: ../lib/foreman_puppet/register.rb:18
|
1195
1196
|
msgid ""
|
1196
1197
|
"Foreman will explicitly set the puppet environment in the ENC yaml output. Thi"
|
1197
1198
|
"s will avoid conflicts between the environment in puppet.conf and the environm"
|
1198
1199
|
"ent set in Foreman"
|
1199
1200
|
msgstr ""
|
1200
1201
|
|
1201
|
-
#: ../lib/foreman_puppet/register.rb:
|
1202
|
+
#: ../lib/foreman_puppet/register.rb:21
|
1202
1203
|
msgid "ENC environment"
|
1203
1204
|
msgstr ""
|
1204
1205
|
|
1205
|
-
#: ../lib/foreman_puppet/register.rb:
|
1206
|
+
#: ../lib/foreman_puppet/register.rb:24
|
1206
1207
|
msgid "Foreman will update a host's environment from its facts"
|
1207
1208
|
msgstr ""
|
1208
1209
|
|
1209
|
-
#: ../lib/foreman_puppet/register.rb:
|
1210
|
+
#: ../lib/foreman_puppet/register.rb:26
|
1210
1211
|
msgid "Update environment from facts"
|
1211
1212
|
msgstr ""
|
1212
1213
|
|
1213
|
-
#: ../lib/foreman_puppet/register.rb:
|
1214
|
+
#: ../lib/foreman_puppet/register.rb:29
|
1214
1215
|
msgid "Config Management"
|
1215
1216
|
msgstr ""
|
1216
1217
|
|
1217
|
-
#: ../lib/foreman_puppet/register.rb:
|
1218
|
+
#: ../lib/foreman_puppet/register.rb:32
|
1218
1219
|
msgid ""
|
1219
1220
|
"Duration in minutes after servers reporting via Puppet are classed as out of s"
|
1220
1221
|
"ync."
|
1221
1222
|
msgstr ""
|
1222
1223
|
|
1223
|
-
#: ../lib/foreman_puppet/register.rb:
|
1224
|
+
#: ../lib/foreman_puppet/register.rb:34
|
1224
1225
|
msgid "Puppet interval"
|
1225
1226
|
msgstr ""
|
1226
1227
|
|
1227
|
-
#: ../lib/foreman_puppet/register.rb:
|
1228
|
+
#: ../lib/foreman_puppet/register.rb:37
|
1228
1229
|
msgid ""
|
1229
1230
|
"Disable host configuration status turning to out of sync for %s after report d"
|
1230
1231
|
"oes not arrive within configured interval"
|
1231
1232
|
msgstr ""
|
1232
1233
|
|
1233
|
-
#: ../lib/foreman_puppet/register.rb:
|
1234
|
+
#: ../lib/foreman_puppet/register.rb:39
|
1234
1235
|
msgid "%s out of sync disabled"
|
1235
1236
|
msgstr ""
|
1236
1237
|
|
1237
|
-
#: ../lib/foreman_puppet/register.rb:
|
1238
|
+
#: ../lib/foreman_puppet/register.rb:165 ../lib/foreman_puppet/register.rb:218
|
1238
1239
|
msgid "Puppet ENC"
|
1239
1240
|
msgstr ""
|
1240
1241
|
|
1241
|
-
#: ../lib/foreman_puppet/register.rb:
|
1242
|
+
#: ../lib/foreman_puppet/register.rb:232
|
1242
1243
|
msgid "Puppet env"
|
1243
1244
|
msgstr ""
|
1244
1245
|
|
@@ -1269,6 +1270,14 @@ msgstr ""
|
|
1269
1270
|
msgid "Smart class parameters"
|
1270
1271
|
msgstr ""
|
1271
1272
|
|
1273
|
+
#: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:43
|
1274
|
+
msgid "Successfully copied to clipboard!"
|
1275
|
+
msgstr ""
|
1276
|
+
|
1277
|
+
#: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:44
|
1278
|
+
msgid "Copy to clipboard"
|
1279
|
+
msgstr ""
|
1280
|
+
|
1272
1281
|
#: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js:28
|
1273
1282
|
msgid "Couldn't find any ENC data for this host"
|
1274
1283
|
msgstr ""
|
data/locale/fr/foreman_puppet.po
CHANGED
@@ -158,6 +158,9 @@ msgstr "Groupes de configuration"
|
|
158
158
|
msgid "Config Management"
|
159
159
|
msgstr "Gestion de configuration"
|
160
160
|
|
161
|
+
msgid "Copy to clipboard"
|
162
|
+
msgstr ""
|
163
|
+
|
161
164
|
msgid "Couldn't find any ENC data for this host"
|
162
165
|
msgstr "Je n'ai pas trouvé de données ENC pour cet hôte."
|
163
166
|
|
@@ -731,6 +734,9 @@ msgstr "Paramètres smart class"
|
|
731
734
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
732
735
|
msgstr "Certaines classes Puppet sont indisponibles dans l'environnement sélectionné"
|
733
736
|
|
737
|
+
msgid "Successfully copied to clipboard!"
|
738
|
+
msgstr ""
|
739
|
+
|
734
740
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
735
741
|
msgstr "Substitution de tous les paramètres de la classe Puppet %s réussie"
|
736
742
|
|
data/locale/gl/foreman_puppet.po
CHANGED
@@ -145,6 +145,9 @@ msgstr ""
|
|
145
145
|
msgid "Config Management"
|
146
146
|
msgstr ""
|
147
147
|
|
148
|
+
msgid "Copy to clipboard"
|
149
|
+
msgstr ""
|
150
|
+
|
148
151
|
msgid "Couldn't find any ENC data for this host"
|
149
152
|
msgstr ""
|
150
153
|
|
@@ -718,6 +721,9 @@ msgstr ""
|
|
718
721
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
719
722
|
msgstr ""
|
720
723
|
|
724
|
+
msgid "Successfully copied to clipboard!"
|
725
|
+
msgstr ""
|
726
|
+
|
721
727
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
722
728
|
msgstr ""
|
723
729
|
|
data/locale/it/foreman_puppet.po
CHANGED
@@ -150,6 +150,9 @@ msgstr ""
|
|
150
150
|
msgid "Config Management"
|
151
151
|
msgstr ""
|
152
152
|
|
153
|
+
msgid "Copy to clipboard"
|
154
|
+
msgstr ""
|
155
|
+
|
153
156
|
msgid "Couldn't find any ENC data for this host"
|
154
157
|
msgstr ""
|
155
158
|
|
@@ -723,6 +726,9 @@ msgstr "Parametri classe smart"
|
|
723
726
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
724
727
|
msgstr ""
|
725
728
|
|
729
|
+
msgid "Successfully copied to clipboard!"
|
730
|
+
msgstr ""
|
731
|
+
|
726
732
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
727
733
|
msgstr "Sovrascritti con successo tutti i parametri della classe puppet %s"
|
728
734
|
|
data/locale/ja/foreman_puppet.po
CHANGED
@@ -152,6 +152,9 @@ msgstr "設定グループ"
|
|
152
152
|
msgid "Config Management"
|
153
153
|
msgstr "設定管理"
|
154
154
|
|
155
|
+
msgid "Copy to clipboard"
|
156
|
+
msgstr ""
|
157
|
+
|
155
158
|
msgid "Couldn't find any ENC data for this host"
|
156
159
|
msgstr "このホストの ENC データを見つけられませんでした"
|
157
160
|
|
@@ -725,6 +728,9 @@ msgstr "スマートクラスパラメーター"
|
|
725
728
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
726
729
|
msgstr "選択した環境では、一部の Puppet クラスは利用できません"
|
727
730
|
|
731
|
+
msgid "Successfully copied to clipboard!"
|
732
|
+
msgstr ""
|
733
|
+
|
728
734
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
729
735
|
msgstr "Puppet クラス %s のすべてのパラメーターが正常に上書きされました"
|
730
736
|
|
data/locale/ka/foreman_puppet.po
CHANGED
@@ -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 "ამ ჰოსტისთვის ENC მონაცემების პოვნა შეუძლებელია"
|
154
157
|
|
@@ -722,6 +725,9 @@ msgstr "ჭკვიანი კლასის პარამეტრებ
|
|
722
725
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
723
726
|
msgstr "Puppet-ის ზოგიერთი კლასი მიუწვდომელია მითითებულ გარემოში"
|
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 "Puppet-ის კლასის (%s) ყველა პარამეტრი წარმატებით გადაიფარა"
|
727
733
|
|
data/locale/ko/foreman_puppet.po
CHANGED
@@ -146,6 +146,9 @@ msgstr ""
|
|
146
146
|
msgid "Config Management"
|
147
147
|
msgstr ""
|
148
148
|
|
149
|
+
msgid "Copy to clipboard"
|
150
|
+
msgstr ""
|
151
|
+
|
149
152
|
msgid "Couldn't find any ENC data for this host"
|
150
153
|
msgstr ""
|
151
154
|
|
@@ -719,6 +722,9 @@ msgstr "스마트 클래스 매개 변수 "
|
|
719
722
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
720
723
|
msgstr ""
|
721
724
|
|
725
|
+
msgid "Successfully copied to clipboard!"
|
726
|
+
msgstr ""
|
727
|
+
|
722
728
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
723
729
|
msgstr "Puppet 클래스 %s의 모든 매개 변수를 성공적으로 덮어쓰기했습니다 "
|
724
730
|
|
@@ -150,6 +150,9 @@ msgstr ""
|
|
150
150
|
msgid "Config Management"
|
151
151
|
msgstr ""
|
152
152
|
|
153
|
+
msgid "Copy to clipboard"
|
154
|
+
msgstr ""
|
155
|
+
|
153
156
|
msgid "Couldn't find any ENC data for this host"
|
154
157
|
msgstr ""
|
155
158
|
|
@@ -723,6 +726,9 @@ msgstr ""
|
|
723
726
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
724
727
|
msgstr ""
|
725
728
|
|
729
|
+
msgid "Successfully copied to clipboard!"
|
730
|
+
msgstr ""
|
731
|
+
|
726
732
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
727
733
|
msgstr "Alle parameters van puppet class %s zijn succesvol overridden."
|
728
734
|
|
data/locale/pl/foreman_puppet.po
CHANGED
@@ -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 "Parametry inteligentnych klas"
|
|
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 "Pomyślnie nadpisano wszystkie parametry klasy Puppet %s"
|
727
733
|
|
@@ -154,6 +154,9 @@ msgstr "Grupos de configuração"
|
|
154
154
|
msgid "Config Management"
|
155
155
|
msgstr "Gerenciamento de configuração"
|
156
156
|
|
157
|
+
msgid "Copy to clipboard"
|
158
|
+
msgstr ""
|
159
|
+
|
157
160
|
msgid "Couldn't find any ENC data for this host"
|
158
161
|
msgstr ""
|
159
162
|
|
@@ -727,6 +730,9 @@ msgstr "Parâmetros de classe inteligentes"
|
|
727
730
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
728
731
|
msgstr "Algumas classes de bonecos não estão disponíveis no ambiente selecionado"
|
729
732
|
|
733
|
+
msgid "Successfully copied to clipboard!"
|
734
|
+
msgstr ""
|
735
|
+
|
730
736
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
731
737
|
msgstr "Anulou com sucesso todos os parâmetros da classe Puppet %s"
|
732
738
|
|
data/locale/ru/foreman_puppet.po
CHANGED
@@ -154,6 +154,9 @@ msgstr ""
|
|
154
154
|
msgid "Config Management"
|
155
155
|
msgstr ""
|
156
156
|
|
157
|
+
msgid "Copy to clipboard"
|
158
|
+
msgstr ""
|
159
|
+
|
157
160
|
msgid "Couldn't find any ENC data for this host"
|
158
161
|
msgstr ""
|
159
162
|
|
@@ -727,6 +730,9 @@ msgstr "Смарт-параметры"
|
|
727
730
|
msgid "Some Puppet Classes are unavailable in the selected environment"
|
728
731
|
msgstr ""
|
729
732
|
|
733
|
+
msgid "Successfully copied to clipboard!"
|
734
|
+
msgstr ""
|
735
|
+
|
730
736
|
msgid "Successfully overridden all parameters of Puppet class %s"
|
731
737
|
msgstr "Успешно перезаписаны все параметры в классе Puppet %s"
|
732
738
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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={__('
|
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
|
42
|
+
{copied
|
43
|
+
? __('Successfully copied to clipboard!')
|
44
|
+
: __('Copy to clipboard')}
|
42
45
|
</ClipboardCopyButton>
|
43
46
|
</CodeBlockAction>
|
44
47
|
);
|
@@ -82,9 +82,6 @@ export function updatePuppetclasses(element) {
|
|
82
82
|
export function reloadPuppetclassParams() {
|
83
83
|
const hostId = $('form.hostresource-form').data('id');
|
84
84
|
const url = $('#puppet_klasses_parameters').data('url');
|
85
|
-
if (!url) {
|
86
|
-
return;
|
87
|
-
}
|
88
85
|
let data = window.serializeForm().replace('method=patch', 'method=post');
|
89
86
|
if (url.match('hostgroups')) {
|
90
87
|
data += `&hostgroup_id=${hostId}`;
|