mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-14 16:27:29 +00:00
Merge branch 'main' of https://github.com/pocket-id/pocket-id
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user