Fix wrong variable names in translations
This commit is contained in:
parent
fe54c6ae71
commit
2762c24593
|
@ -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 %>
|
||||
|
||||
|
|
|
@ -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') %>
|
||||
|
|
Reference in New Issue