Changes for i18n yml

This commit is contained in:
Christophe Vilayphiou committed 2012-09-12 19:12:50 +08:00
1 parent a579e16109
commit 8b2bc207de
171 files changed
+1215 -3717

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
<% LIST[:page_part_kinds].each do |kind| %>
<%= f.radio_button :kind, kind, :class => 'part_kind' %>
<%= t(kind, :scope => 'admin.page_part_kinds') %>
<%= t(kind, :scope => 'page_part_kinds' %>
<% end %>
<% LIST[:page_part_kinds].each do |kind| %>
@@ -12,6 +12,6 @@
<% end %>
<p>
<%= f.submit t(:update) %> <%= link_back %>
<%= f.submit t(:update_) %> <%= link_back %>
</p>
<% end %>
@@ -2,7 +2,7 @@
<%= f.fields_for :title_translations do |f| %>
<% @site_valid_locales.each do |locale| %>
<p>
<%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}" %>
<%= f.label :locale, "#{t(:title)} #{I18nVariable.from_locale(locale)}" %>
<%= f.text_field locale, :value => (@part.title_translations[locale] rescue nil) %>
</p>
<% end %>