Add some missing translations

This commit is contained in:
Johannes Zellner
2025-08-06 20:39:10 +02:00
parent 77436877ef
commit 8b30762f03
4 changed files with 11 additions and 5 deletions
@@ -104,7 +104,7 @@ onMounted(async () => {
<p v-html="$t('backups.archive.description')"></p>
<TableView :columns="columns" :model="archives" :busy="busy">
<TableView :columns="columns" :model="archives" :busy="busy" :placeholder="$t('archives.listing.placeholder')">
<template #icon="archive">
<img :src="archive.iconUrl || 'img/appicon_fallback.png'" v-fallback-image="API_ORIGIN + '/img/appicon_fallback.png'" height="24" width="24"/>
</template>
+1 -1
View File
@@ -418,7 +418,7 @@ onMounted(async () => {
</div>
</SettingsItem>
<TableView :columns="columns" :model="backups" :busy="busy" style="margin-top: 30px;">
<TableView :columns="columns" :model="backups" :busy="busy" style="margin-top: 30px;" :placeholder="$t('backups.listing.noBackups')">
<template #preserveSecs="backup">
<i class="fas fa-archive" v-show="backup.preserveSecs === -1" v-tooltip="$t('backups.listing.tooltipPreservedBackup')"></i>
</template>
+4 -3
View File
@@ -131,17 +131,17 @@ function onActionMenu(target, event) {
visible: target.provider === 'sshfs' || target.provider === 'cifs' || target.provider === 'nfs' || target.provider === 'ext4' || target.provider === 'xfs',
}, {
icon: 'fa-solid fa-clock',
label: 'Schedule and Retention',
label: t('backups.schedule.title'),
action: onEditSchedule.bind(null, target),
}, {
icon: 'fa-solid fa-pencil-alt',
label: 'Edit',
label: t('main.dialog.edit'),
action: onEdit.bind(null, target),
}, {
separator: true
}, {
icon: 'fa-solid fa-trash',
label: 'Remove',
label: t('volumes.removeVolumeDialog.removeAction'),
disabled: target.primary,
action: onRemoveTarget.bind(null, target),
}];
@@ -182,6 +182,7 @@ onMounted(async () => {
</template>
<template #name="target">
<!-- TODO translate -->
{{ target.name }} <span v-if="target.primary" class="text-muted">- used for updates</span>
</template>