Add missing translation on taxon admin form

This commit is contained in:
Gaetan Craig-Riou
2023-10-27 15:47:38 +11:00
parent 487a7b2257
commit 83beafc564
2 changed files with 14 additions and 6 deletions

View File

@@ -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

View File

@@ -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"