diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue
index 94602e8d..3c6fe476 100644
--- a/client/pages/audiobook/_id/chapters.vue
+++ b/client/pages/audiobook/_id/chapters.vue
@@ -149,7 +149,7 @@
{{ asinError }}
@@ -337,12 +337,12 @@ export default { const lastChapter = this.newChapters[this.newChapters.length - 1] if (lastChapter.start + amount > this.mediaDurationRounded) { - this.$toast.error('Invalid shift amount. Last chapter start time would extend beyond the duration of this audiobook.') + this.$toast.error($strings.ToastInvalidShiftAmountLast) return } if (this.newChapters[1].start + amount <= 0) { - this.$toast.error('Invalid shift amount. The first chapter would have zero or negative length and would be overwritten by the second chapter. Increase the start duration of second chapter. ') + this.$toast.error($strings.ToastInvalidShiftAmountStart) return } diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 2bf70b53..101ee161 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -530,6 +530,7 @@ "LabelReleaseDate": "Release Date", "LabelRemoveAllMetadataAbs": "Remove all metadata.abs files", "LabelRemoveAllMetadataJson": "Remove all metadata.json files", + "LabelRemoveAudibleBranding": "Remove Audible intro and outro from chapters", "LabelRemoveCover": "Remove cover", "LabelRemoveMetadataFile": "Remove metadata files in library item folders", "LabelRemoveMetadataFileHelp": "Remove all metadata.json and metadata.abs files in your {0} folders.", @@ -998,6 +999,8 @@ "ToastFailedToUpdate": "Failed to update", "ToastInvalidImageUrl": "Invalid image URL", "ToastInvalidMaxEpisodesToDownload": "Invalid max episodes to download", + "ToastInvalidShiftAmountLast": "Invalid shift amount. The last chapter start time would extend beyond the duration of this audiobook.", + "ToastInvalidShiftAmountStart": "Invalid shift amount. The first chapter would have zero or negative length and would be overwritten by the second chapter. Increase the start duration of second chapter.", "ToastInvalidUrl": "Invalid URL", "ToastItemCoverUpdateSuccess": "Item cover updated", "ToastItemDeletedFailed": "Failed to delete item",