From e4b5a6b9d8641b30cfa7e7dc3e51b97dcc5783c4 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 31 Oct 2023 03:18:16 +0000 Subject: [PATCH 01/10] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (722 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/ --- static/locales/zh-CN.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/locales/zh-CN.yaml b/static/locales/zh-CN.yaml index ae9aee5ed..69ef00985 100644 --- a/static/locales/zh-CN.yaml +++ b/static/locales/zh-CN.yaml @@ -144,6 +144,7 @@ Settings: Middle: '中间' End: '结尾' Hidden: 隐藏缩略图 + Blur: 模糊 'Invidious Instance (Default is https://invidious.snopyta.org)': 'Invidious实例(默认https://invidious.snopyta.org)' Region for Trending: '热门区域' #! List countries From 5f55f1dcaf1b797d8ecc73295ffcecf7bda582f1 Mon Sep 17 00:00:00 2001 From: Massimo Pissarello Date: Tue, 31 Oct 2023 04:16:58 +0000 Subject: [PATCH 02/10] Translated using Weblate (Italian) Currently translated at 100.0% (722 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/ --- static/locales/it.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/locales/it.yaml b/static/locales/it.yaml index b84f3bc3c..869f73788 100644 --- a/static/locales/it.yaml +++ b/static/locales/it.yaml @@ -158,6 +158,7 @@ Settings: Middle: 'Nel mezzo' End: 'Fine' Hidden: Nascoste + Blur: Sfocatura 'Invidious Instance (Default is https://invidious.snopyta.org)': 'Istanza Invidious (La predefinita è https://invidious.snopyta.org)' Region for Trending: 'Regione per le tendenze' From 324e1a3e07c83e828fe378a00928869aa90ac7a2 Mon Sep 17 00:00:00 2001 From: Fjuro Date: Tue, 31 Oct 2023 07:01:07 +0000 Subject: [PATCH 03/10] Translated using Weblate (Czech) Currently translated at 100.0% (722 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/ --- static/locales/cs.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/locales/cs.yaml b/static/locales/cs.yaml index e4418693f..e1843ba47 100644 --- a/static/locales/cs.yaml +++ b/static/locales/cs.yaml @@ -166,6 +166,7 @@ Settings: Middle: 'Střed' End: 'Konec' Hidden: Skryté + Blur: Rozmazané 'Invidious Instance (Default is https://invidious.snopyta.org)': 'Instance Invidious (Výchozí je https://invidious.snopyta.org)' Region for Trending: 'Oblast pro trendy' @@ -179,7 +180,7 @@ Settings: instance Current Invidious Instance: Současná instance Invidious No default instance has been set: Není nastavena žádná výchozí instance - The currently set default instance is {instance}: Současné výchozí instance je + The currently set default instance is {instance}: Aktuální výchozí instance je {instance} External Link Handling: No Action: Žádná akce From 19b90a5f74051093bb70e2c5bb9fa9ebc971b4b8 Mon Sep 17 00:00:00 2001 From: retiolus Date: Tue, 31 Oct 2023 09:35:49 +0000 Subject: [PATCH 04/10] Translated using Weblate (Catalan) Currently translated at 63.2% (457 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ca/ --- static/locales/ca.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/locales/ca.yaml b/static/locales/ca.yaml index 021491729..6d0627144 100644 --- a/static/locales/ca.yaml +++ b/static/locales/ca.yaml @@ -35,6 +35,8 @@ Forward: 'Endavant' Global: Videos: 'Vídeos' + Live: En directe + Community: Comunitat Version {versionNumber} is now available! Click for more details: 'La versió {versionNumber} està disponible! Fes clic per a més detalls' Download From Site: 'Descarrega des del web' @@ -92,6 +94,7 @@ Subscriptions: This profile has a large number of subscriptions. Forcing RSS to avoid rate limiting: Aquest perfil té un gran nombre de subscripcions. Forçant RSS per evitar la limitació fixada + Error Channels: Canals amb errors Trending: Trending: 'Tendències' Default: Per defecte From 7f04c3c51e10ddb884d2bd65cb9532602beae4b2 Mon Sep 17 00:00:00 2001 From: Binnette Date: Tue, 31 Oct 2023 14:57:23 +0000 Subject: [PATCH 05/10] Translated using Weblate (French) Currently translated at 100.0% (722 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/ --- static/locales/fr-FR.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/locales/fr-FR.yaml b/static/locales/fr-FR.yaml index 8e296e088..fb9b30236 100644 --- a/static/locales/fr-FR.yaml +++ b/static/locales/fr-FR.yaml @@ -161,6 +161,7 @@ Settings: Middle: 'Milieu' End: 'Fin' Hidden: Caché + Blur: Flou 'Invidious Instance (Default is https://invidious.snopyta.org)': 'Instance Individious (https://invidious.snopyta.org par défaut)' Region for Trending: 'Pays pour les tendances' From a6cdd4b1b1ce18d98a10134daf3c8142bc400162 Mon Sep 17 00:00:00 2001 From: gallegonovato Date: Tue, 31 Oct 2023 13:56:25 +0000 Subject: [PATCH 06/10] Translated using Weblate (Spanish) Currently translated at 100.0% (722 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/ --- static/locales/es.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/locales/es.yaml b/static/locales/es.yaml index 78ae4298c..ecfd2a342 100644 --- a/static/locales/es.yaml +++ b/static/locales/es.yaml @@ -155,6 +155,7 @@ Settings: Middle: 'Mitad' End: 'Final' Hidden: Oculto + Blur: Difuminar 'Invidious Instance (Default is https://invidious.snopyta.org)': 'Instancia de Invidious (por defecto es https://invidious.snopyta.org)' Region for Trending: 'Región de las tendencias' From 7304d75239bbdf0c90698c147c1b1d3059726850 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Tue, 31 Oct 2023 13:07:42 -0400 Subject: [PATCH 07/10] Localize proxy test info when possible (#4255) * Localize proxy test info when possible * Use a second find in-case a locale with the same language is added in the future Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com> * Fix syntax error Co-authored-by: PikachuEXE --------- Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com> Co-authored-by: PikachuEXE --- .../components/proxy-settings/proxy-settings.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/proxy-settings/proxy-settings.js b/src/renderer/components/proxy-settings/proxy-settings.js index c7a8f1a3e..c9a0139b9 100644 --- a/src/renderer/components/proxy-settings/proxy-settings.js +++ b/src/renderer/components/proxy-settings/proxy-settings.js @@ -29,7 +29,6 @@ export default defineComponent({ return { isLoading: false, dataAvailable: false, - proxyTestUrl: 'https://ipwho.is/?output=json&fields=ip,country,city,region', proxyIp: '', proxyCountry: '', proxyRegion: '', @@ -64,6 +63,22 @@ export default defineComponent({ }, proxyUrl: function () { return `${this.proxyProtocol}://${this.proxyHostname}:${this.proxyPort}` + }, + lang: function() { + return this.$i18n.locale.replace('_', '-') + }, + localeToUse: function() { + // locales found here: https://ipwhois.io/documentation + const supportedLangs = ['en', 'ru', 'de', 'es', 'pt-BR', 'fr', 'zh-CN', 'ja'] + return supportedLangs.find(lang => this.lang === lang) ?? supportedLangs.find(lang => this.lang.substring(0, 2) === lang.substring(0, 2)) + }, + proxyTestUrl: function() { + let proxyTestUrl = 'https://ipwho.is/?output=json&fields=ip,country,city,region' + if (this.localeToUse) { + proxyTestUrl += `&lang=${this.localeToUse}` + } + + return proxyTestUrl } }, created: function () { From 047a56d8d5e5b78460bb47cfd9ec2f8173bb8f27 Mon Sep 17 00:00:00 2001 From: NEXI Date: Tue, 31 Oct 2023 21:43:40 +0000 Subject: [PATCH 08/10] Translated using Weblate (Serbian) Currently translated at 100.0% (722 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/ --- static/locales/sr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/locales/sr.yaml b/static/locales/sr.yaml index 8fd14adb1..ce847cdfe 100644 --- a/static/locales/sr.yaml +++ b/static/locales/sr.yaml @@ -167,6 +167,7 @@ Settings: Middle: 'Средина' End: 'Крај' Hidden: Скривено + Blur: Замагљено 'Invidious Instance (Default is https://invidious.snopyta.org)': 'Invidious инстанца (Подразумевано је https://invidious.snopyta.org)' View all Invidious instance information: 'Погледај све информације о Invidious From 8623e05c9e1bfcc04fcfbbc7996ed967dd51b654 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Wed, 1 Nov 2023 01:53:15 +0000 Subject: [PATCH 09/10] Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (722 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/ --- static/locales/zh-TW.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/locales/zh-TW.yaml b/static/locales/zh-TW.yaml index 392403a2b..e1711d9a9 100644 --- a/static/locales/zh-TW.yaml +++ b/static/locales/zh-TW.yaml @@ -143,6 +143,7 @@ Settings: Middle: '中間' End: '結尾' Hidden: 隱藏 + Blur: 模糊 'Invidious Instance (Default is https://invidious.snopyta.org)': 'Invidious實例(預設為 https://invidious.snopyta.org )' Region for Trending: '發燒影片區域' From b52ede6f6698173f045e26a100ac5851719412d7 Mon Sep 17 00:00:00 2001 From: Rex_sa Date: Wed, 1 Nov 2023 03:03:15 +0000 Subject: [PATCH 10/10] Translated using Weblate (Arabic) Currently translated at 100.0% (722 of 722 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/ --- static/locales/ar.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/locales/ar.yaml b/static/locales/ar.yaml index 4458e9aa6..08d4e752e 100644 --- a/static/locales/ar.yaml +++ b/static/locales/ar.yaml @@ -151,6 +151,7 @@ Settings: Middle: 'وسط' End: 'نهاية' Hidden: مخفي + Blur: الضبابية 'Invidious Instance (Default is https://invidious.snopyta.org)': 'حالة Invidious (الافتراضية هي https://invidious.snopyta.org)' Region for Trending: 'المنطقة للأكثر شيوعاً'