mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Lazy-load the translations for images step of registration
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
.row
|
||||
.small-12.columns
|
||||
%header
|
||||
%h2 {{'registration_images_headline' | t}}
|
||||
%h5 {{'registration_images_description' | t}}
|
||||
%h2= t(".headline")
|
||||
%h5= t(".description")
|
||||
|
||||
%form{ name: 'images', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "select('social')" } }
|
||||
.row{ ng: { repeat: 'image_step in imageSteps', show: "imageStep == image_step" } }
|
||||
@@ -13,11 +13,11 @@
|
||||
|
||||
.row.buttons.pad-top{ ng: { if: "imageStep == 'logo'" } }
|
||||
.small-12.columns
|
||||
%input.button.secondary{ type: "button", value: "{{'back' | t}}", ng: { click: "select('about')" } }
|
||||
%input.button.secondary{ type: "button", value: t(".back"), ng: { click: "select('about')" } }
|
||||
|
||||
%input.button.primary.right{ type: "button", value: "{{'continue' | t}}", ng: { click: "imageSelect('promo')" } }
|
||||
%input.button.primary.right{ type: "button", value: t(".continue"), ng: { click: "imageSelect('promo')" } }
|
||||
|
||||
.row.buttons.pad-top{ ng: { if: "imageStep == 'promo'" } }
|
||||
.small-12.columns
|
||||
%input.button.secondary{ type: "button", value: "{{'back' | t}}", ng: { click: "imageSelect('logo')" } }
|
||||
%input.button.primary.right{ type: "submit", value: "{{'continue' | t}}" }
|
||||
%input.button.secondary{ type: "button", value: t(".back"), ng: { click: "imageSelect('logo')" } }
|
||||
%input.button.primary.right{ type: "submit", value: t(".continue") }
|
||||
|
||||
@@ -1847,6 +1847,11 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
update_and_recalculate_fees: "Update And Recalculate Fees"
|
||||
registration:
|
||||
steps:
|
||||
images:
|
||||
continue: "Continue"
|
||||
back: "Back"
|
||||
headline: "Thanks!"
|
||||
description: "Let's upload some pretty pictures so your profile looks great! :)"
|
||||
type:
|
||||
headline: "Last step to add %{enterprise}!"
|
||||
question: "Are you a producer?"
|
||||
@@ -1987,9 +1992,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
registration_type_no_producer_help: "If you’re not a producer, you’re probably someone who sells and distributes food. You might be a hub, coop, buying group, retailer, wholesaler or other."
|
||||
# END
|
||||
|
||||
registration_images_headline: "Thanks!"
|
||||
registration_images_description: "Let's upload some pretty pictures so your profile looks great! :)"
|
||||
|
||||
|
||||
# TODO: Remove these once the enterprise.registration.modal keys are translated
|
||||
registration_detail_headline: "Let's Get Started"
|
||||
|
||||
Reference in New Issue
Block a user