🌐 Add Hungarian language support

This commit is contained in:
ajnart
2023-08-21 17:59:01 +02:00
parent 1b778943eb
commit 7ae0f9a7c6
2 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ module.exports = {
'no', 'no',
'tr', 'tr',
'lv', 'lv',
'hu',
'hr' 'hr'
], ],

View File

@@ -188,6 +188,14 @@ export const languages: Language[] = [
emoji: '🇭🇷', emoji: '🇭🇷',
locale: 'hr', locale: 'hr',
}, },
// Hungarian
{
shortName: 'hu',
originalName: 'Magyar',
translatedName: 'Hungarian',
emoji: '🇭🇺',
locale: 'hu',
},
]; ];
export const getLanguageByCode = (code: string | null) => export const getLanguageByCode = (code: string | null) =>