1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-14 16:27:29 +00:00
This commit is contained in:
Elias Schneider
2025-03-21 22:30:40 +01:00
2 changed files with 5 additions and 3 deletions

View File

@@ -3,7 +3,8 @@
"baseLocale": "en-US", "baseLocale": "en-US",
"locales": [ "locales": [
"en-US", "en-US",
"nl-NL" "nl-NL",
"ru-RU"
], ],
"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",
@@ -12,4 +13,4 @@
"plugin.inlang.messageFormat": { "plugin.inlang.messageFormat": {
"pathPattern": "./messages/{locale}.json" "pathPattern": "./messages/{locale}.json"
} }
} }

View File

@@ -9,7 +9,8 @@
const locales = { const locales = {
'en-US': 'English', 'en-US': 'English',
'nl-NL': 'Nederlands' 'nl-NL': 'Nederlands',
'ru-RU': 'Русский'
}; };
function updateLocale(locale: Locale) { function updateLocale(locale: Locale) {