mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Refactor some translations to use interpolation
This commit is contained in:
committed by
Maikel Linke
parent
3a0c0fd638
commit
872a150c7d
@@ -82,7 +82,7 @@ angular.module("admin.variantOverrides").controller "AdminVariantOverridesCtrl",
|
||||
for field, field_errors of data.errors
|
||||
errors = errors.concat field_errors
|
||||
errors = errors.join ', '
|
||||
t('js.variant_overrides.some_trouble') + ": #{errors}"
|
||||
t('js.variant_overrides.some_trouble', {errors: errors})
|
||||
else
|
||||
t('js.oh_no')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user