mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-27 07:17:10 +00:00
perf: 修改文案 (#6129)
* perf: 修改i18n * perf: 修改文案 Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
parent
ba35f5906b
commit
6449f36c7e
@ -2435,16 +2435,13 @@ msgstr ""
|
|||||||
|
|
||||||
#: settings/serializers/settings.py:172
|
#: settings/serializers/settings.py:172
|
||||||
msgid "Number of repeated historical passwords"
|
msgid "Number of repeated historical passwords"
|
||||||
msgstr "历史密码可重复次数"
|
msgstr "不能设置近几次密码"
|
||||||
|
|
||||||
#: settings/serializers/settings.py:173
|
#: settings/serializers/settings.py:173
|
||||||
msgid ""
|
msgid ""
|
||||||
"Tip: When the user resets the password, it cannot be the previous n "
|
"Tip: When the user resets the password, it cannot be the previous n "
|
||||||
"historical passwords of the user (the value of n here is the value filled in "
|
"historical passwords of the user"
|
||||||
"the input box)"
|
msgstr "提示:用户重置密码时,不能为该用户前几次使用过的密码"
|
||||||
msgstr ""
|
|
||||||
"提示:用户重置密码时,不能为该用户前n次历史密码 (此处的n值即为输入框中填写的"
|
|
||||||
"值)"
|
|
||||||
|
|
||||||
#: settings/serializers/settings.py:177
|
#: settings/serializers/settings.py:177
|
||||||
msgid "Password minimum length"
|
msgid "Password minimum length"
|
||||||
|
@ -170,7 +170,7 @@ class SecuritySettingSerializer(serializers.Serializer):
|
|||||||
OLD_PASSWORD_HISTORY_LIMIT_COUNT = serializers.IntegerField(
|
OLD_PASSWORD_HISTORY_LIMIT_COUNT = serializers.IntegerField(
|
||||||
min_value=0, max_value=99999, required=True,
|
min_value=0, max_value=99999, required=True,
|
||||||
label=_('Number of repeated historical passwords'),
|
label=_('Number of repeated historical passwords'),
|
||||||
help_text=_('Tip: When the user resets the password, it cannot be the previous n historical passwords of the user (the value of n here is the value filled in the input box)')
|
help_text=_('Tip: When the user resets the password, it cannot be the previous n historical passwords of the user')
|
||||||
)
|
)
|
||||||
SECURITY_PASSWORD_MIN_LENGTH = serializers.IntegerField(
|
SECURITY_PASSWORD_MIN_LENGTH = serializers.IntegerField(
|
||||||
min_value=6, max_value=30, required=True,
|
min_value=6, max_value=30, required=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user