From 3c9de5e63a0df860b7da3162b74fe93d627edfab Mon Sep 17 00:00:00 2001 From: Luca Hohmann <34301369+GilgusMaximus@users.noreply.github.com> Date: Sat, 22 May 2021 21:21:48 +0200 Subject: [PATCH] Added Estonian, Serbian languages, fixed comment likes and bumped packages (#1311) --- .github/ISSUE_TEMPLATE/bug_report.md | 3 +++ package-lock.json | 24 ++++++++++++------------ package.json | 4 ++-- src/renderer/main.js | 2 +- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0ca32b2a..d9595c99 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -25,6 +25,9 @@ Please add all steps to reproduce the behavior: 3. Scroll down to '....' 4. See error +**Link to video** +If you refer to a problem which occurs within a specific video, or a range of videos, please link at least one here. + **Screenshots** If applicable, please add screenshots to help explain your problem. Especially console logs from the development tools are very helpful. diff --git a/package-lock.json b/package-lock.json index 41262456..1a0c9fda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19439,9 +19439,9 @@ } }, "yt-channel-info": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/yt-channel-info/-/yt-channel-info-2.1.1.tgz", - "integrity": "sha512-oiTSuEGCMFMpgZYYDZhxskPoUnhkFY2DukkTy90wsQdHNfAIjPsqitHYBm75rXDkL2ubLX+nogzf3ZHa9U1e6A==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/yt-channel-info/-/yt-channel-info-2.2.0.tgz", + "integrity": "sha512-P8WWBKQxIEZ23UmKzfHpCI4zgIBGpmthsT+oDPDfNYH0VweWHgHMsLphopMJe2y+FElz/b/N1yo5v4vwrteGRQ==", "requires": { "axios": "^0.21.1", "querystring": "^0.2.0" @@ -19456,16 +19456,16 @@ } }, "follow-redirects": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.0.tgz", - "integrity": "sha512-0vRwd7RKQBTt+mgu87mtYeofLFZpTas2S9zY+jIeuLJMNvudIgF52nr19q40HOwH5RrhWIPuj9puybzSJiRrVg==" + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", + "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==" } } }, "yt-comment-scraper": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/yt-comment-scraper/-/yt-comment-scraper-4.0.1.tgz", - "integrity": "sha512-5uReiiLnaBhTBBsTfxIYcoV62EATe8dXAkkUCkCG3pgLU+qty9iCjNQvSgY8tZhnCPNAPO+lJaxzbGJ3hJRm4g==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/yt-comment-scraper/-/yt-comment-scraper-4.0.3.tgz", + "integrity": "sha512-dmZ2ZhRAaX+WVI2gLloRLWkp9vjPcnXJDPxlgHT5N/s/dhRDUuRikvWXdGhalJ7LOeECC+dFbYyFyQyv8kIiig==", "requires": { "axios": "^0.21.1", "node-html-parser": "^2.0.2" @@ -19480,9 +19480,9 @@ } }, "follow-redirects": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.3.tgz", - "integrity": "sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA==" + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", + "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==" } } }, diff --git a/package.json b/package.json index d24484b9..e02635af 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ "xml2json": "^0.12.0", "youtube-chat": "git+https://github.com/IcedCoffeee/youtube-chat.git", "youtube-suggest": "^1.1.2", - "yt-channel-info": "^2.1.1", - "yt-comment-scraper": "^4.0.1", + "yt-channel-info": "^2.2.0", + "yt-comment-scraper": "^4.0.3", "yt-dash-manifest-generator": "1.1.0", "yt-trending-scraper": "^2.0.0", "ytdl-core": "^4.8.0", diff --git a/src/renderer/main.js b/src/renderer/main.js index 04f4490e..2a5f1dfd 100644 --- a/src/renderer/main.js +++ b/src/renderer/main.js @@ -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', '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 activeLocales = ['en-US', 'en_GB', 'ar', 'bg', 'cs', 'da', 'de-DE', 'el', 'es', 'es-MX', 'et', 'fi', 'fr-FR', 'gl', 'he', 'hu', 'hr', 'id', 'is', 'it', 'ja', 'nb_NO', 'nl', 'nn', 'pl', 'pt', 'pt-BR', 'pt-PT', 'ru', 'sk', 'sl', 'sr', 'sv', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW'] const messages = {} /* eslint-disable-next-line */ const fileLocation = isDev ? 'static/locales/' : `${__dirname}/static/locales/`