diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index d69a91de2..c62d28c8e 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -918,6 +918,8 @@ const message = { }, device: { dnsHelper: 'Server Address Domain Resolution', + dnsAlert: + 'Attention! Modifying the configuration of /etc/resolv.conf file will restore the file to its default values after system restart.', dnsHelper1: 'When there are multiple DNS entries, they should be displayed on new lines. e.g.\n114.114.114.114\n8.8.8.8', hostsHelper: 'Hostname Resolution', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index 7e1ab4a5e..cc60422a1 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -874,6 +874,7 @@ const message = { }, device: { dnsHelper: '伺服器地址域名解析', + dnsAlert: '請注意!修改 /etc/resolv.conf 文件的配置時,重啟系統後會將文件恢復為預設值', dnsHelper1: '當存在多個DNS時,需換行顯示,例:\n114.114.114.114\n8.8.8.8', hostsHelper: '主機名解析', hosts: '域名', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 143906d5b..557694a7b 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -875,7 +875,8 @@ const message = { }, device: { dnsHelper: '服务器地址域名解析', - dnsHelper1: '当存在多个DNS时,需换行显示,例:\n114.114.114.114\n8.8.8.8', + dnsAlert: '请注意!修改 /etc/resolv.conf 文件的配置时,重启系统后会将文件恢复为默认值', + dnsHelper1: '当存在多个 DNS 时,需换行显示,例:\n114.114.114.114\n8.8.8.8', hostsHelper: '主机名解析', hosts: '域名', toolbox: '工具箱', diff --git a/frontend/src/views/database/mysql/remote/operate/index.vue b/frontend/src/views/database/mysql/remote/operate/index.vue index 55234791d..40ffff8b9 100644 --- a/frontend/src/views/database/mysql/remote/operate/index.vue +++ b/frontend/src/views/database/mysql/remote/operate/index.vue @@ -158,7 +158,7 @@ const acceptParams = (params: DialogProps): void => { if (dialogData.value.rowData.version.startsWith('10.')) { dialogData.value.rowData.version = '10.x'; } - dialogData.value.rowData.hasCA = dialogData.value.rowData.rootCert?.length === 0; + dialogData.value.rowData.hasCA = dialogData.value.rowData.rootCert?.length !== 0; title.value = i18n.global.t('database.' + dialogData.value.title + 'RemoteDB'); drawerVisible.value = true; }; diff --git a/frontend/src/views/toolbox/device/dns/index.vue b/frontend/src/views/toolbox/device/dns/index.vue index 3c53096c3..0af8f5e8f 100644 --- a/frontend/src/views/toolbox/device/dns/index.vue +++ b/frontend/src/views/toolbox/device/dns/index.vue @@ -7,6 +7,12 @@ + {{ $t('database.baseConf') }} {{ $t('database.allConf') }}