web: i18n system & navbar translations

dynamic page language and language dropdown!! finally!!
This commit is contained in:
wukko
2024-07-03 00:16:03 +06:00
parent d11874e57f
commit 9939f3b172
19 changed files with 229 additions and 37 deletions

32
web/package-lock.json generated
View File

@@ -12,6 +12,7 @@
"@fontsource-variable/noto-sans-mono": "^5.0.20",
"@fontsource/ibm-plex-mono": "^5.0.13",
"@tabler/icons-svelte": "^3.6.0",
"sveltekit-i18n": "^2.4.2",
"ts-deepmerge": "^7.0.0"
},
"devDependencies": {
@@ -894,6 +895,21 @@
"vite": "^5.0.0"
}
},
"node_modules/@sveltekit-i18n/base": {
"version": "1.3.7",
"resolved": "https://registry.npmjs.org/@sveltekit-i18n/base/-/base-1.3.7.tgz",
"integrity": "sha512-kg1kql1/ro/lIudwFiWrv949Q07gmweln87tflUZR51MNdXXzK4fiJQv5Mw50K/CdQ5BOk/dJ0WOH2vOtBI6yw==",
"license": "MIT",
"peerDependencies": {
"svelte": ">=3.49.0"
}
},
"node_modules/@sveltekit-i18n/parser-default": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@sveltekit-i18n/parser-default/-/parser-default-1.1.1.tgz",
"integrity": "sha512-/gtzLlqm/sox7EoPKD56BxGZktK/syGc79EbJAPWY5KVitQD9SM0TP8yJCqDxTVPk7Lk0WJhrBGUE2Nn0f5M1w==",
"license": "MIT"
},
"node_modules/@tabler/icons": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.6.0.tgz",
@@ -3002,6 +3018,22 @@
}
}
},
"node_modules/sveltekit-i18n": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/sveltekit-i18n/-/sveltekit-i18n-2.4.2.tgz",
"integrity": "sha512-hjRWn4V4DBL8JQKJoJa3MRvn6d32Zo+rWkoSP5bsQ/XIAguPdQUZJ8LMe6Nc1rST8WEVdu9+vZI3aFdKYGR3+Q==",
"license": "MIT",
"workspaces": [
"./examples/*/"
],
"dependencies": {
"@sveltekit-i18n/base": "~1.3.0",
"@sveltekit-i18n/parser-default": "~1.1.0"
},
"peerDependencies": {
"svelte": ">=3.49.0"
}
},
"node_modules/text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",