mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-05-09 01:16:46 +02:00
Add translations for bulk editor #4017
This commit is contained in:
parent
84f99370ee
commit
006af2d616
@ -380,7 +380,7 @@ export default {
|
|||||||
const ref = this.getEditFormRef(li.id)
|
const ref = this.getEditFormRef(li.id)
|
||||||
ref.mapBatchDetails(batchMapPayload, this.mapDetailsType)
|
ref.mapBatchDetails(batchMapPayload, this.mapDetailsType)
|
||||||
})
|
})
|
||||||
this.$toast.success('Details mapped')
|
this.$toast.success(this.$strings.ToastBatchApplyDetailsToItemsSuccess)
|
||||||
},
|
},
|
||||||
newSeriesItem(item) {},
|
newSeriesItem(item) {},
|
||||||
removedSeriesItem(item) {},
|
removedSeriesItem(item) {},
|
||||||
@ -452,7 +452,7 @@ export default {
|
|||||||
this.isProcessing = false
|
this.isProcessing = false
|
||||||
if (data.updates) {
|
if (data.updates) {
|
||||||
this.itemsWithChanges = []
|
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`)
|
this.$router.replace(`/library/${this.currentLibraryId}/bookshelf`)
|
||||||
} else {
|
} else {
|
||||||
this.$toast.warning(this.$strings.MessageNoUpdatesWereNecessary)
|
this.$toast.warning(this.$strings.MessageNoUpdatesWereNecessary)
|
||||||
@ -460,7 +460,7 @@ export default {
|
|||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error('failed to batch update', error)
|
console.error('failed to batch update', error)
|
||||||
this.$toast.error('Failed to batch update')
|
this.$toast.error(this.$strings.ToastFailedToUpdate)
|
||||||
this.isProcessing = false
|
this.isProcessing = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -777,8 +777,8 @@
|
|||||||
"MessageForceReScanDescription": "will scan all files again like a fresh scan. Audio file ID3 tags, OPF files, and text files will be scanned as new.",
|
"MessageForceReScanDescription": "will scan all files again like a fresh scan. Audio file ID3 tags, OPF files, and text files will be scanned as new.",
|
||||||
"MessageImportantNotice": "Important Notice!",
|
"MessageImportantNotice": "Important Notice!",
|
||||||
"MessageInsertChapterBelow": "Insert chapter below",
|
"MessageInsertChapterBelow": "Insert chapter below",
|
||||||
"MessageItemsSelected": "{0} Items Selected",
|
"MessageItemsSelected": "{0} items selected",
|
||||||
"MessageItemsUpdated": "{0} Items Updated",
|
"MessageItemsUpdated": "{0} items updated",
|
||||||
"MessageJoinUsOn": "Join us on",
|
"MessageJoinUsOn": "Join us on",
|
||||||
"MessageLoading": "Loading...",
|
"MessageLoading": "Loading...",
|
||||||
"MessageLoadingFolders": "Loading folders...",
|
"MessageLoadingFolders": "Loading folders...",
|
||||||
@ -953,6 +953,7 @@
|
|||||||
"ToastBackupRestoreFailed": "Failed to restore backup",
|
"ToastBackupRestoreFailed": "Failed to restore backup",
|
||||||
"ToastBackupUploadFailed": "Failed to upload backup",
|
"ToastBackupUploadFailed": "Failed to upload backup",
|
||||||
"ToastBackupUploadSuccess": "Backup uploaded",
|
"ToastBackupUploadSuccess": "Backup uploaded",
|
||||||
|
"ToastBatchApplyDetailsToItemsSuccess": "Details applied to items",
|
||||||
"ToastBatchDeleteFailed": "Batch delete failed",
|
"ToastBatchDeleteFailed": "Batch delete failed",
|
||||||
"ToastBatchDeleteSuccess": "Batch delete success",
|
"ToastBatchDeleteSuccess": "Batch delete success",
|
||||||
"ToastBatchQuickMatchFailed": "Batch Quick Match failed!",
|
"ToastBatchQuickMatchFailed": "Batch Quick Match failed!",
|
||||||
|
Loading…
Reference in New Issue
Block a user