mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 19:31:39 +00:00
Change: cancel encode toasts
This commit is contained in:
parent
74b0d145ac
commit
da1b60a1c6
2 changed files with 4 additions and 2 deletions
|
|
@ -331,11 +331,11 @@ export default {
|
|||
this.$axios
|
||||
.$delete(`/api/tools/item/${this.libraryItemId}/encode-m4b`)
|
||||
.then(() => {
|
||||
this.$toast.success('Encode canceled')
|
||||
this.$toast.success(this.$strings.ToastEncodeCancelSucces)
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('Failed to cancel encode', error)
|
||||
this.$toast.error('Failed to cancel encode')
|
||||
this.$toast.error(this.$strings.ToastEncodeCancelFailed)
|
||||
})
|
||||
.finally(() => {
|
||||
this.isCancelingEncode = false
|
||||
|
|
|
|||
|
|
@ -91,6 +91,8 @@
|
|||
"ButtonShiftTimes": "Shift Times",
|
||||
"ButtonShow": "Show",
|
||||
"ButtonStartM4BEncode": "Start M4B Encode",
|
||||
"ToastEncodeCancelSucces": "Encode canceled",
|
||||
"ToastEncodeCancelFailed": "Failed to cancel encode",
|
||||
"ButtonStartMetadataEmbed": "Start Metadata Embed",
|
||||
"ButtonStats": "Stats",
|
||||
"ButtonSubmit": "Submit",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue