diff --git a/components/app/SideDrawer.vue b/components/app/SideDrawer.vue
index 2abdd67a..d84e2ee8 100644
--- a/components/app/SideDrawer.vue
+++ b/components/app/SideDrawer.vue
@@ -4,7 +4,7 @@
- Welcome,
+ {{ $strings.HeaderWelcome }}
{{ username }}
diff --git a/components/connection/ServerConnectForm.vue b/components/connection/ServerConnectForm.vue
index bf76e7c4..8ae9bf3a 100644
--- a/components/connection/ServerConnectForm.vue
+++ b/components/connection/ServerConnectForm.vue
@@ -483,8 +483,8 @@ export default {
await this.$hapticsImpact()
const { value } = await Dialog.confirm({
- title: 'Confirm',
- message: `Remove this server config?`
+ title: this.$strings.HeaderConfirm,
+ message: this.$strings.MessageConfirmDeleteServerConfig,
})
if (value) {
this.processing = true
diff --git a/components/modals/ItemMoreMenuModal.vue b/components/modals/ItemMoreMenuModal.vue
index fc72c073..ab1a468e 100644
--- a/components/modals/ItemMoreMenuModal.vue
+++ b/components/modals/ItemMoreMenuModal.vue
@@ -303,7 +303,7 @@ export default {
// Show confirm if item has progress since it will reset
if (this.userItemProgress && this.userItemProgress.progress > 0 && !this.userIsFinished) {
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: this.$strings.MessageConfirmMarkAsFinished
})
if (!value) return
@@ -369,7 +369,7 @@ export default {
await this.$hapticsImpact()
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: this.$strings.MessageConfirmDiscardProgress
})
if (value) {
@@ -407,7 +407,7 @@ export default {
}
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: this.$getString('MessageConfirmDeleteLocalEpisode', [localFile.basePath])
})
if (value) {
@@ -432,7 +432,7 @@ export default {
await this.$hapticsImpact()
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: this.$strings.MessageConfirmDeleteLocalFiles
})
if (value) {
diff --git a/components/modals/SleepTimerModal.vue b/components/modals/SleepTimerModal.vue
index 9e74b11c..a648f2c1 100644
--- a/components/modals/SleepTimerModal.vue
+++ b/components/modals/SleepTimerModal.vue
@@ -108,7 +108,7 @@ export default {
async cancelSleepTimer() {
if (this.isAuto) {
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: this.$strings.MessageConfirmDisableAutoTimer
})
if (!value) return
diff --git a/components/tables/podcast/EpisodesTable.vue b/components/tables/podcast/EpisodesTable.vue
index d2b29646..dad3e06c 100644
--- a/components/tables/podcast/EpisodesTable.vue
+++ b/components/tables/podcast/EpisodesTable.vue
@@ -228,8 +228,8 @@ export default {
methods: {
async clearDownloadQueue() {
const { value } = await Dialog.confirm({
- title: 'Confirm',
- message: `Are you sure you want to clear episode download queue?`
+ title: this.$strings.HeaderConfirm,
+ message: this.$strings.MessageConfirmDeleteEpisodeDownloadQueue
})
if (value) {
diff --git a/mixins/cellularPermissionHelpers.js b/mixins/cellularPermissionHelpers.js
index 83016474..f49dcadd 100644
--- a/mixins/cellularPermissionHelpers.js
+++ b/mixins/cellularPermissionHelpers.js
@@ -33,7 +33,7 @@ export default {
this.$strings.MessageConfirmStreamingUsingCellular
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message
})
return value
diff --git a/pages/bookshelf/series/_id.vue b/pages/bookshelf/series/_id.vue
index 3943b885..43f3507d 100644
--- a/pages/bookshelf/series/_id.vue
+++ b/pages/bookshelf/series/_id.vue
@@ -148,7 +148,7 @@ export default {
// Show confirmation dialog and start downloading if user chooses so
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: startDownloadMessage
})
if (value) {
diff --git a/pages/item/_id/_episode/index.vue b/pages/item/_id/_episode/index.vue
index e560e45f..c9aa5e86 100644
--- a/pages/item/_id/_episode/index.vue
+++ b/pages/item/_id/_episode/index.vue
@@ -346,7 +346,7 @@ export default {
}
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: this.$getString('MessageConfirmDeleteLocalEpisode', [localFile.basePath])
})
if (value) {
@@ -514,7 +514,7 @@ export default {
await this.$hapticsImpact()
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: this.$strings.MessageConfirmDiscardProgress
})
if (value) {
@@ -575,8 +575,8 @@ export default {
await this.$hapticsImpact()
const { value } = await Dialog.confirm({
- title: 'Confirm',
- message: `Are you sure you want to delete episode "${this.title}" from the server?\nWarning: This will delete the audio file.`
+ title: this.$strings.HeaderConfirm,
+ message: $this.$getString('MessageConfirmDeleteServerEpisode', [this.title])
})
if (value) {
diff --git a/pages/item/_id/index.vue b/pages/item/_id/index.vue
index 73f87771..b8011a1e 100644
--- a/pages/item/_id/index.vue
+++ b/pages/item/_id/index.vue
@@ -584,8 +584,8 @@ export default {
// If start time and is not already streaming then ask for confirmation
if (startTime !== null && startTime !== undefined && !this.$store.getters['getIsMediaStreaming'](libraryItemId, null)) {
const { value } = await Dialog.confirm({
- title: 'Confirm',
- message: `Start playback for "${this.title}" at ${this.$secondsToTimestamp(startTime)}?`
+ title: this.$strings.HeaderConfirm,
+ message: this.$getString('MessageConfirmPlaybackTime', [this.title, this.$secondsToTimestamp(startTime)])
})
if (!value) return
}
@@ -673,7 +673,7 @@ export default {
}
}
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: startDownloadMessage
})
if (value) {
diff --git a/pages/localMedia/folders/_id.vue b/pages/localMedia/folders/_id.vue
index 9fb189dd..b51304f4 100644
--- a/pages/localMedia/folders/_id.vue
+++ b/pages/localMedia/folders/_id.vue
@@ -100,7 +100,7 @@ export default {
deleteMessage = `Are you sure you want to remove this folder and ${this.localLibraryItems.length} items? (does not delete anything in your file system)`
}
const { value } = await Dialog.confirm({
- title: 'Confirm',
+ title: this.$strings.HeaderConfirm,
message: deleteMessage
})
if (value) {
diff --git a/pages/localMedia/folders/index.vue b/pages/localMedia/folders/index.vue
index 301c84c3..afdc040f 100644
--- a/pages/localMedia/folders/index.vue
+++ b/pages/localMedia/folders/index.vue
@@ -22,7 +22,7 @@