mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 03:41:42 +00:00
Change: failed to share toasts
This commit is contained in:
parent
da1b60a1c6
commit
71c0b2bca3
4 changed files with 6 additions and 5 deletions
|
|
@ -261,7 +261,7 @@ export default {
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error('Failed to share', error)
|
console.error('Failed to share', error)
|
||||||
if (error.name !== 'AbortError') {
|
if (error.name !== 'AbortError') {
|
||||||
this.$toast.error('Failed to share: ' + error.message)
|
this.$toast.error(this.$strings.ToastFailedToShare + ': ' + error.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,7 @@ export default {
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error('Failed to share', error)
|
console.error('Failed to share', error)
|
||||||
if (error.name !== 'AbortError') {
|
if (error.name !== 'AbortError') {
|
||||||
this.$toast.error('Failed to share: ' + error.message)
|
this.$toast.error(this.$strings.ToastFailedToShare + ': ' + error.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,7 @@ export default {
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error('Failed to share', error)
|
console.error('Failed to share', error)
|
||||||
if (error.name !== 'AbortError') {
|
if (error.name !== 'AbortError') {
|
||||||
this.$toast.error('Failed to share: ' + error.message)
|
this.$toast.error(this.$strings.ToastFailedToShare + ': ' + error.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -91,8 +91,6 @@
|
||||||
"ButtonShiftTimes": "Shift Times",
|
"ButtonShiftTimes": "Shift Times",
|
||||||
"ButtonShow": "Show",
|
"ButtonShow": "Show",
|
||||||
"ButtonStartM4BEncode": "Start M4B Encode",
|
"ButtonStartM4BEncode": "Start M4B Encode",
|
||||||
"ToastEncodeCancelSucces": "Encode canceled",
|
|
||||||
"ToastEncodeCancelFailed": "Failed to cancel encode",
|
|
||||||
"ButtonStartMetadataEmbed": "Start Metadata Embed",
|
"ButtonStartMetadataEmbed": "Start Metadata Embed",
|
||||||
"ButtonStats": "Stats",
|
"ButtonStats": "Stats",
|
||||||
"ButtonSubmit": "Submit",
|
"ButtonSubmit": "Submit",
|
||||||
|
|
@ -857,10 +855,13 @@
|
||||||
"ToastDeviceNameAlreadyExists": "Ereader device with that name already exists",
|
"ToastDeviceNameAlreadyExists": "Ereader device with that name already exists",
|
||||||
"ToastDeviceUpdateFailed": "Failed to update device",
|
"ToastDeviceUpdateFailed": "Failed to update device",
|
||||||
"ToastDeviceUpdateSuccess": "Device updated",
|
"ToastDeviceUpdateSuccess": "Device updated",
|
||||||
|
"ToastEncodeCancelFailed": "Failed to cancel encode",
|
||||||
|
"ToastEncodeCancelSucces": "Encode canceled",
|
||||||
"ToastEpisodeDownloadQueueClearFailed": "Failed to clear queue",
|
"ToastEpisodeDownloadQueueClearFailed": "Failed to clear queue",
|
||||||
"ToastEpisodeDownloadQueueClearSuccess": "Episode download queue cleared",
|
"ToastEpisodeDownloadQueueClearSuccess": "Episode download queue cleared",
|
||||||
"ToastErrorCannotShare": "Cannot share natively on this device",
|
"ToastErrorCannotShare": "Cannot share natively on this device",
|
||||||
"ToastFailedToLoadData": "Failed to load data",
|
"ToastFailedToLoadData": "Failed to load data",
|
||||||
|
"ToastFailedToShare": "Failed to share",
|
||||||
"ToastFailedToUpdateAccount": "Failed to update account",
|
"ToastFailedToUpdateAccount": "Failed to update account",
|
||||||
"ToastFailedToUpdateUser": "Failed to update user",
|
"ToastFailedToUpdateUser": "Failed to update user",
|
||||||
"ToastFfprobeFailed": "FFprobe failed",
|
"ToastFfprobeFailed": "FFprobe failed",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue