Support "Spanish (Latin America)" metadata lang

This commit is contained in:
Chocobozzz 2024-04-03 15:20:11 +02:00
parent f8b8dc674e
commit e43326ed5b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -1510,6 +1510,10 @@ async function buildLanguages () {
languages['pt'] = 'Portuguese (Brazilian)' languages['pt'] = 'Portuguese (Brazilian)'
languages['pt-PT'] = 'Portuguese (Portugal)' languages['pt-PT'] = 'Portuguese (Portugal)'
// Override Spanish labels
languages['es'] = 'Spanish (Spain)'
languages['es-419'] = 'Spanish (Latin America)'
// Chinese languages // Chinese languages
languages['zh-Hans'] = 'Simplified Chinese' languages['zh-Hans'] = 'Simplified Chinese'
languages['zh-Hant'] = 'Traditional Chinese' languages['zh-Hant'] = 'Traditional Chinese'