diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue index a9d582b0b..e55c779b6 100644 --- a/client/pages/audiobook/_id/chapters.vue +++ b/client/pages/audiobook/_id/chapters.vue @@ -444,11 +444,6 @@ export default { return } - if (unlockedChapters[0].id === 0 && unlockedChapters[0].end + amount <= 0) { - this.$toast.error(this.$strings.ToastChapterInvalidShiftAmount) - return - } - for (let i = 0; i < this.newChapters.length; i++) { const chap = this.newChapters[i] diff --git a/client/strings/en-us.json b/client/strings/en-us.json index d21defaa1..5885445b8 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -1010,7 +1010,6 @@ "ToastBulkChapterInvalidCount": "Enter a number between 1 and 150", "ToastCachePurgeFailed": "Failed to purge cache", "ToastCachePurgeSuccess": "Cache purged successfully", - "ToastChapterInvalidShiftAmount": "Invalid shift amount. First chapter would have zero or negative length.", "ToastChapterLocked": "Chapter is locked.", "ToastChapterStartTimeAdjusted": "Chapter start time adjusted by {0} seconds", "ToastChaptersAllLocked": "All chapters are locked. Unlock some chapters to shift their times.", diff --git a/client/strings/es.json b/client/strings/es.json index ca0fc91c2..a70006405 100644 --- a/client/strings/es.json +++ b/client/strings/es.json @@ -981,7 +981,6 @@ "ToastBulkChapterInvalidCount": "Por favor ingrese un número válido entre 1 y 150", "ToastCachePurgeFailed": "No se pudo purgar la antememoria", "ToastCachePurgeSuccess": "Se purgó la antememoria correctamente", - "ToastChapterInvalidShiftAmount": "Cantidad de desplazamiento inválida. El primer capítulo tendría duración cero o negativa.", "ToastChaptersAllLocked": "Todos los capítulos están bloqueados. Desbloquee algunos capítulos para cambiar sus tiempos.", "ToastChaptersHaveErrors": "Los capítulos tienen errores", "ToastChaptersInvalidShiftAmountLast": "Cantidad de desplazamiento no válida. La hora de inicio del último capítulo se extendería más allá de la duración de este audiolibro.", diff --git a/client/strings/fr.json b/client/strings/fr.json index e57b7a524..99d1899fc 100644 --- a/client/strings/fr.json +++ b/client/strings/fr.json @@ -1002,7 +1002,6 @@ "ToastBulkChapterInvalidCount": "Veuillez entrer un nombre valide entre 1 et 150", "ToastCachePurgeFailed": "Échec de la purge du cache", "ToastCachePurgeSuccess": "Cache purgé avec succès", - "ToastChapterInvalidShiftAmount": "Montant de décalage invalide. Le premier chapitre aurait une durée nulle ou négative.", "ToastChaptersAllLocked": "Tous les chapitres sont verrouillés. Déverrouillez certains chapitres pour décaler leurs temps.", "ToastChaptersHaveErrors": "Les chapitres contiennent des erreurs", "ToastChaptersInvalidShiftAmountLast": "Durée de décalage non valide. L’heure de début du dernier chapitre pourrait dépasser la durée de ce livre audio.",