<%= @locale.language_name -%> | <%= Tolk::Locale.primary_language_name -%> | |
---|---|---|
<%= hidden_field_tag :"translations[][id]", phrase.translation.id %> <%= hidden_field_tag :"translations[][locale_id]", phrase.translation.locale_id %> <%= text_area_tag :"translations[][text]", format_i18n_text_area_value(phrase.translation.text), :class => 'locale', :onfocus => "$(this).up('tr').addClassName('active');", :onblur => "$(this).up('tr').removeClassName('active');" %> |
← ⚠ |
<%= text_area_tag :"translations[][original_text]", format_i18n_text_area_value(phrase.translations.primary.text), :disabled => true %>
<% if action_name == 'updated' %>
Updated
<%= format_i18n_value(phrase.translations.primary.text) -%>
<%= boolean_warning if phrase.translations.primary.boolean? -%>
Previous
<%= format_i18n_value(phrase.translations.primary.previous_text) -%>
<% else %>
<%= format_i18n_value(phrase.translations.primary.text) -%>
<%= boolean_warning if phrase.translations.primary.boolean? -%>
<% end %>
<%= phrase.key %>
|
<%= locale_form.submit "Save changes", :class => 'save' %>
There aren't any completed translations for this locale.
<% end %>