New languages and yt-channel-info bump (#1155)

This commit is contained in:
Luca Hohmann 2021-04-01 16:21:04 +02:00 committed by GitHub
parent c5fac9fcd7
commit 039cd9874d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

12
package-lock.json generated
View File

@ -18302,9 +18302,9 @@
}
},
"yt-channel-info": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/yt-channel-info/-/yt-channel-info-1.3.0.tgz",
"integrity": "sha512-75ML9snDZhXSkaczR3mgcq6EyI2jjPYzjXcz5TV9C9gSRkhCv2gxVhJVPXfeUQuAa0YGySE3F1V0Yz2HyY3zfg==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/yt-channel-info/-/yt-channel-info-2.0.0.tgz",
"integrity": "sha512-Qrd9ONv9NbVPGGwCWPDwuQds43iXcNQHMB4iE9VqBtDt9WuMKoZd6BvoZDT10QCKisknByO1XIkM1hxbKyZNnA==",
"requires": {
"axios": "^0.21.1",
"querystring": "^0.2.0"
@ -18377,9 +18377,9 @@
}
},
"yt-trending-scraper": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/yt-trending-scraper/-/yt-trending-scraper-1.1.1.tgz",
"integrity": "sha512-ElD3MIZ1ukjOcexYm5VIdLtY22hskrtHA9+8t/5Ox8CG7+vGlTJy2N5MUVAhh0ucoOl8cfkVrsuEUQbzXeABig==",
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/yt-trending-scraper/-/yt-trending-scraper-1.1.2.tgz",
"integrity": "sha512-kRR/bBhNBq/GAvHDSdKE9MxJcwg+CxWb/JZtr2J3xZZ5UF3txdUc3zCLxqf+RRVcdJuObxEv0MgReCwspoFoAg==",
"requires": {
"axios": "^0.21.1"
},

View File

@ -47,7 +47,7 @@
"xml2json": "^0.12.0",
"youtube-chat": "git+https://github.com/IcedCoffeee/youtube-chat.git",
"youtube-suggest": "^1.1.1",
"yt-channel-info": "^1.3.0",
"yt-channel-info": "^2.0.0",
"yt-comment-scraper": "^3.0.2",
"yt-dash-manifest-generator": "1.1.0",
"yt-trending-scraper": "^1.1.1",

View File

@ -27,7 +27,7 @@ Vue.component('FontAwesomeIcon', FontAwesomeIcon)
Vue.use(VueI18n)
// List of locales approved for use
const activeLocales = ['en-US', 'en_GB', 'ar', 'bg', 'cs', 'da', 'de-DE', 'el', 'es', 'es-MX', 'fi', 'fr-FR', 'gl', 'he', 'hu', 'hr', 'id', 'it', 'ja', 'nb_NO', 'nl', 'pl', 'pt', 'pt-BR', 'pt-PT', 'ru', 'sk', 'sl', 'sv', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW']
const activeLocales = ['en-US', 'en_GB', 'ar', 'bg', 'cs', 'da', 'de-DE', 'el', 'es', 'es-MX', 'fi', 'fr-FR', 'gl', 'he', 'hu', 'hr', 'id', 'is', 'it', 'ja', 'nb_NO', 'nl', 'nn', 'pl', 'pt', 'pt-BR', 'pt-PT', 'ru', 'sk', 'sl', 'sv', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW']
const messages = {}
/* eslint-disable-next-line */
const fileLocation = isDev ? 'static/locales/' : `${__dirname}/static/locales/`