mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 17:24:57 +02:00
Add translations for bulk editor #4017
This commit is contained in:
parent
84f99370ee
commit
006af2d616
2 changed files with 6 additions and 5 deletions
|
@ -380,7 +380,7 @@ export default {
|
|||
const ref = this.getEditFormRef(li.id)
|
||||
ref.mapBatchDetails(batchMapPayload, this.mapDetailsType)
|
||||
})
|
||||
this.$toast.success('Details mapped')
|
||||
this.$toast.success(this.$strings.ToastBatchApplyDetailsToItemsSuccess)
|
||||
},
|
||||
newSeriesItem(item) {},
|
||||
removedSeriesItem(item) {},
|
||||
|
@ -452,7 +452,7 @@ export default {
|
|||
this.isProcessing = false
|
||||
if (data.updates) {
|
||||
this.itemsWithChanges = []
|
||||
this.$toast.success(`Successfully updated ${data.updates} items`)
|
||||
this.$toast.success(this.$getString('MessageItemsUpdated', [data.updates]))
|
||||
this.$router.replace(`/library/${this.currentLibraryId}/bookshelf`)
|
||||
} else {
|
||||
this.$toast.warning(this.$strings.MessageNoUpdatesWereNecessary)
|
||||
|
@ -460,7 +460,7 @@ export default {
|
|||
})
|
||||
.catch((error) => {
|
||||
console.error('failed to batch update', error)
|
||||
this.$toast.error('Failed to batch update')
|
||||
this.$toast.error(this.$strings.ToastFailedToUpdate)
|
||||
this.isProcessing = false
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue