Alphabetize locales

This commit is contained in:
Sam Becker 2025-08-14 16:55:31 +02:00
parent 19acbddef5
commit 56a989afe6
2 changed files with 5 additions and 5 deletions

View File

@ -291,8 +291,8 @@ Partial internationalization (for non-admin, user-facing text) provided for a ha
### Supported Languages
- `bd-bn`
- `en-us`
- `en-gb`
- `en-us`
- `id-id`
- `pt-br`
- `pt-pt`

View File

@ -18,13 +18,13 @@ const LOCALE_TEXT_IMPORTS: Record<
string,
() => Promise<I18N | undefined>
> = {
'bd-bn': () => import('./locales/bd-bn').then(m => m.TEXT),
'en-gb': () => import('./locales/en-gb').then(m => m.TEXT),
'id-id': () => import('./locales/id-id').then(m => m.TEXT),
'pt-br': () => import('./locales/pt-br').then(m => m.TEXT),
'pt-pt': () => import('./locales/pt-pt').then(m => m.TEXT),
'id-id': () => import('./locales/id-id').then(m => m.TEXT),
'zh-cn': () => import('./locales/zh-cn').then(m => m.TEXT),
'bd-bn': () => import('./locales/bd-bn').then(m => m.TEXT),
'tr-tr': () => import('./locales/tr-tr').then(m => m.TEXT),
'en-gb': () => import('./locales/en-gb').then(m => m.TEXT),
'zh-cn': () => import('./locales/zh-cn').then(m => m.TEXT),
};
export const getTextForLocale = async (locale: string): Promise<I18N> => {