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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7bc2afbaa5ebd3bad1857e3d00bcff0a69b502a
4
- data.tar.gz: 8bd03b07b52c5b6f02926ad4b5397b4512d55448
3
+ metadata.gz: 9b881d8e63648fba085a5decc71227eeeec7ab0d
4
+ data.tar.gz: 42244860a084852ca7e97f01df142433594efff9
5
5
  SHA512:
6
- metadata.gz: ec7fc3996ba6424a56a9448b151ad690594d5b008d5980aecafc3526a1970a7e0cefac760b439d2c39e8ca2cddeda846873619febe51bb099260caad86f4b750
7
- data.tar.gz: 7f1120bbd8fd37541a8e101a404de00b61410cc7c13f7c6b8af841ab22e87b8b71d987928c98da9392079d03d10e75cefdcc0360b162027c4940e47db8e4b6ac
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 |al| %>
14
- <span class="label label-default"><%= al %></span>
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("helpers.label.magic_locales_locale.states.#{this}") %></th>
23
- <td><%= t("magic_locales.state_descriptions.#{this}") %></td>
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">
@@ -1,3 +1,3 @@
1
1
  module MagicLocales
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_locales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel