diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 06306eb64..87431a26b 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -356,8 +356,8 @@ export default { mount: 'Mount', serverPath: 'Server path', containerDir: 'Container path', - modeRW: 'Read-Write', - modeR: 'Read-Only', + modeRW: 'RW', + modeR: 'R', mode: 'Mode', env: 'Environment', restartPolicy: 'Restart policy', @@ -652,6 +652,7 @@ export default { unSetting: 'Not set', noneSetting: 'Set the expiration time for the panel password. After the expiration, you need to reset the password', + expirationHelper: 'If the password expiration time is [0] days, the password expiration function is disabled', days: 'Expiration Days', expiredHelper: 'The current password has expired. Please change the password again.', timeoutHelper: diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index da3abb20a..065ac8f0e 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -666,6 +666,7 @@ export default { expirationTime: '密码过期时间', unSetting: '未设置', noneSetting: '为面板密码设置过期时间,过期后需要重新设置密码', + expirationHelper: '密码过期时间为 [0] 天时,则关闭密码过期功能', days: '过期天数', expiredHelper: '当前密码已过期,请重新修改密码:', timeoutHelper: '【 {0} 天后 】面板密码即将过期,过期后需要重新设置密码', diff --git a/frontend/src/views/setting/tabs/safe.vue b/frontend/src/views/setting/tabs/safe.vue index e65964752..db8d838ba 100644 --- a/frontend/src/views/setting/tabs/safe.vue +++ b/frontend/src/views/setting/tabs/safe.vue @@ -17,7 +17,7 @@ > @@ -102,10 +102,17 @@ - + + {{ $t('setting.expirationHelper') }}