Fix wrong variable names in translations

This commit is contained in:
Christophe Vilayphiou 2012-04-26 19:38:16 +08:00
parent fe54c6ae71
commit 2762c24593
2 changed files with 6 additions and 6 deletions

View File

@ -10,23 +10,23 @@
</fieldset>
<% end %>
<% if @user_info_model_i18n_variables.size > 0 %>
<% if @info_i18n_variables.size > 0 %>
<fieldset>
<legend>
<%= t('admin.user_info') %>
<%#= render :partial => 'action_bar' %>
</legend>
<div><%= render :partial => 'edit_user_attribute_model', :collection => @user_info_model_i18n_variables %></div>
<div><%= render :partial => 'edit_user_attribute_model', :collection => @info_i18n_variables %></div>
</fieldset>
<% end %>
<% if @user_role_model_i18n_variables.size > 0 %>
<% if @role_i18n_variables.size > 0 %>
<fieldset>
<legend>
<%= t('admin.user_role') %>
<%#= render :partial => 'action_bar' %>
</legend>
<div><%= render :partial => 'edit_user_attribute_model', :collection => @user_role_model_i18n_variables %></div>
<div><%= render :partial => 'edit_user_attribute_model', :collection => @role_i18n_variables %></div>
</fieldset>
<% end %>

View File

@ -46,7 +46,7 @@
</fieldset>
<% end %>
<% if @user_info_model_i18n_variables.size > 0 %>
<% if @info_i18n_variables.size > 0 %>
<fieldset>
<legend>
<%= t('admin.user_info') %>
@ -56,7 +56,7 @@
</fieldset>
<% end %>
<% if @user_role_model_i18n_variables.size > 0 %>
<% if @role_i18n_variables.size > 0 %>
<fieldset>
<legend>
<%= t('admin.user_role') %>