From babfb6978a5e23299be06fadf27704f077280b0e Mon Sep 17 00:00:00 2001 From: v3DJG6GL <72495210+v3DJG6GL@users.noreply.github.com> Date: Wed, 24 Apr 2024 13:51:38 +0200 Subject: [PATCH 1/4] add-itunes-podcast-regions This PR adds iTunes podcast regions for all languages that ABS currently supports. --- client/plugins/i18n.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/client/plugins/i18n.js b/client/plugins/i18n.js index 475a6231..6b1d1aee 100644 --- a/client/plugins/i18n.js +++ b/client/plugins/i18n.js @@ -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: '中国' } } From 0302ed986e73223ec427d65da4e916e8806dec55 Mon Sep 17 00:00:00 2001 From: v3DJG6GL <72495210+v3DJG6GL@users.noreply.github.com> Date: Wed, 24 Apr 2024 13:57:51 +0200 Subject: [PATCH 2/4] fix sorting --- client/plugins/i18n.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/plugins/i18n.js b/client/plugins/i18n.js index 6b1d1aee..d6bfd7f5 100644 --- a/client/plugins/i18n.js +++ b/client/plugins/i18n.js @@ -41,7 +41,6 @@ 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' }, @@ -51,14 +50,15 @@ const podcastSearchRegionMap = { 'hr': { label: 'Hrvatska' }, 'il': { label: 'ישראל / إسرائيل' }, 'it': { label: 'Italia' }, - 'hu': { label: 'Magyarország' }, 'lu': { label: 'Luxembourg / Luxemburg / Lëtezebuerg' }, + 'hu': { label: 'Magyarország' }, 'nl': { label: 'Nederland' }, - 'at': { label: 'Österreich' }, 'no': { label: 'Norge' }, + 'at': { label: 'Österreich' }, 'pl': { label: 'Polska' }, 'pt': { label: 'Portugal' }, 'ru': { label: 'Россия' }, + 'ch': { label: 'Schweiz / Suisse / Svizzera' }, 'se': { label: 'Sverige' }, 'vn': { label: 'Việt Nam' }, 'ua': { label: 'Україна' }, From 7edc7ce861ce7899532d1fcac8039bda11ceec1c Mon Sep 17 00:00:00 2001 From: v3DJG6GL <72495210+v3DJG6GL@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:13:19 +0200 Subject: [PATCH 3/4] remove-region-bangladesh --- client/plugins/i18n.js | 1 - 1 file changed, 1 deletion(-) diff --git a/client/plugins/i18n.js b/client/plugins/i18n.js index d6bfd7f5..a277de0e 100644 --- a/client/plugins/i18n.js +++ b/client/plugins/i18n.js @@ -38,7 +38,6 @@ 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' }, 'cz': { label: 'Česko' }, From e8bb92826a490af316d3c7617bf5e9d7df7320d2 Mon Sep 17 00:00:00 2001 From: advplyr Date: Wed, 24 Apr 2024 17:37:04 -0500 Subject: [PATCH 4/4] UI/UX update podcast search region dropdown max width and height --- client/components/modals/libraries/LibrarySettings.vue | 2 +- client/components/ui/Dropdown.vue | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/client/components/modals/libraries/LibrarySettings.vue b/client/components/modals/libraries/LibrarySettings.vue index 5a8a7a40..4183c4fe 100644 --- a/client/components/modals/libraries/LibrarySettings.vue +++ b/client/components/modals/libraries/LibrarySettings.vue @@ -61,7 +61,7 @@
- +
diff --git a/client/components/ui/Dropdown.vue b/client/components/ui/Dropdown.vue index 632e38ec..c4db6e5f 100644 --- a/client/components/ui/Dropdown.vue +++ b/client/components/ui/Dropdown.vue @@ -13,7 +13,7 @@ -