diff --git a/dashboard/public/translation/en.json b/dashboard/public/translation/en.json index d716749c7..fb0c3bfda 100644 --- a/dashboard/public/translation/en.json +++ b/dashboard/public/translation/en.json @@ -301,7 +301,7 @@ "name": "Name", "description": "Use these personal access tokens to authenticate with the Cloudron API.", "noTokensPlaceholder": "No API tokens", - "lastUsed": "Last Used", + "lastUsed": "Last used", "neverUsed": "never", "scope": "Scope", "readonly": "Readonly", @@ -376,11 +376,11 @@ }, "backupDetails": { "title": "Backup Details", - "id": "Id", - "date": "Date", - "version": "Version", + "id": "Backup ID", + "date": "Created", + "version": "Package version", "size": "Size", - "duration": "Duration" + "duration": "Backup duration" }, "configureBackupSchedule": { "title": "Configure Backup Schedule & Retention", @@ -1179,7 +1179,7 @@ }, "accessControl": { "userManagement": { - "description": "Configure who can log in and use the app.", + "description": "Configure who can log in and use the app", "descriptionSftp": "This setting also controls SFTP access.", "dashboardVisibility": "Dashboard visibility", "visibleForAllUsers": "Visible to all users on this Cloudron", @@ -1193,7 +1193,7 @@ }, "operators": { "title": "Operators", - "description": "Operators can configure and maintain this app." + "description": "Configure who can maintain the app" }, "dashboardVisibility": { "description": "Configure who can see this app on the dashboard." @@ -1272,14 +1272,14 @@ }, "security": { "csp": { - "description": "Override any CSP headers defined by the app.", + "description": "Override any CSP headers defined by the app", "title": "Content Security Policy", "saveAction": "Save" }, "robots": { "title": "Robots.txt", "disableIndexingAction": "Disable indexing", - "description": "By default, bots can index this app." + "description": "By default, bots can index this app" }, "hstsPreload": "Enable HSTS Preload (including subdomains)" }, @@ -1303,8 +1303,8 @@ "backups": { "backups": { "title": "Backups", - "description": "Create a complete snapshot of the app.", - "time": "Created at", + "description": "Create a complete snapshot of the app", + "time": "Created", "downloadConfigTooltip": "Download config", "cloneTooltip": "Clone", "restoreTooltip": "Restore", @@ -1315,7 +1315,7 @@ }, "import": { "title": "Import", - "description": "Import the app from an external backup." + "description": "Import app from an external backup" }, "auto": { "title": "Automatic backups", diff --git a/dashboard/src/components/ApiTokens.vue b/dashboard/src/components/ApiTokens.vue index a211ab738..0e8eb3ab8 100644 --- a/dashboard/src/components/ApiTokens.vue +++ b/dashboard/src/components/ApiTokens.vue @@ -28,14 +28,6 @@ const columns = { label: t('profile.apiTokens.name'), sort: true }, - lastUsedTime: { - label: t('profile.apiTokens.lastUsed'), - sort(a, b) { - if (!a) return 1; - if (!b) return -1; - return moment(a).isBefore(b) ? 1 : -1; - } - }, scope: { label: t('profile.apiTokens.scope'), hideMobile: true, @@ -45,6 +37,14 @@ const columns = { hideMobile: true, sort: true }, + lastUsedTime: { + label: t('profile.apiTokens.lastUsed'), + sort(a, b) { + if (!a) return 1; + if (!b) return -1; + return moment(a).isBefore(b) ? 1 : -1; + } + }, actions: {}, };