Localized various strings.

Confirm title, corresponding messages, welcome, and media type dropdown.
This commit is contained in:
sir-wilhelm
2025-12-28 10:36:17 -06:00
parent b2c2b625e3
commit 462021225f
14 changed files with 34 additions and 26 deletions
+1 -1
View File
@@ -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) {
+4 -4
View File
@@ -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) {
+3 -3
View File
@@ -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) {
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -22,7 +22,7 @@
</div>
<div v-if="!isAndroid10OrBelow || overrideFolderRestriction" class="flex border-t border-fg/10 my-4 py-4">
<div class="flex-grow pr-1">
<ui-dropdown v-model="newFolderMediaType" placeholder="Select media type" :items="mediaTypeItems" />
<ui-dropdown v-model="newFolderMediaType" :placeholder="$strings.LabelSelectMediaType" :items="mediaTypeItems" />
</div>
<ui-btn small class="w-28" color="success" @click="selectFolder">{{ $strings.ButtonNewFolder }}</ui-btn>
</div>
+3 -3
View File
@@ -369,7 +369,7 @@ export default {
confirmMessage += ' The file on the server will be unaffected.'
}
const { value } = await Dialog.confirm({
title: 'Confirm',
title: this.$strings.HeaderConfirm,
message: confirmMessage
})
if (value) {
@@ -395,7 +395,7 @@ export default {
confirmMessage += ' The file on the server will be unaffected.'
}
const { value } = await Dialog.confirm({
title: 'Confirm',
title: this.$strings.HeaderConfirm,
message: confirmMessage
})
if (value) {
@@ -412,7 +412,7 @@ export default {
confirmMessage += ' The files on the server and your progress will be unaffected.'
}
const { value } = await Dialog.confirm({
title: 'Confirm',
title: this.$strings.HeaderConfirm,
message: confirmMessage
})
if (value) {