From 16dcca8822f1178b7df2346534e52af1068b4bc4 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Tue, 1 Nov 2022 13:22:23 +0100 Subject: [PATCH] log untranslated tabs --- src/components/ChannelPage.vue | 3 +++ src/locales/en.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index 663a25b8..b99e844a 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -204,6 +204,9 @@ export default { case "Shorts": translatedTabName = this.$t("video.shorts"); break; + default: + console.error(`Tab name "${tabName}" is not translated yet!`); + break; } return translatedTabName; }, diff --git a/src/locales/en.json b/src/locales/en.json index 5370ac44..9cef968d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -167,4 +167,4 @@ "copied": "Copied!", "cannot_copy": "Can't copy!" } -} \ No newline at end of file +}