mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Add translations to shopfront sorting placeholders
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
= label :enterprise, :preferred_shopfront_product_sorting_method_by_category, t('.shopfront_sort_by_category')
|
||||
.eight.columns.omega
|
||||
%textarea.fullwidth{ id: 'enterprise_preferred_shopfront_taxon_order', name: 'enterprise[preferred_shopfront_taxon_order]', rows: 6,
|
||||
'ofn-taxon-autocomplete' => '', 'multiple-selection' => 'true', placeholder: 'Category',
|
||||
'ofn-taxon-autocomplete' => '', 'multiple-selection' => 'true', placeholder: t('.shopfront_sort_by_category_placeholder'),
|
||||
ng: { model: 'Enterprise.preferred_shopfront_taxon_order', readonly: "Enterprise.preferred_shopfront_product_sorting_method != 'by_category'" }}
|
||||
.row
|
||||
.three.columns.alpha
|
||||
@@ -32,7 +32,7 @@
|
||||
= label :enterprise, :preferred_shopfront_product_sorting_method_by_producer, t('.shopfront_sort_by_producer')
|
||||
.eight.columns.omega
|
||||
%textarea.fullwidth{ id: 'enterprise_preferred_shopfront_producer_order', name: 'enterprise[preferred_shopfront_producer_order]', rows: 6,
|
||||
'ofn-producer-autocomplete' => '', 'multiple-selection' => 'true', placeholder: 'Producer',
|
||||
'ofn-producer-autocomplete' => '', 'multiple-selection' => 'true', placeholder: t('.shopfront_sort_by_producer_placeholder'),
|
||||
ng: { model: 'Enterprise.preferred_shopfront_producer_order', readonly: "Enterprise.preferred_shopfront_product_sorting_method != 'by_producer'" }}
|
||||
|
||||
.row
|
||||
|
||||
@@ -879,6 +879,8 @@ en:
|
||||
display_ordering_in_shopfront: "Display ordering in shopfront:"
|
||||
shopfront_sort_by_category: "By category"
|
||||
shopfront_sort_by_producer: "By producer"
|
||||
shopfront_sort_by_category_placeholder: "Category"
|
||||
shopfront_sort_by_producer_placeholder: "Producer"
|
||||
social:
|
||||
twitter_placeholder: "eg. @the_prof"
|
||||
instagram_placeholder: "eg. the_prof"
|
||||
|
||||
Reference in New Issue
Block a user