diff --git a/app/views/spree/admin/taxons/_form.html.haml b/app/views/spree/admin/taxons/_form.html.haml index a23a55be0f..37143af832 100644 --- a/app/views/spree/admin/taxons/_form.html.haml +++ b/app/views/spree/admin/taxons/_form.html.haml @@ -1,31 +1,31 @@ .row .alpha.five.columns = f.field_container :name do - = f.label :name, t(:name) + = f.label :name, t(".name") %span.required * %br/ = error_message_on :taxon, :name, class: 'fullwidth title' = text_field :taxon, :name, class: 'fullwidth' = f.field_container :permalink_part do - = f.label :permalink_part, t(:permalink) + = f.label :permalink_part, t(".permalink") %span.required * %br/ = @taxon.permalink.split("/")[0...-1].join("/") + "/" = text_field_tag :permalink_part, @permalink_part = f.field_container :meta_title do - = f.label :meta_title, t(:meta_title) + = f.label :meta_title, t(".meta_title") %br/ = f.text_field :meta_title, class: 'fullwidth', rows: 6 = f.field_container :meta_description do - = f.label :meta_description, t(:meta_description) + = f.label :meta_description, t(".meta_description") %br/ = f.text_field :meta_description, class: 'fullwidth', rows: 6 = f.field_container :meta_description do - = f.label :meta_keywords, t(:meta_keywords) + = f.label :meta_keywords, t(".meta_keywords") %br/ = f.text_field :meta_keywords, class: 'fullwidth', rows: 6 .omega.seven.columns = f.field_container :description do - = f.label :description, t(:description) + = f.label :description, t(".description") %br/ = f.text_area :description, class: 'fullwidth', rows: 6 diff --git a/config/locales/en.yml b/config/locales/en.yml index 4289cc584c..d3bb4d2960 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -4479,6 +4479,14 @@ See the %{link} to find out more about %{sitename}'s features and to start using email: "Email" total: "Total" billing_address_name: "Name" + taxons: + form: + name: Name + permalink: Permalink + meta_title: Meta Title + meta_description: Meta Description + meta_keywords: Meta Keywords + description: Description general_settings: edit: legal_settings: "Legal Settings"