From c47c75aefe353bc77a18f7071c15c7a8830bb7b9 Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 22 Oct 2024 17:24:31 -0500 Subject: [PATCH] Update:More strings localized #3544 --- client/pages/config/sessions.vue | 4 ++-- client/pages/config/users/_id/index.vue | 2 +- client/pages/config/users/_id/sessions.vue | 2 +- client/strings/en-us.json | 3 +++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/client/pages/config/sessions.vue b/client/pages/config/sessions.vue index 59ff75587..38b59b9e6 100644 --- a/client/pages/config/sessions.vue +++ b/client/pages/config/sessions.vue @@ -88,7 +88,7 @@
-

Page {{ currentPage + 1 }} of {{ numPages }}

+

{{ $getString('LabelPaginationPageXOfY', [currentPage + 1, numPages]) }}

@@ -103,7 +103,7 @@
-

Open Listening Sessions

+

{{ $strings.HeaderOpenListeningSessions }}

diff --git a/client/pages/config/users/_id/index.vue b/client/pages/config/users/_id/index.vue index 652e821eb..d19337afe 100644 --- a/client/pages/config/users/_id/index.vue +++ b/client/pages/config/users/_id/index.vue @@ -14,7 +14,7 @@

{{ username }}

- +
content_copy diff --git a/client/pages/config/users/_id/sessions.vue b/client/pages/config/users/_id/sessions.vue index 6b4756776..55ca6a01b 100644 --- a/client/pages/config/users/_id/sessions.vue +++ b/client/pages/config/users/_id/sessions.vue @@ -54,7 +54,7 @@
-

Page {{ currentPage + 1 }} of {{ numPages }}

+

{{ $getString('LabelPaginationPageXOfY', [currentPage + 1, numPages]) }}

diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 3cc96451c..301c4ad1e 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -163,6 +163,7 @@ "HeaderNotificationUpdate": "Update Notification", "HeaderNotifications": "Notifications", "HeaderOpenIDConnectAuthentication": "OpenID Connect Authentication", + "HeaderOpenListeningSessions": "Open Listening Sessions", "HeaderOpenRSSFeed": "Open RSS Feed", "HeaderOtherFiles": "Other Files", "HeaderPasswordAuthentication": "Password Authentication", @@ -226,6 +227,7 @@ "LabelAllUsersExcludingGuests": "All users excluding guests", "LabelAllUsersIncludingGuests": "All users including guests", "LabelAlreadyInYourLibrary": "Already in your library", + "LabelApiToken": "API Token", "LabelAppend": "Append", "LabelAudioBitrate": "Audio Bitrate (e.g. 128k)", "LabelAudioChannels": "Audio Channels (1 or 2)", @@ -463,6 +465,7 @@ "LabelOpenIDGroupClaimDescription": "Name of the OpenID claim that contains a list of the user's groups. Commonly referred to as groups. If configured, the application will automatically assign roles based on the user's group memberships, provided that these groups are named case-insensitively 'admin', 'user', or 'guest' in the claim. The claim should contain a list, and if a user belongs to multiple groups, the application will assign the role corresponding to the highest level of access. If no group matches, access will be denied.", "LabelOpenRSSFeed": "Open RSS Feed", "LabelOverwrite": "Overwrite", + "LabelPaginationPageXOfY": "Page {0} of {1}", "LabelPassword": "Password", "LabelPath": "Path", "LabelPermanent": "Permanent",