From 64185b7519f3ca2dabc4ed2450de5a73c43880c7 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 22 Feb 2025 17:53:05 -0600 Subject: [PATCH] Add backup schedule string translation #4017 --- client/plugins/utils.js | 2 +- client/strings/en-us.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/plugins/utils.js b/client/plugins/utils.js index 96b1f31c..8341a9e2 100644 --- a/client/plugins/utils.js +++ b/client/plugins/utils.js @@ -156,7 +156,7 @@ Vue.prototype.$parseCronExpression = (expression, context) => { .join(', ') return { - description: `Run every ${weekdayText} at ${pieces[1]}:${pieces[0].padStart(2, '0')}` + description: context.$getString('MessageScheduleRunEveryWeekdayAtTime', [weekdayText, `${pieces[1]}:${pieces[0].padStart(2, '0')}`]) } } diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 8a2206a4..301f14a8 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -848,6 +848,7 @@ "MessageRestoreBackupConfirm": "Are you sure you want to restore the backup created on", "MessageRestoreBackupWarning": "Restoring a backup will overwrite the entire database located at /config and cover images in /metadata/items & /metadata/authors.

Backups do not modify any files in your library folders. If you have enabled server settings to store cover art and metadata in your library folders then those are not backed up or overwritten.

All clients using your server will be automatically refreshed.", "MessageScheduleLibraryScanNote": "For most users, it is recommended to leave this feature disabled and keep the folder watcher setting enabled. The folder watcher will automatically detect changes in your library folders. The folder watcher doesn't work for every file system (like NFS) so scheduled library scans can be used instead.", + "MessageScheduleRunEveryWeekdayAtTime": "Run every {0} at {1}", "MessageSearchResultsFor": "Search results for", "MessageSelected": "{0} selected", "MessageServerCouldNotBeReached": "Server could not be reached",