locale updates

This commit is contained in:
Eugene Pankov
2022-06-15 22:50:47 +02:00
parent 485cd0ef53
commit f469c91786
2 changed files with 109 additions and 81 deletions

View File

@@ -174,8 +174,8 @@ export class LocaleService {
const d = new Date()
if (d.getMonth() === 3 && d.getDate() === 1) {
LocaleService.allLanguages.find(x => x.code === 'en-US').name = 'English (simplified)'
LocaleService.allLanguages.find(x => x.code === 'en-GB').name = 'English (traditional)'
LocaleService.allLanguages.find(x => x.code === 'en-US')!.name = 'English (simplified)'
LocaleService.allLanguages.find(x => x.code === 'en-GB')!.name = 'English (traditional)'
}
}