mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 18:08:48 -07: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
@ -12,7 +12,7 @@ describe('AlbumCard component', () => {
|
||||
|
||||
beforeAll(async () => {
|
||||
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');
|
||||
});
|
||||
|
||||
|
@ -157,7 +157,7 @@ export const locales = [
|
||||
{ code: 'en-TT', name: 'English (Trinidad and Tobago)' },
|
||||
{ code: 'en-VI', name: 'English (U.S. Virgin Islands)' },
|
||||
{ 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: 'et-EE', name: 'Estonian (Estonia)' },
|
||||
{ code: 'fo-FO', name: 'Faroese (Faroe Islands)' },
|
||||
|
Loading…
Reference in New Issue
Block a user