From 83524f2285ca39e00e23709e9295260f5f91be01 Mon Sep 17 00:00:00 2001 From: Nihal Mohammed Date: Tue, 27 Jul 2021 18:10:38 +0530 Subject: [PATCH] Update en.yml to include translations for business_address form --- .../enterprises/form/_business_address.html.haml | 14 +++++++------- config/locales/en.yml | 8 ++++++++ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/app/views/admin/enterprises/form/_business_address.html.haml b/app/views/admin/enterprises/form/_business_address.html.haml index 3df6a9c050..7e3dafed96 100644 --- a/app/views/admin/enterprises/form/_business_address.html.haml +++ b/app/views/admin/enterprises/form/_business_address.html.haml @@ -1,17 +1,17 @@ .row .three.columns.alpha - = bf.label :company, t(:Company_legal_name) + = bf.label :company, t(".company_legal_name") .eight.columns.omega - = bf.text_field :company, { placeholder: t(:legal_name_placeholder) } + = bf.text_field :company, { placeholder: t(".company_placeholder") } .row .three.columns.alpha - = bf.label :address1, t(:address) + = bf.label :address1, t('.address1') .eight.columns.omega - = bf.text_field :address1, { placeholder: t(:address_placeholder) } + = bf.text_field :address1, { placeholder: t(".address1_placeholder") } .row .alpha.three.columns - = bf.label :address2, t(:address2) + = bf.label :address2, t(".address2") .eight.columns.omega = bf.text_field :address2 .row @@ -35,6 +35,6 @@ .row .three.columns.alpha - = bf.label :phone, t(:legal_phone_number) + = bf.label :phone, t(".legal_phone_number") .eight.columns.omega - = bf.text_field :phone, { placeholder: t(:phone_placeholder) } + = bf.text_field :phone, { placeholder: t(".phone_placeholder") } diff --git a/config/locales/en.yml b/config/locales/en.yml index d9e0955a23..7525ab822a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -774,6 +774,14 @@ en: terms_and_conditions: "Terms and Conditions" remove_terms_and_conditions: "Remove File" uploaded_on: "uploaded on" + business_address: + company_legal_name: Company Legal Name + company_placeholder: Example Inc. + address1: Legal address + address1_placeholder: 123 High St. + address2: Address(contd.) + legal_phone_number: Legal phone number + phone_placeholder: "98 123 4565" contact: name: Name name_placeholder: eg. Gustav Plum