foreman_puppet 5.1.2 → 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/common/_puppetclasses_or_envs_changed.html.erb +5 -0
- data/app/views/foreman_puppet/environments/welcome.html.erb +3 -3
- data/app/views/smart_proxies/plugins/_puppet.html.erb +1 -2
- 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.edit.po +180 -251
- data/locale/ca/foreman_puppet.po +6 -0
- data/locale/cs_CZ/foreman_puppet.edit.po +175 -228
- data/locale/cs_CZ/foreman_puppet.po +6 -0
- data/locale/de/foreman_puppet.edit.po +220 -343
- data/locale/de/foreman_puppet.po +6 -0
- data/locale/en/foreman_puppet.edit.po +234 -86
- data/locale/en/foreman_puppet.po +6 -0
- data/locale/en_GB/foreman_puppet.edit.po +169 -214
- data/locale/en_GB/foreman_puppet.po +6 -0
- data/locale/es/foreman_puppet.edit.po +223 -337
- data/locale/es/foreman_puppet.po +6 -0
- data/locale/foreman_puppet.pot +31 -22
- data/locale/fr/foreman_puppet.edit.po +223 -343
- data/locale/fr/foreman_puppet.po +6 -0
- data/locale/gl/foreman_puppet.edit.po +171 -224
- data/locale/gl/foreman_puppet.po +6 -0
- data/locale/it/foreman_puppet.edit.po +188 -266
- data/locale/it/foreman_puppet.po +6 -0
- data/locale/ja/foreman_puppet.edit.po +190 -251
- data/locale/ja/foreman_puppet.po +6 -0
- data/locale/ka/foreman_puppet.edit.po +1160 -0
- data/locale/ka/foreman_puppet.po +6 -0
- data/locale/ko/foreman_puppet.edit.po +171 -217
- data/locale/ko/foreman_puppet.po +6 -0
- data/locale/nl_NL/foreman_puppet.edit.po +184 -257
- data/locale/nl_NL/foreman_puppet.po +6 -0
- data/locale/pl/foreman_puppet.edit.po +191 -275
- data/locale/pl/foreman_puppet.po +6 -0
- data/locale/pt_BR/foreman_puppet.edit.po +227 -349
- data/locale/pt_BR/foreman_puppet.po +6 -0
- data/locale/ru/foreman_puppet.edit.po +191 -272
- data/locale/ru/foreman_puppet.po +6 -0
- data/locale/sv_SE/foreman_puppet.edit.po +172 -223
- data/locale/sv_SE/foreman_puppet.po +6 -0
- data/locale/zh_CN/foreman_puppet.edit.po +192 -241
- data/locale/zh_CN/foreman_puppet.po +6 -0
- data/locale/zh_TW/foreman_puppet.edit.po +173 -217
- 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/Extends/Host/PuppetTab/index.js +1 -0
- metadata +78 -66
- data/app/views/provisioning_templates/temp/autoyast_orcharhino_finish.erb +0 -31
- data/app/views/provisioning_templates/temp/preseed_orcharhino_finish.erb +0 -90
- data/app/views/provisioning_templates/temp/provision/autoyast_orcharhino_default.erb +0 -336
- data/app/views/provisioning_templates/temp/snippet/_or_al_client.erb +0 -32
- data/app/views/provisioning_templates/temp/snippet/_or_deb_client.erb +0 -175
- data/app/views/provisioning_templates/temp/snippet/_or_ol_client.erb +0 -37
- data/app/views/provisioning_templates/temp/snippet/_or_sles_client.erb +0 -85
- data/locale/messages.mo +0 -0
- /data/locale/{en/foreman_puppet.pox → ka/foreman_puppet.po.time_stamp} +0 -0
@@ -1,4 +1,9 @@
|
|
1
1
|
<% title _("Changed environments") %>
|
2
|
+
<%= breadcrumbs(switchable: false,
|
3
|
+
items: [
|
4
|
+
{ caption: _('Puppet Environments'), url: environments_path },
|
5
|
+
{ caption: _('Changed environments') }
|
6
|
+
]) %>
|
2
7
|
<%= form_tag controller.send("obsolete_and_new_#{controller_name}_path") do %>
|
3
8
|
<h4><%= _("Select the changes you want to apply to Foreman") %></h4>
|
4
9
|
<h6>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% content_for(:title, _("Puppet environments")) %>
|
2
|
-
<%= breadcrumbs(:
|
3
|
-
:
|
4
|
-
{ :
|
2
|
+
<%= breadcrumbs(switchable: false,
|
3
|
+
items: [
|
4
|
+
{ caption: _('Puppet Environments'), url: environments_path },
|
5
5
|
{ caption: @page_header }
|
6
6
|
]) %>
|
7
7
|
|
@@ -1,4 +1,3 @@
|
|
1
|
-
<% javascript 'charts' %>
|
2
1
|
<ul id="proxy-puppet-tab" class="nav nav-tabs nav-tabs-pf">
|
3
2
|
<li class="active"><a href="#puppet_dashboard" data-toggle="tab"><%= _('General')%></a></li>
|
4
3
|
<li><a href="#puppet_envs" data-toggle="tab"><%= _('Environments') %></a></li>
|
@@ -16,7 +15,7 @@
|
|
16
15
|
</div>
|
17
16
|
</div>
|
18
17
|
</div>
|
19
|
-
<div class="clearfix row container-cards-pf container-fluid" data-ajax-url="<%= foreman_puppet.dashboard_puppet_smart_proxy_path(@smart_proxy) %>"
|
18
|
+
<div class="clearfix row container-cards-pf container-fluid" data-ajax-url="<%= foreman_puppet.dashboard_puppet_smart_proxy_path(@smart_proxy) %>"><%= spinner %></div>
|
20
19
|
</div>
|
21
20
|
<div class="tab-pane" id="puppet_envs" data-ajax-url="<%= foreman_puppet.environments_puppet_smart_proxy_path(@smart_proxy) %>">
|
22
21
|
<%= spinner %>
|
@@ -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!
|