Change: toast date error to be generic

This commit is contained in:
Nicholas Wallace 2025-01-06 20:22:47 -07:00
parent 2ec84edb5e
commit db17a5c88b
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ export default {
// Check pubdate is valid if it is being updated. Cannot be set to null in the web client
if (updatedDetails.pubDate === null) {
this.$toast.error(this.$strings.ToastEpisodePubDateUpdateFailed)
this.$toast.error(this.$strings.ToastDateMustBeComplete)
return null
}
return this.updateDetails(updatedDetails)

View File

@ -964,6 +964,7 @@
"ToastCollectionRemoveSuccess": "Collection removed",
"ToastCollectionUpdateSuccess": "Collection updated",
"ToastCoverUpdateFailed": "Cover update failed",
"ToastDateMustBeComplete": "Date and time cannot be incomplete",
"ToastDeleteFileFailed": "Failed to delete file",
"ToastDeleteFileSuccess": "File deleted",
"ToastDeviceAddFailed": "Failed to add device",
@ -976,7 +977,6 @@
"ToastEpisodeDownloadQueueClearFailed": "Failed to clear queue",
"ToastEpisodeDownloadQueueClearSuccess": "Episode download queue cleared",
"ToastEpisodeUpdateSuccess": "{0} episodes updated",
"ToastEpisodePubDateUpdateFailed": "Publish date is required",
"ToastErrorCannotShare": "Cannot share natively on this device",
"ToastFailedToLoadData": "Failed to load data",
"ToastFailedToMatch": "Failed to match",