Fix translations and add separator in backup actions

This commit is contained in:
Girish Ramakrishnan
2025-09-17 13:53:13 +02:00
parent a9fe3e1b12
commit 6938b6e9ac
2 changed files with 11 additions and 5 deletions
+5 -5
View File
@@ -209,7 +209,7 @@
"editUserTooltip": "Edit User", "editUserTooltip": "Edit User",
"removeUserTooltip": "Remove User", "removeUserTooltip": "Remove User",
"transferOwnershipTooltip": "Transfer Ownership", "transferOwnershipTooltip": "Transfer Ownership",
"invitationTooltip": "Invite User", "invitationTooltip": "Invite",
"setGhostTooltip": "Impersonate", "setGhostTooltip": "Impersonate",
"mailmanagerTooltip": "This user can manage users and mailboxes" "mailmanagerTooltip": "This user can manage users and mailboxes"
}, },
@@ -1692,12 +1692,12 @@
"description": "Backups are complete snapshots of the app. You can use app backups to restore or clone this app.", "description": "Backups are complete snapshots of the app. You can use app backups to restore or clone this app.",
"packageVersion": "Package Version", "packageVersion": "Package Version",
"time": "Created At", "time": "Created At",
"downloadConfigTooltip": "Download Backup Configuration", "downloadConfigTooltip": "Download Config",
"cloneTooltip": "Clone from this Backup", "cloneTooltip": "Clone",
"restoreTooltip": "Restore to this Backup", "restoreTooltip": "Restore",
"createBackupAction": "Create Backup", "createBackupAction": "Create Backup",
"importAction": "Import Backup", "importAction": "Import Backup",
"downloadBackupTooltip": "Download Backup", "downloadBackupTooltip": "Download",
"checkIntegrity": "Check Integrity" "checkIntegrity": "Check Integrity"
}, },
"import": { "import": {
+6
View File
@@ -56,6 +56,8 @@ function onActionMenu(backup, event) {
label: t('main.action.edit'), label: t('main.action.edit'),
visible: props.app.accessLevel === 'admin', visible: props.app.accessLevel === 'admin',
action: onEdit.bind(null, backup), action: onEdit.bind(null, backup),
}, {
separator: true,
}, { }, {
icon: 'fa-solid fa-download', icon: 'fa-solid fa-download',
label: t('app.backups.backups.downloadBackupTooltip'), label: t('app.backups.backups.downloadBackupTooltip'),
@@ -66,6 +68,8 @@ function onActionMenu(backup, event) {
label: t('app.backups.backups.downloadConfigTooltip'), label: t('app.backups.backups.downloadConfigTooltip'),
visible: props.app.accessLevel === 'admin', visible: props.app.accessLevel === 'admin',
action: onDownloadConfig.bind(null, backup), action: onDownloadConfig.bind(null, backup),
}, {
separator: true,
}, { }, {
icon: 'fa-solid fa-clone', icon: 'fa-solid fa-clone',
label: t('app.backups.backups.cloneTooltip'), label: t('app.backups.backups.cloneTooltip'),
@@ -76,6 +80,8 @@ function onActionMenu(backup, event) {
label: t('app.backups.backups.restoreTooltip'), label: t('app.backups.backups.restoreTooltip'),
disabled: !!props.app.taskId || props.app.runState === 'stopped', disabled: !!props.app.taskId || props.app.runState === 'stopped',
action: onRestore.bind(null, backup), action: onRestore.bind(null, backup),
}, {
separator: true,
}, { }, {
icon: 'fa-solid fa-key', icon: 'fa-solid fa-key',
label: t('app.backups.backups.checkIntegrity'), label: t('app.backups.backups.checkIntegrity'),