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/SearchResults.vue b/src/components/SearchResults.vue
index 3528a9f9..e7411404 100644
--- a/src/components/SearchResults.vue
+++ b/src/components/SearchResults.vue
@@ -25,7 +25,7 @@
diff --git a/src/components/Sorting.vue b/src/components/Sorting.vue
index 0ab9f423..bd110e30 100644
--- a/src/components/Sorting.vue
+++ b/src/components/Sorting.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/src/components/SubscriptionsPage.vue b/src/components/SubscriptionsPage.vue
index 6f36bde8..99cdfd11 100644
--- a/src/components/SubscriptionsPage.vue
+++ b/src/components/SubscriptionsPage.vue
@@ -1,12 +1,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
diff --git a/src/components/VideoItem.vue b/src/components/VideoItem.vue
index 92f5df9e..0762bfe0 100644
--- a/src/components/VideoItem.vue
+++ b/src/components/VideoItem.vue
@@ -4,15 +4,14 @@
-
+
+
+
+
@@ -74,7 +73,11 @@
diff --git a/src/components/VideoRedirect.vue b/src/components/VideoRedirect.vue
index 0e3a2391..38cc5fbe 100644
--- a/src/components/VideoRedirect.vue
+++ b/src/components/VideoRedirect.vue
@@ -1,5 +1,5 @@
-
+
SponsorBlock
-- sponsor.ajay.app -
+sponsor.ajay.app