mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	Localize hard-coded texts (#2044)
* feat(lang): localize some views * feat(lang): an attempt at localizing vuetify (WIP) * feat(lang): localized some more screens * feat(lang): localized some more screens again * feat(lang): hack to localize vuetify * feat(lang): localize data management pages * fix linting errors --------- Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
		| @@ -8,9 +8,11 @@ | ||||
|     <RecipeOrganizerSelector v-model="inputCategories" selector-type="categories" /> | ||||
|     <RecipeOrganizerSelector v-model="inputTags" selector-type="tags" /> | ||||
|  | ||||
|     <!-- TODO Make this localizable --> | ||||
|     {{ 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` }} | ||||
|     <!-- TODO: proper pluralization of inputDay --> | ||||
|     {{ $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]) | ||||
|         }) }} | ||||
|   </div> | ||||
| </template> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user