Add all missing translations for now

This commit is contained in:
Johannes Zellner
2025-08-19 10:49:27 +02:00
parent 42945e1b42
commit 3068ed75ee
10 changed files with 58 additions and 36 deletions
+7 -11
View File
@@ -61,10 +61,9 @@ function onEditSchedule(target) {
}
async function onRemoveTarget(target) {
// TODO translate
const yes = await inputDialog.value.confirm({
title: 'Really remove this backup target?',
message: 'This will also remove any backups linked to this target',
title: t('backup.target.removeDialog.title'),
message: t('backup.target.removeDialog.description'),
confirmLabel: t('main.dialog.yes'),
confirmStyle: 'danger',
rejectLabel: t('main.dialog.cancel'),
@@ -96,7 +95,6 @@ const actionMenuModel = ref([]);
const actionMenuElement = useTemplateRef('actionMenuElement');
function onActionMenu(target, event) {
// TODO translate
actionMenuModel.value = [{
icon: 'fa-solid fa-sync-alt',
label: t('backups.location.remount'),
@@ -187,10 +185,9 @@ onMounted(async () => {
<BackupTargetEditDialog ref="backupTargetEditDialog" @success="refresh()"/>
<BackupScheduleDialog ref="backupScheduleDialog" @success="refresh()"/>
<!-- TODO translate -->
<Section title="Backup Storage">
<Section :title="$t('backup.target.title')">
<template #header-buttons>
<Button @click="onAdd()" icon="fa-solid fa-plus"> Add Storage</Button>
<Button @click="onAdd()" icon="fa-solid fa-plus"> {{ $t('main.action.add') }}</Button>
</template>
<TableView :columns="columns" :model="targets" :busy="busy">
@@ -201,7 +198,6 @@ onMounted(async () => {
</template>
<template #name="target">
<!-- TODO translate -->
{{ target.name }} <span v-if="target.primary" class="text-muted">- used for updates</span>
</template>
@@ -221,11 +217,11 @@ onMounted(async () => {
</TableView>
</Section>
<Section title="Backup Configuration for Updates">
<Section :title="$t('backup.updateTarget.title')">
<SettingsItem>
<div>
<label>Storage</label>
<div>For backups created during automatic or manual app and platform updates.</div>
<label>{{ $t('backup.target.label') }}</label>
<div>{{ $t('backup.updateTarget.description') }}</div>
</div>
<div style="display: flex; align-items: center">
<SingleSelect style="min-width: 160px" :disabled="primaryTargetChangeBusy" v-model="primaryTargetId" :searchThreshold="10" :options="targets" option-key="id" option-label="name" @select="onPrimaryTargetChanged" />