Browse Source

fix: 国际化内容补全 (#1696)

pull/1705/head
ssongliu 1 year ago committed by GitHub
parent
commit
4c2302dc94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      frontend/src/lang/modules/tw.ts
  2. 2
      frontend/src/views/host/terminal/terminal/index.vue

6
frontend/src/lang/modules/tw.ts

@ -887,6 +887,12 @@ const message = {
belong: '歸屬地',
local: '內網',
remote: '外網',
config: '配置',
session: '會話',
loginTime: '登錄時間',
loginIP: '登錄IP',
disconnect: '斷開',
stopSSHWarn: '是否斷開此SSH連接',
},
setting: {
all: '全部',

2
frontend/src/views/host/terminal/terminal/index.vue

@ -332,9 +332,9 @@ const onConnTerminal = async (title: string, wsID: number, isLocal?: boolean) =>
for (const tab of terminalTabs.value) {
if (tab.title.indexOf('@127.0.0.1:') !== -1 || tab.title === i18n.global.t('terminal.localhost')) {
onReconnect(tab);
return;
}
}
return;
}
terminalTabs.value.push({
index: tabIndex,

Loading…
Cancel
Save