magic_locales 0.0.7 → 0.0.8
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7bc2afbaa5ebd3bad1857e3d00bcff0a69b502a
|
|
4
|
+
data.tar.gz: 8bd03b07b52c5b6f02926ad4b5397b4512d55448
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec7fc3996ba6424a56a9448b151ad690594d5b008d5980aecafc3526a1970a7e0cefac760b439d2c39e8ca2cddeda846873619febe51bb099260caad86f4b750
|
|
7
|
+
data.tar.gz: 7f1120bbd8fd37541a8e101a404de00b61410cc7c13f7c6b8af841ab22e87b8b71d987928c98da9392079d03d10e75cefdcc0360b162027c4940e47db8e4b6ac
|
data/config/locales/mgcl.de.yml
CHANGED
|
@@ -3,6 +3,7 @@ de:
|
|
|
3
3
|
available_locales: "Verfügbare Sprachen"
|
|
4
4
|
available_locales_helper: "Sprachen die als *.yml Datei im System vorliegen, Fragen Sie Ihren Admin für mehr Informationen."
|
|
5
5
|
main_locale: "Master"
|
|
6
|
+
active_locale: "Aktiv"
|
|
6
7
|
trigger: "Optionen"
|
|
7
8
|
available: "Verfügbar"
|
|
8
9
|
actions: "Aktionen"
|
|
@@ -14,6 +15,10 @@ de:
|
|
|
14
15
|
release: "Veröffentlichen"
|
|
15
16
|
deactivate: "Deaktivieren"
|
|
16
17
|
edit: "bearbeiten"
|
|
18
|
+
state_descriptions:
|
|
19
|
+
live: "Sprache ist Online, das heißt genrell verfügbar und sichtbar. Wenn mehr als eine Sprache Online sind, wird der Sprach-Wechsler sichtbar."
|
|
20
|
+
active: "Sprache ist aktiv, das heißt sie ist nicht sichtbar aber wird im hintergrund schon vom System verwendet. (zur Vorbereitung)"
|
|
21
|
+
incatvie: "Sprache ist Inaktiv, also weder sichtbar noch in verwendung."
|
|
17
22
|
helpers:
|
|
18
23
|
label:
|
|
19
24
|
language:
|
data/config/locales/mgcl.en.yml
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
en:
|
|
2
2
|
magic_locales:
|
|
3
3
|
available_locales: "Verfügbare Sprachen"
|
|
4
4
|
available_locales_helper: "Locales that are available as *.yml files in the system, ask your admin for more informations."
|
|
5
5
|
main_locale: "main"
|
|
6
|
+
active_locale: "active"
|
|
6
7
|
trigger: "triggers"
|
|
7
8
|
available: "available"
|
|
8
9
|
actions: "Actions"
|
|
@@ -14,6 +15,10 @@ de:
|
|
|
14
15
|
release: "release"
|
|
15
16
|
deactivate: "deactivate"
|
|
16
17
|
edit: "edit"
|
|
18
|
+
state_descriptions:
|
|
19
|
+
live: "Language is live, so available. When more then one language is live, the language-selector gets visble."
|
|
20
|
+
active: "Language is active, so not available but allready used by the system (for preparation)."
|
|
21
|
+
incatvie: "Language is inactive, so not available and not in use."
|
|
17
22
|
helpers:
|
|
18
23
|
label:
|
|
19
24
|
language:
|
|
@@ -16,14 +16,22 @@
|
|
|
16
16
|
</h4>
|
|
17
17
|
<p><%= t("magic_locales.available_locales_helper") %></p>
|
|
18
18
|
<div class="clearfix"></div>
|
|
19
|
+
<table class="table table-condensed">
|
|
20
|
+
<% %w(live active inactive).each do |this| %>
|
|
21
|
+
<tr>
|
|
22
|
+
<th><%= t("helpers.label.magic_locales_locale.states.#{this}") %></th>
|
|
23
|
+
<td><%= t("magic_locales.state_descriptions.#{this}") %></td>
|
|
24
|
+
</tr>
|
|
25
|
+
<% end %>
|
|
26
|
+
</table>
|
|
19
27
|
<hr/>
|
|
20
28
|
<table class="table table-striped">
|
|
21
29
|
<thead>
|
|
22
30
|
<tr>
|
|
23
31
|
|
|
24
|
-
<th><%= t("helpers.label.
|
|
25
|
-
<th><%= t("helpers.label.
|
|
26
|
-
<th><%= t("helpers.label.
|
|
32
|
+
<th><%= t("helpers.label.magic_locales_locale.iso_code") %></th>
|
|
33
|
+
<th><%= t("helpers.label.magic_locales_locale.name") %></th>
|
|
34
|
+
<th><%= t("helpers.label.magic_locales_locale.locale_state") %></th>
|
|
27
35
|
<th><%= t("magic_locales.available") %></th>
|
|
28
36
|
<th><%= t("magic_locales.trigger") %></th>
|
|
29
37
|
<th><%= t("magic_locales.actions") %></th>
|
|
@@ -50,11 +58,15 @@
|
|
|
50
58
|
</td>
|
|
51
59
|
<td><strong><%= locale.name %></strong></td>
|
|
52
60
|
<td>
|
|
53
|
-
<%= t("helpers.label.
|
|
61
|
+
<%= t("helpers.label.magic_locales_locale.states.#{locale.locale_state}") %>
|
|
54
62
|
<% if I18n.default_locale.to_s == locale.iso_code %>
|
|
55
63
|
|
|
56
64
|
<span class="label label-success"><%= t("magic_locales.main_locale") %></span>
|
|
57
65
|
<% end %>
|
|
66
|
+
<% if I18n.locale.to_s == locale.iso_code %>
|
|
67
|
+
|
|
68
|
+
<span class="label label-success"><%= t("magic_locales.active_locale") %></span>
|
|
69
|
+
<% end %>
|
|
58
70
|
</td>
|
|
59
71
|
<td>
|
|
60
72
|
<% if I18n.available_locales.include?(locale.iso_code.to_sym) %>
|