diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts
index 0e643ed1c..a8832bc72 100644
--- a/frontend/src/lang/modules/en.ts
+++ b/frontend/src/lang/modules/en.ts
@@ -1000,9 +1000,10 @@ const message = {
allowIPsHelper:
'After setting the authorized IP address, only the IP address in the setting can access the 1Panel service',
allowIPsWarnning:
- '设After setting the authorized IP address, only the IP address in the setting can access the 1Panel service. Do you want to continue?',
+ 'After setting the authorized IP address, only the IP address in the setting can access the 1Panel service. Do you want to continue?',
allowIPsHelper1: 'If the authorized IP address is empty, the authorized IP address is canceled',
- allowIPEgs: 'e.g. 172.16.10.111',
+ allowIPEgs:
+ 'If multiple ip authorizations exist, newlines need to be displayed. For example, \n172.16.10.111 \n172.16.10.111',
mfa: 'MFA',
mfaAlert:
'MFA password is generated based on the current time. Please ensure that the server time is synchronized.',
diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts
index 19c02c899..6034637a8 100644
--- a/frontend/src/lang/modules/zh.ts
+++ b/frontend/src/lang/modules/zh.ts
@@ -1016,7 +1016,7 @@ const message = {
allowIPsHelper: '设置授权 IP 后,仅有设置中的 IP 可以访问 1Panel 服务',
allowIPsWarnning: '设置授权 IP 后,仅有设置中的 IP 可以访问 1Panel 服务,是否继续?',
allowIPsHelper1: '授权 IP 为空时,则取消授权 IP',
- allowIPEgs: '例:172.16.10.111',
+ allowIPEgs: '当存在多个授权 IP 时,需要换行显示,例: \n172.16.10.111 \n172.16.10.111',
mfa: '两步验证',
mfaAlert: '两步验证密码是基于当前时间生成,请确保服务器时间已同步',
mfaHelper: '开启后会验证手机应用验证码',
diff --git a/frontend/src/views/host/ssh/log/log.vue b/frontend/src/views/host/ssh/log/log.vue
index 797d41be7..9cc6e881c 100644
--- a/frontend/src/views/host/ssh/log/log.vue
+++ b/frontend/src/views/host/ssh/log/log.vue
@@ -10,12 +10,12 @@
-
+
{{ $t('commons.status.success') }}: {{ successfulCount }}
-
-
+
+
{{ $t('commons.status.failed') }}: {{ faliedCount }}
-
+
diff --git a/frontend/src/views/setting/panel/ntp/index.vue b/frontend/src/views/setting/panel/ntp/index.vue
index e1a1099c4..2ce4ca183 100644
--- a/frontend/src/views/setting/panel/ntp/index.vue
+++ b/frontend/src/views/setting/panel/ntp/index.vue
@@ -7,7 +7,7 @@
-
+
{{ $t('website.default') }}
diff --git a/frontend/src/views/setting/safe/allowips/index.vue b/frontend/src/views/setting/safe/allowips/index.vue
index 596978487..1f52e66c7 100644
--- a/frontend/src/views/setting/safe/allowips/index.vue
+++ b/frontend/src/views/setting/safe/allowips/index.vue
@@ -14,6 +14,7 @@
:autosize="{ minRows: 8, maxRows: 10 }"
v-model="allowIPs"
/>
+ {{ $t('setting.allowIPsHelper1') }}
@@ -57,7 +58,7 @@ const onSavePort = async () => {
let ips = allowIPs.value.split('\n');
for (const ip of ips) {
if (ip) {
- if (checkIp(ip)) {
+ if (checkIp(ip) || ip === '0.0.0.0') {
MsgError(i18n.global.t('firewall.addressFormatError'));
return false;
}