add-itunes-podcast-regions

This PR adds iTunes podcast regions for all languages that ABS currently supports.
This commit is contained in:
v3DJG6GL 2024-04-24 13:51:38 +02:00 committed by GitHub
parent 2cb53fafd7
commit babfb6978a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,31 @@ Vue.prototype.$languageCodeOptions = Object.keys(languageCodeMap).map(code => {
// iTunes search API uses ISO 3166 country codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 // iTunes search API uses ISO 3166 country codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
const podcastSearchRegionMap = { const podcastSearchRegionMap = {
'bd': { label: 'বাংলাদেশ' },
'br': { label: 'Brasil' },
'be': { label: 'België / Belgique / Belgien' },
'ch': { label: 'Schweiz / Suisse / Svizzera' },
'cz': { label: 'Česko' },
'dk': { label: 'Danmark' },
'de': { label: 'Deutschland' },
'ee': { label: 'Eesti' },
'es': { label: 'España / Espanya / Espainia' },
'fr': { label: 'France' },
'hr': { label: 'Hrvatska' },
'il': { label: 'ישראל / إسرائيل' },
'it': { label: 'Italia' },
'hu': { label: 'Magyarország' },
'lu': { label: 'Luxembourg / Luxemburg / Lëtezebuerg' },
'nl': { label: 'Nederland' },
'at': { label: 'Österreich' },
'no': { label: 'Norge' },
'pl': { label: 'Polska' },
'pt': { label: 'Portugal' },
'ru': { label: 'Россия' },
'se': { label: 'Sverige' },
'vn': { label: 'Việt Nam' },
'ua': { label: 'Україна' }, 'ua': { label: 'Україна' },
'gb': { label: 'United Kingdom' },
'us': { label: 'United States' }, 'us': { label: 'United States' },
'cn': { label: '中国' } 'cn': { label: '中国' }
} }