Merge pull request #1755 from sir-wilhelm/localize

Localized various strings.
This commit is contained in:
advplyr
2026-01-30 16:59:16 -06:00
committed by GitHub
14 changed files with 34 additions and 29 deletions
+1 -4
View File
@@ -3,10 +3,7 @@
<div class="absolute top-0 left-0 w-full h-full bg-black transition-opacity duration-200" :class="show ? 'bg-opacity-60 pointer-events-auto' : 'bg-opacity-0'" @click="clickBackground" />
<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,
<strong>{{ username }}</strong>
</p>
<p v-if="user" class="text-base" v-html="$getString('HeaderWelcome', [username])" />
</div>
<div class="w-full overflow-y-auto">
+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) {