From 1af11344b2a15974ff1598cb099f88bbaa2acd39 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 12 Jan 2025 20:43:03 -0800 Subject: update translations --- src/lib/locales.ts | 11 ++++++++++- src/lib/translations/index.js | 45 ++++++++++++++++++++++++++++++++++++++++++ src/lib/translations/lang.json | 13 ++++++++++-- 3 files changed, 66 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/locales.ts b/src/lib/locales.ts index 29c47a77..b87ecc7a 100644 --- a/src/lib/locales.ts +++ b/src/lib/locales.ts @@ -9,6 +9,15 @@ import { pt, ru, zhCN as zh, + arSA as ar, + hiIN as hi, + bnBD as bn, + tr, + ko, + it, + nl, + th, + pl } from "date-fns/locale/index.js"; -export default { de, el, en, es, fa, fr, ja, pt, ru, zh }; +export default { de, el, en, es, fa, fr, ja, pt, ru, zh, ar, hi, bn, tr, ko, it, nl, th, pl }; diff --git a/src/lib/translations/index.js b/src/lib/translations/index.js index cd7c20dd..0f42f697 100644 --- a/src/lib/translations/index.js +++ b/src/lib/translations/index.js @@ -55,6 +55,51 @@ const config = { key: "", loader: async () => (await import("../../locales/el.json")).default, }, + { + locale: "ar", + key: "", + loader: async () => (await import("../../locales/ar.json")).default, + }, + { + locale: "hi", + key: "", + loader: async () => (await import("../../locales/hi.json")).default, + }, + { + locale: "bn", + key: "", + loader: async () => (await import("../../locales/bn.json")).default, + }, + { + locale: "tr", + key: "", + loader: async () => (await import("../../locales/tr.json")).default, + }, + { + locale: "ko", + key: "", + loader: async () => (await import("../../locales/ko.json")).default, + }, + { + locale: "it", + key: "", + loader: async () => (await import("../../locales/it.json")).default, + }, + { + locale: "nl", + key: "", + loader: async () => (await import("../../locales/nl.json")).default, + }, + { + locale: "th", + key: "", + loader: async () => (await import("../../locales/th.json")).default, + }, + { + locale: "pl", + key: "", + loader: async () => (await import("../../locales/pl.json")).default, + }, ], }; diff --git a/src/lib/translations/lang.json b/src/lib/translations/lang.json index 8c302ce9..c4ce80b4 100644 --- a/src/lib/translations/lang.json +++ b/src/lib/translations/lang.json @@ -7,6 +7,15 @@ "ru": "Русский", "pt": "Português", "zh": "中文", - "fa": "فارسی ", - "el": "Ελληνικά" + "fa": "فارسی", + "el": "Ελληνικά", + "ar": "العربية", + "hi": "हिन्दी", + "bn": "বাংলা", + "tr": "Türkçe", + "ko": "한국어", + "it": "Italiano", + "nl": "Nederlands", + "th": "ไทย", + "pl": "Polski" } -- cgit v1.2.3