From d350a026b2d0e2ed1e242227f4e2d1da7cf9ced5 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Sun, 5 Sep 2021 09:08:26 -0400 Subject: [PATCH] Fix: Make more text translatable (#414) * Make more text translatable * update subscription page * Update slovak locale --- src/App.vue | 2 +- src/components/Channel.vue | 2 +- src/components/Comment.vue | 2 +- src/components/ErrorHandler.vue | 2 +- src/components/HistoryPage.vue | 11 +++++----- src/components/LoginPage.vue | 2 +- src/components/Playlist.vue | 2 +- src/components/Preferences.vue | 14 ++++++------- src/components/RegisterPage.vue | 2 +- src/components/SearchResults.vue | 2 +- src/components/SubscriptionsPage.vue | 10 +++++---- src/components/VideoItem.vue | 2 +- src/components/WatchVideo.vue | 8 +++---- src/locales/bn.json | 2 +- src/locales/de.json | 2 +- src/locales/el.json | 2 +- src/locales/en.json | 31 ++++++++++++++++++++++++++-- src/locales/fa.json | 2 +- src/locales/fr.json | 2 +- src/locales/it.json | 2 +- src/locales/lt.json | 2 +- src/locales/ml.json | 2 +- src/locales/nb_NO.json | 2 +- src/locales/sk.json | 2 +- src/locales/tr.json | 2 +- 25 files changed, 72 insertions(+), 42 deletions(-) diff --git a/src/App.vue b/src/App.vue index 8f026b62..e853f392 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,7 +18,7 @@   - Donations + {{ $t("actions.donations") }} diff --git a/src/components/Channel.vue b/src/components/Channel.vue index 5e649e58..25123781 100644 --- a/src/components/Channel.vue +++ b/src/components/Channel.vue @@ -13,7 +13,7 @@ style="background: #222" type="button" > - {{ subscribed ? "Unsubscribe" : "Subscribe" }} + {{ subscribed ? $t("actions.unsubscribe") : $t("actions.subscribe") }}
diff --git a/src/components/Comment.vue b/src/components/Comment.vue index 9b4262eb..660ca7b0 100644 --- a/src/components/Comment.vue +++ b/src/components/Comment.vue @@ -11,7 +11,7 @@
-   Pinned by +   {{ $t("comment.pinned_by") }} {{ uploader }}
diff --git a/src/components/ErrorHandler.vue b/src/components/ErrorHandler.vue index a32a1877..988559c8 100644 --- a/src/components/ErrorHandler.vue +++ b/src/components/ErrorHandler.vue @@ -1,7 +1,7 @@ diff --git a/src/components/HistoryPage.vue b/src/components/HistoryPage.vue index 13553a63..a20188c4 100644 --- a/src/components/HistoryPage.vue +++ b/src/components/HistoryPage.vue @@ -1,13 +1,14 @@