magic_locales 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app/views/magic_locales/locales/index.html.erb +10 -7
- data/lib/magic_locales/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b881d8e63648fba085a5decc71227eeeec7ab0d
|
4
|
+
data.tar.gz: 42244860a084852ca7e97f01df142433594efff9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 138561b35bf470e56e555dd09ad23922ab47a8db0711e68bd9462f242d9bf2748a170a4a05aee0ef4a19ba845baec7ba9a1fa6dfc8a73d78fed3fb99c7d19b81
|
7
|
+
data.tar.gz: 29d2912f8b953166e2398aa3e67705c710f98f5795955863c2064c765c1de5d175b4b8cf6f250fa5cf68d73d9fa5cba73a440ac76c4bc2cd0fadaaec0f1f93d1
|
@@ -9,20 +9,23 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
<h4>
|
12
|
-
<strong><%= t("magic_locales.available_locales") %></strong>
|
13
|
-
<% I18n.available_locales.each do |
|
14
|
-
|
12
|
+
<strong><%= t("magic_locales.available_locales") %></strong>
|
13
|
+
<% I18n.available_locales.each do |lang| %>
|
14
|
+
<%= locale_flag( "#{lang}", "small" ) %>
|
15
15
|
<% end %>
|
16
16
|
</h4>
|
17
|
-
<p><%= t("magic_locales.available_locales_helper") %></p>
|
18
17
|
<div class="clearfix"></div>
|
19
18
|
<table class="table table-condensed">
|
20
19
|
<% %w(live active inactive).each do |this| %>
|
20
|
+
<tr>
|
21
|
+
<th><%= t("helpers.label.magic_locales_locale.states.#{this}") %></th>
|
22
|
+
<td><%= t("magic_locales.state_descriptions.#{this}") %></td>
|
23
|
+
</tr>
|
24
|
+
<% end %>
|
21
25
|
<tr>
|
22
|
-
<th><%= t("
|
23
|
-
<td><%= t("magic_locales.
|
26
|
+
<th><%= t("magic_locales.available") %>*</th>
|
27
|
+
<td><%= t("magic_locales.available_locales_helper") %></td>
|
24
28
|
</tr>
|
25
|
-
<% end %>
|
26
29
|
</table>
|
27
30
|
<hr/>
|
28
31
|
<table class="table table-striped">
|