diff --git a/client/components/modals/collections/AddCreateModal.vue b/client/components/modals/collections/AddCreateModal.vue
index 47e7f45e9..29c21624b 100644
--- a/client/components/modals/collections/AddCreateModal.vue
+++ b/client/components/modals/collections/AddCreateModal.vue
@@ -122,7 +122,7 @@ export default {
})
.catch((error) => {
console.error('Failed to get collections', error)
- this.$toast.error('Failed to load collections')
+ this.$toast.error(this.$strings.ToastFailedToLoadData)
})
.finally(() => {
this.processing = false
diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue
index c566f6008..ed4db87af 100644
--- a/client/components/modals/item/tabs/Match.vue
+++ b/client/components/modals/item/tabs/Match.vue
@@ -42,13 +42,13 @@
-
New
+
{{ $strings.LabelNew }}
-
Current
+
{{ $strings.LabelCurrent }}
@@ -180,14 +180,14 @@
-
{{ $strings.LabelCurrently }} {{ mediaMetadata.explicit ? 'Explicit (checked)' : 'Not Explicit (unchecked)' }}
+
{{ $strings.LabelCurrently }} {{ mediaMetadata.explicit ? $strings.LabelExplicitChecked : $strings.LabelExplicitUnchecked }}
-
{{ $strings.LabelCurrently }} {{ mediaMetadata.abridged ? 'Abridged (checked)' : 'Unabridged (unchecked)' }}
+
{{ $strings.LabelCurrently }} {{ mediaMetadata.abridged ? $strings.LabelAbridgedChecked : $strings.LabelAbridgedUnchecked }}
diff --git a/client/components/modals/playlists/AddCreateModal.vue b/client/components/modals/playlists/AddCreateModal.vue
index 9bfb65431..6d8114fb3 100644
--- a/client/components/modals/playlists/AddCreateModal.vue
+++ b/client/components/modals/playlists/AddCreateModal.vue
@@ -115,7 +115,7 @@ export default {
})
.catch((error) => {
console.error('Failed to get playlists', error)
- this.$toast.error('Failed to load user playlists')
+ this.$toast.error(this.$strings.ToastFailedToLoadData)
})
.finally(() => {
this.processing = false
diff --git a/client/components/stats/YearInReview.vue b/client/components/stats/YearInReview.vue
index a6bed203a..c847877e6 100644
--- a/client/components/stats/YearInReview.vue
+++ b/client/components/stats/YearInReview.vue
@@ -271,7 +271,7 @@ export default {
this.$emit('update:processing', true)
this.yearStats = await this.$axios.$get(`/api/me/stats/year/${this.year}`).catch((err) => {
console.error('Failed to load stats for year', err)
- this.$toast.error('Failed to load year stats')
+ this.$toast.error(this.$strings.ToastFailedToLoadData)
return null
})
await this.initCanvas()
@@ -282,4 +282,4 @@ export default {
this.init()
}
}
-
\ No newline at end of file
+
diff --git a/client/components/stats/YearInReviewServer.vue b/client/components/stats/YearInReviewServer.vue
index e6c10fa2a..7f3a4f559 100644
--- a/client/components/stats/YearInReviewServer.vue
+++ b/client/components/stats/YearInReviewServer.vue
@@ -250,7 +250,7 @@ export default {
this.$emit('update:processing', true)
this.yearStats = await this.$axios.$get(`/api/stats/year/${this.year}`).catch((err) => {
console.error('Failed to load stats for year', err)
- this.$toast.error('Failed to load year stats')
+ this.$toast.error(this.$strings.ToastFailedToLoadData)
return null
})
await this.initCanvas()
@@ -261,4 +261,4 @@ export default {
this.init()
}
}
-
\ No newline at end of file
+
diff --git a/client/components/stats/YearInReviewShort.vue b/client/components/stats/YearInReviewShort.vue
index 18b120874..1f41f0e74 100644
--- a/client/components/stats/YearInReviewShort.vue
+++ b/client/components/stats/YearInReviewShort.vue
@@ -180,7 +180,7 @@ export default {
this.$emit('update:processing', true)
this.yearStats = await this.$axios.$get(`/api/me/stats/year/${this.year}`).catch((err) => {
console.error('Failed to load stats for year', err)
- this.$toast.error('Failed to load year stats')
+ this.$toast.error(this.$strings.ToastFailedToLoadData)
return null
})
await this.initCanvas()
@@ -191,4 +191,4 @@ export default {
this.init()
}
}
-
\ No newline at end of file
+
diff --git a/client/components/tables/AudioTracksTableRow.vue b/client/components/tables/AudioTracksTableRow.vue
index cd3d26b93..6fa1d3298 100644
--- a/client/components/tables/AudioTracksTableRow.vue
+++ b/client/components/tables/AudioTracksTableRow.vue
@@ -94,11 +94,11 @@ export default {
this.$axios
.$delete(`/api/items/${this.libraryItemId}/file/${this.track.audioFile.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)
})
}
},
@@ -112,4 +112,4 @@ export default {
},
mounted() {}
}
-
\ No newline at end of file
+
diff --git a/client/components/tables/BackupsTable.vue b/client/components/tables/BackupsTable.vue
index bd3d074ae..380394bd9 100644
--- a/client/components/tables/BackupsTable.vue
+++ b/client/components/tables/BackupsTable.vue
@@ -176,7 +176,7 @@ export default {
})
.catch((error) => {
console.error('Failed to load backups', error)
- this.$toast.error('Failed to load backups')
+ this.$toast.error(this.$strings.ToastFailedToLoadData)
})
.finally(() => {
this.processing = false
diff --git a/client/components/tables/EbookFilesTableRow.vue b/client/components/tables/EbookFilesTableRow.vue
index 6362d5ab9..d1ccedf2b 100644
--- a/client/components/tables/EbookFilesTableRow.vue
+++ b/client/components/tables/EbookFilesTableRow.vue
@@ -115,11 +115,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)
})
.finally(() => {
this.processing = false
@@ -136,4 +136,4 @@ export default {
},
mounted() {}
}
-
\ No newline at end of file
+
diff --git a/client/components/tables/LibraryFilesTableRow.vue b/client/components/tables/LibraryFilesTableRow.vue
index 4378abd5a..5bc42925b 100644
--- a/client/components/tables/LibraryFilesTableRow.vue
+++ b/client/components/tables/LibraryFilesTableRow.vue
@@ -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)
})
}
},
@@ -107,4 +107,4 @@ export default {
},
mounted() {}
}
-
\ No newline at end of file
+
diff --git a/client/components/tables/podcast/DownloadQueueTable.vue b/client/components/tables/podcast/DownloadQueueTable.vue
index 04e631e2f..d4d1e7104 100644
--- a/client/components/tables/podcast/DownloadQueueTable.vue
+++ b/client/components/tables/podcast/DownloadQueueTable.vue
@@ -20,7 +20,7 @@
{{ downloadQueued.podcastTitle }}
-
+
|
diff --git a/client/components/widgets/ExplicitIndicator.vue b/client/components/widgets/ExplicitIndicator.vue
index 6a03d9250..601b9be46 100644
--- a/client/components/widgets/ExplicitIndicator.vue
+++ b/client/components/widgets/ExplicitIndicator.vue
@@ -1,5 +1,5 @@
-
+
|