Translations update from Weblate (#475)

* Added translation using Weblate (Chinese (Simplified))

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (64 of 64 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/zh_Hans/

* Added translation using Weblate (Basque)

* Translated using Weblate (Basque)

Currently translated at 100.0% (64 of 64 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/eu/

* Added translation using Weblate (Finnish)

* Translated using Weblate (French)

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/fr/

* Translated using Weblate (German)

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/de/

* Translated using Weblate (Italian)

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/it/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/es/

* Translated using Weblate (Finnish)

Currently translated at 74.2% (52 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/fi/

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/lt/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/zh_Hans/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/tr/

* Translated using Weblate (Croatian)

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hr/

* Translated using Weblate (Basque)

Currently translated at 100.0% (70 of 70 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/eu/

* Add support for Finnish and Chinese Simplified.

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
Co-authored-by: Sergio Varela <sergitroll9@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
This commit is contained in:
Weblate (bot)
2021-09-24 00:37:40 +02:00
committed by GitHub
parent 130de42503
commit 4e4ecd1fba
11 changed files with 309 additions and 11 deletions

View File

@@ -253,6 +253,7 @@ export default {
{ code: "es", name: "Español" },
{ code: "en", name: "English" },
{ code: "fa", name: "فارسی" },
{ code: "fi", name: "Suomi" },
{ code: "fr", name: "français" },
{ code: "hr", name: "Hrvatski" },
{ code: "it", name: "italiano" },
@@ -262,6 +263,7 @@ export default {
{ code: "pl", name: "polski" },
{ code: "tr", name: "Türkçe" },
{ code: "zh_Hant", name: "繁體中文" },
{ code: "zh_Hans", name: "简体中文" },
],
enabledCodecs: ["av1", "vp9", "avc"],
disableLBRY: false,
@@ -356,9 +358,11 @@ export default {
this.proxyLBRY = this.getPreferenceBoolean("proxyLBRY", false);
if (this.selectedLanguage != "en") {
try {
this.CountryMap = await import("@/utils/CountryMaps/" + this.selectedLanguage + ".json").then(val => {
this.countryMap = val;
});
this.CountryMap = await import("@/utils/CountryMaps/" + this.selectedLanguage + ".json").then(
val => {
this.countryMap = val;
},
);
} catch (e) {
console.error("Countries not translated into " + this.selectedLanguage);
}