From 9b18f2eff2b84059cf657e0e168587160623324e Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Sun, 30 Jan 2022 23:48:27 +0000 Subject: [PATCH] Add live indicator for videos, pretranslate more components. --- src/App.vue | 2 +- src/components/ChannelPage.vue | 2 +- src/components/CommentItem.vue | 2 +- src/components/ErrorHandler.vue | 2 +- src/components/HistoryPage.vue | 2 +- src/components/LoginPage.vue | 2 +- src/components/PreferencesPage.vue | 20 ++++++++------------ src/components/RegisterPage.vue | 2 +- src/components/SearchResults.vue | 4 ++-- src/components/Sorting.vue | 2 +- src/components/SubscriptionsPage.vue | 8 ++++---- src/components/VideoItem.vue | 19 +++++++++++-------- src/components/VideoRedirect.vue | 2 +- src/components/WatchVideo.vue | 6 +++--- src/locales/en.json | 3 ++- src/main.js | 2 ++ 16 files changed, 41 insertions(+), 39 deletions(-) diff --git a/src/App.vue b/src/App.vue index 77d0bddb..57983e83 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,7 +13,7 @@ - + diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index 584bf10d..1b31b382 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -16,7 +16,7 @@ v-if="authenticated" class="btn" @click="subscribeHandler" - v-text="$t(`actions.${subscribed ? 'unsubscribe' : 'subscribe'}`)" + v-t="`actions.${subscribed ? 'unsubscribe' : 'subscribe'}`" />
diff --git a/src/components/CommentItem.vue b/src/components/CommentItem.vue index 19146610..00281cad 100644 --- a/src/components/CommentItem.vue +++ b/src/components/CommentItem.vue @@ -13,7 +13,7 @@
- +
diff --git a/src/components/ErrorHandler.vue b/src/components/ErrorHandler.vue index 4919ac52..1ea15676 100644 --- a/src/components/ErrorHandler.vue +++ b/src/components/ErrorHandler.vue @@ -1,6 +1,6 @@ diff --git a/src/components/HistoryPage.vue b/src/components/HistoryPage.vue index 539c3cd6..62b4dfbf 100644 --- a/src/components/HistoryPage.vue +++ b/src/components/HistoryPage.vue @@ -1,5 +1,5 @@