mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Add missing translation on taxon admin form
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user