mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
feat(i18n): add Hungarian translation (hu) (#1236)
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>
This commit is contained in:
1 parent
0ee73f2d0f
commit
b94f40dc74
25 files changed
+1372
-20
No files matched your search
@@ -49,6 +49,7 @@ const TMDB_LANGUAGE_MAP: Record<Language, string> = {
|
||||
[Language.POLISH]: 'pl-PL',
|
||||
[Language.PORTUGUESE]: 'pt-PT',
|
||||
[Language.GREEK]: 'el-GR',
|
||||
[Language.HUNGARIAN]: 'hu-HU',
|
||||
};
|
||||
|
||||
export function toTmdbLanguage(
|
||||
|
||||
@@ -20,4 +20,5 @@ export enum Language {
|
||||
POLISH = 'pl',
|
||||
PORTUGUESE = 'pt',
|
||||
GREEK = 'el',
|
||||
HUNGARIAN = 'hu',
|
||||
}
|
||||
Reference in new issue
Block a user