Add all missing translations for now
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user