mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 17:36:15 -08:00
Integrate the community-contributed Hungarian translation by Tibor Hermann (@htibcsike) as the 19th locale: - add apps/web/src/assets/i18n/hu.json (1,142 of 1,175 keys translated; 32 keys added after the contribution fall back to English, plus the new LANGUAGES.HUNGARIAN endonym) - register HUNGARIAN = 'hu' in the Language enum, SUPPORTED_LANGS, Angular date locale registration, and the TMDB language map (hu-HU) - add LANGUAGES.HUNGARIAN = "Magyar" to en.json and all other locales via tools/i18n/fill-missing.mjs - update README.md and CLAUDE.md language counts to 19 Closes #1192, refs #1140. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
25 lines
501 B
TypeScript
25 lines
501 B
TypeScript
/**
|
|
* Enum with all languages that are available in the application
|
|
*/
|
|
export enum Language {
|
|
ARABIC = 'ar',
|
|
MOROCCAN_ARABIC = 'ary',
|
|
ENGLISH = 'en',
|
|
KOREAN = 'ko',
|
|
RUSSIAN = 'ru',
|
|
GERMAN = 'de',
|
|
SPANISH = 'es',
|
|
CHINESE = 'zh',
|
|
TRADITIONAL_CHINESE = 'zhtw',
|
|
FRENCH = 'fr',
|
|
ITALIAN = 'it',
|
|
TURKISH = 'tr',
|
|
JAPANESE = 'ja',
|
|
DUTCH = 'nl',
|
|
BELARUSIAN = 'by',
|
|
POLISH = 'pl',
|
|
PORTUGUESE = 'pt',
|
|
GREEK = 'el',
|
|
HUNGARIAN = 'hu',
|
|
}
|