mirror of
https://github.com/immich-app/immich.git
synced 2025-01-28 00:59:18 -05:00
refactor: one locales file for all english translations (#10006)
one locales file for all english translations
This commit is contained in:
parent
0f976edf96
commit
1947316b0b
3 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ describe('AlbumCard component', () => {
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
await init({ fallbackLocale: 'en-US' });
|
await init({ fallbackLocale: 'en-US' });
|
||||||
register('en-US', () => import('$lib/i18n/en-US.json'));
|
register('en-US', () => import('$lib/i18n/en.json'));
|
||||||
await waitLocale('en-US');
|
await waitLocale('en-US');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -157,7 +157,7 @@ export const locales = [
|
||||||
{ code: 'en-TT', name: 'English (Trinidad and Tobago)' },
|
{ code: 'en-TT', name: 'English (Trinidad and Tobago)' },
|
||||||
{ code: 'en-VI', name: 'English (U.S. Virgin Islands)' },
|
{ code: 'en-VI', name: 'English (U.S. Virgin Islands)' },
|
||||||
{ code: 'en-GB', name: 'English (United Kingdom)' },
|
{ code: 'en-GB', name: 'English (United Kingdom)' },
|
||||||
{ code: 'en-US', name: 'English (United States)', loader: () => import('$lib/i18n/en-US.json') },
|
{ code: 'en-US', name: 'English (United States)', loader: () => import('$lib/i18n/en.json') },
|
||||||
{ code: 'en-ZW', name: 'English (Zimbabwe)' },
|
{ code: 'en-ZW', name: 'English (Zimbabwe)' },
|
||||||
{ code: 'et-EE', name: 'Estonian (Estonia)' },
|
{ code: 'et-EE', name: 'Estonian (Estonia)' },
|
||||||
{ code: 'fo-FO', name: 'Faroese (Faroe Islands)' },
|
{ code: 'fo-FO', name: 'Faroese (Faroe Islands)' },
|
||||||
|
|
Loading…
Add table
Reference in a new issue