magic_locales 0.0.9 → 0.0.10
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: 2ccf17ceb5b72c36195a6a7d6e6a53760ac84f90
|
|
4
|
+
data.tar.gz: 98988b37b8a27090b997a0a2c9ceef85f9e8ba7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1bc70fb3f2017adccb338b72555445d65804e47f92c301a1ddd9715e885ace8ca1c91aa7a8ca1d789e93ff8ab815ea6842463dd1715f7fac946279d9986550e
|
|
7
|
+
data.tar.gz: 45b3445872bd279e75f3aca73f8e24cdcccd8110f8d35c22c8c3d70e903d4520d33b174e135a96993adfe30bf249c574d243f5de4e29b9dd11b514a56c8cbf85
|
data/config/locales/mgcl.de.yml
CHANGED
|
@@ -2,7 +2,7 @@ de:
|
|
|
2
2
|
magic_locales:
|
|
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
|
+
default_locale: "std"
|
|
6
6
|
active_locale: "Aktiv"
|
|
7
7
|
trigger: "Optionen"
|
|
8
8
|
available: "Verfügbar"
|
|
@@ -16,9 +16,9 @@ de:
|
|
|
16
16
|
deactivate: "Deaktivieren"
|
|
17
17
|
edit: "bearbeiten"
|
|
18
18
|
state_descriptions:
|
|
19
|
-
live: "Sprache ist Online, das heißt genrell verfügbar und sichtbar
|
|
20
|
-
active: "Sprache ist aktiv, das heißt sie ist nicht sichtbar aber wird im hintergrund schon vom System verwendet
|
|
21
|
-
|
|
19
|
+
live: "Sprache ist Online, das heißt genrell verfügbar und sichtbar.<br/>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.<br/>(Wird zur Vorbereitung verwendet)"
|
|
21
|
+
incative: "Sprache ist Inaktiv, also weder sichtbar noch in verwendung."
|
|
22
22
|
helpers:
|
|
23
23
|
label:
|
|
24
24
|
language:
|
data/config/locales/mgcl.en.yml
CHANGED
|
@@ -2,7 +2,7 @@ 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
|
+
default_locale: "default"
|
|
6
6
|
active_locale: "active"
|
|
7
7
|
trigger: "triggers"
|
|
8
8
|
available: "available"
|
|
@@ -16,9 +16,9 @@ en:
|
|
|
16
16
|
deactivate: "deactivate"
|
|
17
17
|
edit: "edit"
|
|
18
18
|
state_descriptions:
|
|
19
|
-
live: "Language is live, so available
|
|
20
|
-
active: "Language is active, so not available but allready used by the system
|
|
21
|
-
|
|
19
|
+
live: "Language is live, so available.<br/>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.<br/>(for preparation)"
|
|
21
|
+
incative: "Language is inactive, so not available and not in use."
|
|
22
22
|
helpers:
|
|
23
23
|
label:
|
|
24
24
|
language:
|
|
@@ -6,28 +6,33 @@
|
|
|
6
6
|
<i class="icon-bubbles"></i> <%= t("activerecord.attributes.magic_locales_locale.other") %>
|
|
7
7
|
|
|
8
8
|
<% end %>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<%= content_for :locale_infos do %>
|
|
12
|
+
|
|
13
|
+
<h4>
|
|
14
|
+
<strong><%= t("magic_locales.available_locales") %></strong>
|
|
15
|
+
<% I18n.available_locales.each do |lang| %>
|
|
16
|
+
<%= locale_flag( "#{lang}", "small" ) %>
|
|
17
|
+
<% end %>
|
|
18
|
+
</h4>
|
|
19
|
+
<div class="clearfix"></div>
|
|
20
|
+
<table class="table table-condensed">
|
|
21
|
+
<% %w(live active inactive).each do |this| %>
|
|
22
|
+
<tr>
|
|
23
|
+
<th><%= t("helpers.label.magic_locales_locale.states.#{this}") %></th>
|
|
24
|
+
<td><%= raw t("magic_locales.state_descriptions.#{this}") %></td>
|
|
25
|
+
</tr>
|
|
26
|
+
<% end %>
|
|
20
27
|
<tr>
|
|
21
|
-
<th><%= t("
|
|
22
|
-
<td><%= t("magic_locales.
|
|
28
|
+
<th><%= t("magic_locales.available") %>*</th>
|
|
29
|
+
<td><%= t("magic_locales.available_locales_helper") %></td>
|
|
23
30
|
</tr>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</table>
|
|
30
|
-
<hr/>
|
|
31
|
+
</table>
|
|
32
|
+
|
|
33
|
+
<% end %>
|
|
34
|
+
|
|
35
|
+
|
|
31
36
|
<table class="table table-striped">
|
|
32
37
|
<thead>
|
|
33
38
|
<tr>
|
|
@@ -63,12 +68,10 @@
|
|
|
63
68
|
<td>
|
|
64
69
|
<%= t("helpers.label.magic_locales_locale.states.#{locale.locale_state}") %>
|
|
65
70
|
<% if I18n.default_locale.to_s == locale.iso_code %>
|
|
66
|
-
 
|
|
67
|
-
<span class="label label-success"><%= t("magic_locales.main_locale") %></span>
|
|
71
|
+
<span class="label label-success"><%= t("magic_locales.default_locale") %></span>
|
|
68
72
|
<% end %>
|
|
69
73
|
<% if I18n.locale.to_s == locale.iso_code %>
|
|
70
|
-
 
|
|
71
|
-
<span class="label label-success"><%= t("magic_locales.active_locale") %></span>
|
|
74
|
+
<span class="label label-success"><%= t("magic_locales.active_locale") %></span>
|
|
72
75
|
<% end %>
|
|
73
76
|
</td>
|
|
74
77
|
<td>
|