0
Fork 0
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:
Daniel Dietzler 2024-06-06 00:57:44 +02:00 committed by GitHub
parent 0f976edf96
commit 1947316b0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

View file

@ -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');
}); });

View file

@ -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)' },