feat(i18n): Add localized language names to internationalization schema

- Extend `LocaleMessages` type with `locales` field for language names
- Update English, Spanish, and French locales with native language names
- Enhance internationalization type safety and locale representation
This commit is contained in:
padreug 2025-03-09 13:31:11 +01:00
parent f02576d94a
commit 1242d9179d
4 changed files with 130 additions and 4 deletions

View file

@ -19,6 +19,14 @@ export interface LocaleMessages {
serverError: string
networkError: string
}
// Language names in the current language
locales: {
en: string
es: string
fr: string
de: string
zh: string
}
// Add date/time formats
dateTimeFormats: {
short: {