web/save: move strings to i18n & translate to ru

also fixed line break in switcher for future lengthier translations (german, for example)
This commit is contained in:
wukko
2024-07-03 13:52:27 +06:00
parent 9939f3b172
commit 5ced7b5388
10 changed files with 90 additions and 8 deletions

View File

@@ -25,6 +25,28 @@ export const config: Config = {
await import(`$i18n/en/a11y/tabs.json`)
).default,
},
{
locale: 'en',
key: 'save',
loader: async () => (
await import(`$i18n/en/save.json`)
).default,
},
{
locale: 'en',
key: 'a11y.save',
loader: async () => (
await import(`$i18n/en/a11y/save.json`)
).default,
},
{
locale: 'en',
key: 'a11y.meowbalt',
loader: async () => (
await import(`$i18n/en/a11y/meowbalt.json`)
).default,
},
{
locale: 'ru',
key: 'tabs',
@@ -39,6 +61,27 @@ export const config: Config = {
await import(`$i18n/ru/a11y/tabs.json`)
).default,
},
{
locale: 'ru',
key: 'save',
loader: async () => (
await import(`$i18n/ru/save.json`)
).default,
},
{
locale: 'ru',
key: 'a11y.save',
loader: async () => (
await import(`$i18n/ru/a11y/save.json`)
).default,
},
{
locale: 'ru',
key: 'a11y.meowbalt',
loader: async () => (
await import(`$i18n/ru/a11y/meowbalt.json`)
).default,
},
],
};