diff --git a/public/locales/zh/translation.json b/public/locales/zh/translation.json index 057299a9..e48b2f46 100644 --- a/public/locales/zh/translation.json +++ b/public/locales/zh/translation.json @@ -1,5 +1,6 @@ { "credentials": { + "credentialsViewer": "凭证查看器", "credentialsManager": "凭据管理器", "manageYourSSHCredentials": "安全管理您的SSH凭据", "addCredential": "添加凭据", diff --git a/src/ui/Desktop/DesktopApp.tsx b/src/ui/Desktop/DesktopApp.tsx index 95316c1a..b0b84231 100644 --- a/src/ui/Desktop/DesktopApp.tsx +++ b/src/ui/Desktop/DesktopApp.tsx @@ -127,41 +127,41 @@ function AppContent() { isAdmin={isAdmin} username={username} > -
- -
+ {showTerminalView && ( +
+ +
+ )} -
- -
+ {showHome && ( +
+ +
+ )} -
- -
+ {showSshManager && ( +
+ +
+ )} -
- -
+ {showAdmin && ( +
+ +
+ )} -
- -
+ {showProfile && ( +
+ +
+ )}