web: move all strings to i18n & improve a11y
- omnibox is now fully usable with a screen reader - back button is now interpreted as such - subtext now accepts line breaks
This commit is contained in:
@@ -46,6 +46,27 @@ export const config: Config = {
|
||||
await import(`$i18n/en/a11y/meowbalt.json`)
|
||||
).default,
|
||||
},
|
||||
{
|
||||
locale: 'en',
|
||||
key: 'settings',
|
||||
loader: async () => (
|
||||
await import(`$i18n/en/settings.json`)
|
||||
).default,
|
||||
},
|
||||
{
|
||||
locale: 'en',
|
||||
key: 'general',
|
||||
loader: async () => (
|
||||
await import(`$i18n/en/general.json`)
|
||||
).default,
|
||||
},
|
||||
{
|
||||
locale: 'en',
|
||||
key: 'a11y.general',
|
||||
loader: async () => (
|
||||
await import(`$i18n/en/a11y/general.json`)
|
||||
).default,
|
||||
},
|
||||
|
||||
{
|
||||
locale: 'ru',
|
||||
@@ -82,6 +103,20 @@ export const config: Config = {
|
||||
await import(`$i18n/ru/a11y/meowbalt.json`)
|
||||
).default,
|
||||
},
|
||||
{
|
||||
locale: 'ru',
|
||||
key: 'general',
|
||||
loader: async () => (
|
||||
await import(`$i18n/ru/general.json`)
|
||||
).default,
|
||||
},
|
||||
{
|
||||
locale: 'ru',
|
||||
key: 'a11y.general',
|
||||
loader: async () => (
|
||||
await import(`$i18n/ru/a11y/general.json`)
|
||||
).default,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user