mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Merge pull request #7255 from mkllnk/fail-on-translations
Raise errors in specs with missing translations
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
%tr
|
||||
%th.producer=t('admin.producer')
|
||||
%th.product=t('admin.product')
|
||||
%th.variant=t('(admin.variant')
|
||||
%th.variant=t('admin.variant')
|
||||
%th.add=t('admin.variant_overrides.index.add')
|
||||
%tbody{ ng: { repeat: 'product in filteredProducts | limitTo:productLimit' } }
|
||||
%tr{ id: "v_{{variant.id}}", ng: { repeat: 'variant in product.variants | inventoryVariants:hub_id:views' } }
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
.field
|
||||
= label_tag nil, t(:shipping_method)
|
||||
= select_tag("shipping_method_id",
|
||||
options_for_select(Spree::ShippingMethod.managed_by(spree_current_user).collect {|s| [t("spree.shipping_method.#{s.name}"), s.id]}),
|
||||
options_for_select(Spree::ShippingMethod.managed_by(spree_current_user).collect {|s| [t("spree.shipping_method_names.#{s.name}"), s.id]}),
|
||||
{include_blank: true, class: 'select2', 'ng-model' => 'shipping_method_id'})
|
||||
.field-block.alpha.eight.columns
|
||||
= label_tag nil, t(:distributors)
|
||||
|
||||
Reference in New Issue
Block a user