mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
add-itunes-podcast-regions
This PR adds iTunes podcast regions for all languages that ABS currently supports.
This commit is contained in:
parent
2cb53fafd7
commit
babfb6978a
@ -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
|
||||
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: 'Україна' },
|
||||
'gb': { label: 'United Kingdom' },
|
||||
'us': { label: 'United States' },
|
||||
'cn': { label: '中国' }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user