diff --git a/frontend/components/Domain/Group/GroupMealPlanRuleForm.vue b/frontend/components/Domain/Group/GroupMealPlanRuleForm.vue index 1a2718697c86..b475f26a9d70 100644 --- a/frontend/components/Domain/Group/GroupMealPlanRuleForm.vue +++ b/frontend/components/Domain/Group/GroupMealPlanRuleForm.vue @@ -8,9 +8,11 @@ - - {{ inputDay === "unset" ? "This rule will apply to all days" : `This rule applies on ${inputDay}s` }} - {{ inputEntryType === "unset" ? "for all meal types" : ` and for ${inputEntryType} meal types` }} + + {{ $t('meal-plan.this-rule-will-apply', { + dayCriteria: inputDay === "unset" ? $t('meal-plan.to-all-days') : $t('meal-plan.on-days', [inputDay]), + mealTypeCriteria: inputEntryType === "unset" ? $t('meal-plan.for-all-meal-types') : $t('meal-plan.for-type-meal-types', [inputEntryType]) + }) }} diff --git a/frontend/components/Domain/Group/GroupPreferencesEditor.vue b/frontend/components/Domain/Group/GroupPreferencesEditor.vue index 64c3dc8000a5..557f67ef273f 100644 --- a/frontend/components/Domain/Group/GroupPreferencesEditor.vue +++ b/frontend/components/Domain/Group/GroupPreferencesEditor.vue @@ -1,7 +1,7 @@