mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02: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:
parent
754d4c3937
commit
f8b8680b45
55 changed files with 695 additions and 393 deletions
48
frontend/vuetify.options.js
Normal file
48
frontend/vuetify.options.js
Normal file
|
@ -0,0 +1,48 @@
|
|||
import * as locale from "vuetify/src/locale";
|
||||
|
||||
export default {
|
||||
breakpoint: {},
|
||||
icons: {},
|
||||
lang: {
|
||||
locales: {
|
||||
"el-GR": locale.el,
|
||||
"it-IT": locale.it,
|
||||
"ko-KR": locale.ko,
|
||||
"es-ES": locale.es,
|
||||
"ja-JP": locale.ja,
|
||||
"bg-BG": locale.bg,
|
||||
"zh-CN": locale.zhHans,
|
||||
"tr-TR": locale.tr,
|
||||
"ar-SA": locale.ar,
|
||||
"hu-HU": locale.hu,
|
||||
"pt-PT": locale.pt,
|
||||
"no-NO": locale.no,
|
||||
"sv-SE": locale.sv,
|
||||
"ro-RO": locale.ro,
|
||||
"sk-SK": locale.sk,
|
||||
"uk-UA": locale.uk,
|
||||
"lt-LT": locale.lt,
|
||||
"fr-CA": locale.fr,
|
||||
"pl-PL": locale.pl,
|
||||
"da-DK": locale.da,
|
||||
"pt-BR": locale.pt,
|
||||
"de-DE": locale.de,
|
||||
"ca-ES": locale.ca,
|
||||
"sr-SP": locale.srCyrl,
|
||||
"cs-CZ": locale.cs,
|
||||
"fr-FR": locale.fr,
|
||||
"zh-TW": locale.zhHant,
|
||||
"af-ZA": locale.af,
|
||||
"sl-SI": locale.sl,
|
||||
"ru-RU": locale.ru,
|
||||
"he-IL": locale.he,
|
||||
"nl-NL": locale.nl,
|
||||
"en-US": locale.en,
|
||||
"en-GB": locale.en,
|
||||
"fi-FI": locale.fi,
|
||||
"vi-VN": locale.vi,
|
||||
},
|
||||
current: "en-US",
|
||||
},
|
||||
theme: {},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue