mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-04-20 01:17:45 +02:00
Change: toast date error to be generic
This commit is contained in:
parent
2ec84edb5e
commit
db17a5c88b
@ -153,7 +153,7 @@ export default {
|
|||||||
|
|
||||||
// Check pubdate is valid if it is being updated. Cannot be set to null in the web client
|
// Check pubdate is valid if it is being updated. Cannot be set to null in the web client
|
||||||
if (updatedDetails.pubDate === null) {
|
if (updatedDetails.pubDate === null) {
|
||||||
this.$toast.error(this.$strings.ToastEpisodePubDateUpdateFailed)
|
this.$toast.error(this.$strings.ToastDateMustBeComplete)
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
return this.updateDetails(updatedDetails)
|
return this.updateDetails(updatedDetails)
|
||||||
|
@ -964,6 +964,7 @@
|
|||||||
"ToastCollectionRemoveSuccess": "Collection removed",
|
"ToastCollectionRemoveSuccess": "Collection removed",
|
||||||
"ToastCollectionUpdateSuccess": "Collection updated",
|
"ToastCollectionUpdateSuccess": "Collection updated",
|
||||||
"ToastCoverUpdateFailed": "Cover update failed",
|
"ToastCoverUpdateFailed": "Cover update failed",
|
||||||
|
"ToastDateMustBeComplete": "Date and time cannot be incomplete",
|
||||||
"ToastDeleteFileFailed": "Failed to delete file",
|
"ToastDeleteFileFailed": "Failed to delete file",
|
||||||
"ToastDeleteFileSuccess": "File deleted",
|
"ToastDeleteFileSuccess": "File deleted",
|
||||||
"ToastDeviceAddFailed": "Failed to add device",
|
"ToastDeviceAddFailed": "Failed to add device",
|
||||||
@ -976,7 +977,6 @@
|
|||||||
"ToastEpisodeDownloadQueueClearFailed": "Failed to clear queue",
|
"ToastEpisodeDownloadQueueClearFailed": "Failed to clear queue",
|
||||||
"ToastEpisodeDownloadQueueClearSuccess": "Episode download queue cleared",
|
"ToastEpisodeDownloadQueueClearSuccess": "Episode download queue cleared",
|
||||||
"ToastEpisodeUpdateSuccess": "{0} episodes updated",
|
"ToastEpisodeUpdateSuccess": "{0} episodes updated",
|
||||||
"ToastEpisodePubDateUpdateFailed": "Publish date is required",
|
|
||||||
"ToastErrorCannotShare": "Cannot share natively on this device",
|
"ToastErrorCannotShare": "Cannot share natively on this device",
|
||||||
"ToastFailedToLoadData": "Failed to load data",
|
"ToastFailedToLoadData": "Failed to load data",
|
||||||
"ToastFailedToMatch": "Failed to match",
|
"ToastFailedToMatch": "Failed to match",
|
||||||
|
Loading…
Reference in New Issue
Block a user