From e9389d7ea919216f04866dd3575facbfcd09f068 Mon Sep 17 00:00:00 2001 From: benonymity Date: Thu, 17 Nov 2022 21:31:01 -0500 Subject: [PATCH] update: use localized strings for social tab --- client/pages/account.vue | 4 ++-- client/pages/config/index.vue | 4 ++-- client/pages/social.vue | 6 +++--- client/strings/en-us.json | 7 ++++++- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/client/pages/account.vue b/client/pages/account.vue index 66076cdb9..044f2c227 100644 --- a/client/pages/account.vue +++ b/client/pages/account.vue @@ -21,9 +21,9 @@
- +

- Share Listening Activity + {{ $strings.ShareStats }} info_outlined

diff --git a/client/pages/config/index.vue b/client/pages/config/index.vue index 8227aa26a..f9b370075 100644 --- a/client/pages/config/index.vue +++ b/client/pages/config/index.vue @@ -50,9 +50,9 @@
- +

- Shared Listening Stats + {{ $strings.EnableSharedStats}} info_outlined

diff --git a/client/pages/social.vue b/client/pages/social.vue index b8dcca757..a8973af5f 100644 --- a/client/pages/social.vue +++ b/client/pages/social.vue @@ -3,11 +3,11 @@
-

Social

+

{{ $strings.Social }}

- +

- Share Listening Activity + {{ $strings.ShareStats }} info_outlined

diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 9fd9aaed3..31fd5d9c0 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -460,6 +460,11 @@ "PlaceholderNewCollection": "New collection name", "PlaceholderNewFolderPath": "New folder path", "PlaceholderSearch": "Search..", + "EnableSharedStatsHelp": "Allow users to share latest listening activity with other users on an opt-in basis", + "EnableSharedStats": "Shared Listening Stats", + "ShareStatsHelp": "Share your latest listening activity with other users in the social tab", + "ShareStats": "Share Listening Activity", + "Social": "Social", "ToastAccountUpdateFailed": "Failed to update account", "ToastAccountUpdateSuccess": "Account updated", "ToastAuthorImageRemoveFailed": "Failed to remove image", @@ -526,4 +531,4 @@ "WeekdayThursday": "Thursday", "WeekdayTuesday": "Tuesday", "WeekdayWednesday": "Wednesday" -} \ No newline at end of file +}