feat(i18n): add missing localizations

This commit is contained in:
Hunyady Mihály 2024-02-22 08:02:34 +01:00
parent a4dcb4f92e
commit ec29c9a3b0
26 changed files with 253 additions and 25 deletions

View file

@ -89,11 +89,11 @@ export default {
this.$axios
.$delete(`/api/items/${this.libraryItemId}/file/${this.file.ino}`)
.then(() => {
this.$toast.success('File deleted')
this.$toast.success(this.$strings.ToastDeleteFileSuccess)
})
.catch((error) => {
console.error('Failed to delete file', error)
this.$toast.error('Failed to delete file')
this.$toast.error(this.$strings.ToastDeleteFileFailed)
})
}
},