diff --git a/client/components/modals/BatchQuickMatchModel.vue b/client/components/modals/BatchQuickMatchModel.vue index 3d2015d6b..ce227c281 100644 --- a/client/components/modals/BatchQuickMatchModel.vue +++ b/client/components/modals/BatchQuickMatchModel.vue @@ -116,10 +116,10 @@ export default { libraryItemIds: this.selectedBookIds }) .then(() => { - this.$toast.info('Batch quick match of ' + this.selectedBookIds.length + ' books started!') + this.$toast.info(this.$getString('ToastBatchQuickMatchStarted', [this.selectedBookIds.length])) }) .catch((error) => { - this.$toast.error('Batch quick match failed') + this.$toast.error(this.$strings.ToastBatchQuickMatchFailed) console.error('Failed to batch quick match', error) }) .finally(() => { diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 64422773c..304aa0434 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -928,6 +928,8 @@ "ToastBackupUploadSuccess": "Backup uploaded", "ToastBatchDeleteFailed": "Batch delete failed", "ToastBatchDeleteSuccess": "Batch delete success", + "ToastBatchQuickMatchFailed": "Batch Quick Match failed!", + "ToastBatchQuickMatchStarted": "Batch Quick Match of {0} books started!", "ToastBatchUpdateFailed": "Batch update failed", "ToastBatchUpdateSuccess": "Batch update success", "ToastBookmarkCreateFailed": "Failed to create bookmark",