From 880f39ddf099f0c8976fa5dca011577a5e2bdceb Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 10 Aug 2022 13:48:25 +0800 Subject: [PATCH] * Fix bug #25319. --- module/admin/lang/de.php | 5 +++-- module/admin/lang/en.php | 5 +++-- module/admin/lang/fr.php | 5 +++-- module/admin/lang/zh-cn.php | 5 +++-- module/admin/view/safe.html.php | 2 +- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/module/admin/lang/de.php b/module/admin/lang/de.php index 08d2525203..f3647127a2 100644 --- a/module/admin/lang/de.php +++ b/module/admin/lang/de.php @@ -87,5 +87,6 @@ $lang->admin->safe->loginCaptchaList[0] = 'Nein'; $lang->admin->safe->resetPWDList[1] = 'ON'; $lang->admin->safe->resetPWDList[0] = 'Off'; -$lang->admin->safe->noticeMode = 'The password will be checked when logging into the system, creating and modifying user information, and changing passwords.'; -$lang->admin->safe->noticeStrong = 'The longer the password, the more letters, numbers, or special characters it contains, and the less repetitive the password, the more secure it is!'; +$lang->admin->safe->noticeMode = 'The password will be checked when creating and modifying user information, and changing passwords.'; +$lang->admin->safe->noticeWeakMode = 'The password will be checked when logging into the system, creating and modifying user information, and changing passwords.'; +$lang->admin->safe->noticeStrong = 'The longer the password, the more letters, numbers, or special characters it contains, and the less repetitive the password, the more secure it is!'; diff --git a/module/admin/lang/en.php b/module/admin/lang/en.php index 299127be72..ae785bc4f2 100644 --- a/module/admin/lang/en.php +++ b/module/admin/lang/en.php @@ -87,5 +87,6 @@ $lang->admin->safe->loginCaptchaList[0] = 'No'; $lang->admin->safe->resetPWDList[1] = 'ON'; $lang->admin->safe->resetPWDList[0] = 'Off'; -$lang->admin->safe->noticeMode = 'The password will be checked when logging into the system, creating and modifying user information, and changing passwords.'; -$lang->admin->safe->noticeStrong = 'The longer the password, the more letters, numbers, or special characters it contains, and the less repetitive the password, the more secure it is!'; +$lang->admin->safe->noticeMode = 'The password will be checked when creating and modifying user information, and changing passwords.'; +$lang->admin->safe->noticeWeakMode = 'The password will be checked when logging into the system, creating and modifying user information, and changing passwords.'; +$lang->admin->safe->noticeStrong = 'The longer the password, the more letters, numbers, or special characters it contains, and the less repetitive the password, the more secure it is!'; diff --git a/module/admin/lang/fr.php b/module/admin/lang/fr.php index 023600d939..f3bb4993ad 100644 --- a/module/admin/lang/fr.php +++ b/module/admin/lang/fr.php @@ -87,5 +87,6 @@ $lang->admin->safe->loginCaptchaList[0] = 'Non'; $lang->admin->safe->resetPWDList[1] = 'ON'; $lang->admin->safe->resetPWDList[0] = 'Off'; -$lang->admin->safe->noticeMode = "Le mot de passe sera vérifié lors de la connexion au système, de la création et de la modification des coordonnées de l'utilisateur, et du changement de mot de passe."; -$lang->admin->safe->noticeStrong = "Le mot de passe est d'autant plus sécurisé qu'il est long, qu'il contient plus de lettres, de chiffres ou de caractères spéciaux, et que les lettres du mot de passe sont peu répétitives !"; +$lang->admin->safe->noticeMode = "Le mot de passe sera vérifié lors de la création et de la modification des coordonnées de l'utilisateur, et du changement de mot de passe."; +$lang->admin->safe->noticeWeakMode = "Le mot de passe sera vérifié lors de la connexion au système, de la création et de la modification des coordonnées de l'utilisateur, et du changement de mot de passe."; +$lang->admin->safe->noticeStrong = "Le mot de passe est d'autant plus sécurisé qu'il est long, qu'il contient plus de lettres, de chiffres ou de caractères spéciaux, et que les lettres du mot de passe sont peu répétitives !"; diff --git a/module/admin/lang/zh-cn.php b/module/admin/lang/zh-cn.php index 24d5afd21a..b0d8e6a8ee 100644 --- a/module/admin/lang/zh-cn.php +++ b/module/admin/lang/zh-cn.php @@ -87,5 +87,6 @@ $lang->admin->safe->loginCaptchaList[0] = '否'; $lang->admin->safe->resetPWDList[1] = '开启'; $lang->admin->safe->resetPWDList[0] = '关闭'; -$lang->admin->safe->noticeMode = '系统会在登录、创建和修改用户、修改密码的时候检查用户口令。'; -$lang->admin->safe->noticeStrong = '密码长度越长,含有大写字母或数字或特殊符号越多,密码字母越不重复,安全度越强!'; +$lang->admin->safe->noticeMode = '系统会在创建和修改用户、修改密码的时候检查用户口令。'; +$lang->admin->safe->noticeWeakMode = '系统会在登录、创建和修改用户、修改密码的时候检查用户口令。'; +$lang->admin->safe->noticeStrong = '密码长度越长,含有大写字母或数字或特殊符号越多,密码字母越不重复,安全度越强!'; diff --git a/module/admin/view/safe.html.php b/module/admin/view/safe.html.php index fef5e8b92b..ad335dd1d7 100644 --- a/module/admin/view/safe.html.php +++ b/module/admin/view/safe.html.php @@ -40,7 +40,7 @@ admin->safe->password?> admin->safe->modeList, isset($config->safe->mode) ? $config->safe->mode : 0, "onclick=showModeRule(this.value)")?> - safe->changeWeak) ? $lang->admin->safe->noticeMode : str_replace(array('登录、', 'logging into the system, ', ' connexion au système,'), array('', '', ''), $lang->admin->safe->noticeMode);?> + safe->changeWeak) ? $lang->admin->safe->noticeWeakMode : $lang->admin->safe->noticeMode;?>