From d515e67d817360e0c6cb0202b350aa55f2947f21 Mon Sep 17 00:00:00 2001 From: Vito0912 <86927734+Vito0912@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:39:16 +0100 Subject: [PATCH] fixed side bar, language and layout --- client/components/app/ConfigSideNav.vue | 6 +++--- client/components/stats/PreviewIcons.vue | 2 +- client/pages/config/server-stats.vue | 24 ++++++++++++++++-------- client/strings/en-us.json | 4 ++++ 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/client/components/app/ConfigSideNav.vue b/client/components/app/ConfigSideNav.vue index b42a560ea..fe71db499 100644 --- a/client/components/app/ConfigSideNav.vue +++ b/client/components/app/ConfigSideNav.vue @@ -114,9 +114,9 @@ export default { if (this.currentLibraryId) { configRoutes.push({ - id: 'library-stats', - title: this.$strings.HeaderLibraryStats, - path: `/library/${this.currentLibraryId}/stats` + id: 'config-server-stats', + title: this.$strings.HeaderServerStats, + path: `/config/server-stats` }) configRoutes.push({ id: 'config-stats', diff --git a/client/components/stats/PreviewIcons.vue b/client/components/stats/PreviewIcons.vue index ca64e8af6..b9f89e5da 100644 --- a/client/components/stats/PreviewIcons.vue +++ b/client/components/stats/PreviewIcons.vue @@ -14,7 +14,7 @@ podcasts

{{ $formatNumber(numAudioTracks) }}

-

Episodes

+

{{ $strings.LabelEpisodes }}

diff --git a/client/pages/config/server-stats.vue b/client/pages/config/server-stats.vue index 9684c9bf5..687fb7a4f 100644 --- a/client/pages/config/server-stats.vue +++ b/client/pages/config/server-stats.vue @@ -1,16 +1,16 @@