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
@@ -4,7 +4,7 @@
<div class="absolute top-0 right-0 w-64 h-full bg-bg transform transition-transform py-6 pointer-events-auto" :class="show ? '' : 'translate-x-64'" @click.stop>
<div class="px-6 mb-4">
<p v-if="user" class="text-base">
Welcome,
{{ $strings.HeaderWelcome }}
<strong>{{ username }}</strong>
</p>
</div>
+2 -2
View File
@@ -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
+4 -4
View File
@@ -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) {
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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) {