mirror of https://github.com/VERT-sh/VERT.git
feat: add norwegian, czech, polish languages
Co-authored-by: Kamiliusz <kamiljedrkowiak@gmail.com> Co-authored-by: TheFrostBunny <David.aa.leren@gmail.com> Co-authored-by: Ömer Faruk Abidinoğlu <66040567+ofadev@users.noreply.github.com> Co-authored-by: wx <dominik.sladecek07@gmail.com>
This commit is contained in:
parent
6f9106c1ba
commit
2cc232588f
|
|
@ -2,7 +2,6 @@
|
||||||
"$schema": "https://inlang.com/schema/project-settings",
|
"$schema": "https://inlang.com/schema/project-settings",
|
||||||
"baseLocale": "en",
|
"baseLocale": "en",
|
||||||
"locales": [
|
"locales": [
|
||||||
"cs",
|
|
||||||
"en",
|
"en",
|
||||||
"es",
|
"es",
|
||||||
"fr",
|
"fr",
|
||||||
|
|
@ -13,13 +12,14 @@
|
||||||
"tr",
|
"tr",
|
||||||
"ja",
|
"ja",
|
||||||
"ko",
|
"ko",
|
||||||
|
"pl",
|
||||||
|
"cs",
|
||||||
"no",
|
"no",
|
||||||
"el",
|
"el",
|
||||||
"id",
|
"id",
|
||||||
"zh-Hans",
|
"zh-Hans",
|
||||||
"zh-Hant",
|
"zh-Hant",
|
||||||
"pt-BR",
|
"pt-BR"
|
||||||
"pl"
|
|
||||||
],
|
],
|
||||||
"modules": [
|
"modules": [
|
||||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@4/dist/index.js",
|
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@4/dist/index.js",
|
||||||
|
|
|
||||||
|
|
@ -514,7 +514,6 @@ export const effects = writable(true);
|
||||||
export const theme = writable<"light" | "dark">("light");
|
export const theme = writable<"light" | "dark">("light");
|
||||||
export const locale = writable(getLocale());
|
export const locale = writable(getLocale());
|
||||||
export const availableLocales = {
|
export const availableLocales = {
|
||||||
cs: "Čeština",
|
|
||||||
en: "English",
|
en: "English",
|
||||||
es: "Español",
|
es: "Español",
|
||||||
fr: "Français",
|
fr: "Français",
|
||||||
|
|
@ -526,12 +525,13 @@ export const availableLocales = {
|
||||||
tr: "Türkçe",
|
tr: "Türkçe",
|
||||||
ja: "日本語",
|
ja: "日本語",
|
||||||
ko: "한국어",
|
ko: "한국어",
|
||||||
|
pl: "Polski",
|
||||||
|
cs: "Čeština",
|
||||||
no: "Norsk",
|
no: "Norsk",
|
||||||
el: "Ελληνικά",
|
el: "Ελληνικά",
|
||||||
"zh-Hans": "简体中文",
|
"zh-Hans": "简体中文",
|
||||||
"zh-Hant": "繁體中文",
|
"zh-Hant": "繁體中文",
|
||||||
"pt-BR": "Português (Brasil)",
|
"pt-BR": "Português (Brasil)",
|
||||||
pl: "Polski",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export function updateLocale(newLocale: string) {
|
export function updateLocale(newLocale: string) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue