diff --git a/client/pages/audiobook/_id/manage.vue b/client/pages/audiobook/_id/manage.vue index 6be07349b..7de82b510 100644 --- a/client/pages/audiobook/_id/manage.vue +++ b/client/pages/audiobook/_id/manage.vue @@ -331,11 +331,11 @@ export default { this.$axios .$delete(`/api/tools/item/${this.libraryItemId}/encode-m4b`) .then(() => { - this.$toast.success('Encode canceled') + this.$toast.success(this.$strings.ToastEncodeCancelSucces) }) .catch((error) => { console.error('Failed to cancel encode', error) - this.$toast.error('Failed to cancel encode') + this.$toast.error(this.$strings.ToastEncodeCancelFailed) }) .finally(() => { this.isCancelingEncode = false diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 4c7871fad..24ecbe03c 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -91,6 +91,8 @@ "ButtonShiftTimes": "Shift Times", "ButtonShow": "Show", "ButtonStartM4BEncode": "Start M4B Encode", + "ToastEncodeCancelSucces": "Encode canceled", + "ToastEncodeCancelFailed": "Failed to cancel encode", "ButtonStartMetadataEmbed": "Start Metadata Embed", "ButtonStats": "Stats", "ButtonSubmit": "Submit",