Skip to content

Commit db17a5c

Browse files
committed
Change: toast date error to be generic
1 parent 2ec84ed commit db17a5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/components/modals/podcast/tabs/EpisodeDetails.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export default {
153153
154154
// Check pubdate is valid if it is being updated. Cannot be set to null in the web client
155155
if (updatedDetails.pubDate === null) {
156-
this.$toast.error(this.$strings.ToastEpisodePubDateUpdateFailed)
156+
this.$toast.error(this.$strings.ToastDateMustBeComplete)
157157
return null
158158
}
159159
return this.updateDetails(updatedDetails)

client/strings/en-us.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,7 @@
964964
"ToastCollectionRemoveSuccess": "Collection removed",
965965
"ToastCollectionUpdateSuccess": "Collection updated",
966966
"ToastCoverUpdateFailed": "Cover update failed",
967+
"ToastDateMustBeComplete": "Date and time cannot be incomplete",
967968
"ToastDeleteFileFailed": "Failed to delete file",
968969
"ToastDeleteFileSuccess": "File deleted",
969970
"ToastDeviceAddFailed": "Failed to add device",
@@ -976,7 +977,6 @@
976977
"ToastEpisodeDownloadQueueClearFailed": "Failed to clear queue",
977978
"ToastEpisodeDownloadQueueClearSuccess": "Episode download queue cleared",
978979
"ToastEpisodeUpdateSuccess": "{0} episodes updated",
979-
"ToastEpisodePubDateUpdateFailed": "Publish date is required",
980980
"ToastErrorCannotShare": "Cannot share natively on this device",
981981
"ToastFailedToLoadData": "Failed to load data",
982982
"ToastFailedToMatch": "Failed to match",

0 commit comments

Comments
 (0)