gnome-control-center/gnome-control-center-change-translation-when-changing-password.patch
weijin-deng 325e98186d Upgrade to 3.38.6
Update Version, Release, BuildRequires, stage 'files'
Delete 4 patches, modify the left 6 patches
2021-05-31 18:25:18 +08:00

29 lines
1.5 KiB
Diff

diff --git a/panels/user-accounts/pw-utils.c b/panels/user-accounts/pw-utils.c
index 0f4dfd8..617e0d7 100644
--- a/panels/user-accounts/pw-utils.c
+++ b/panels/user-accounts/pw-utils.c
@@ -127,7 +127,7 @@ pw_error_hint (gint error)
case PWQ_ERROR_MIN_LENGTH:
return C_("Password hint", "Password needs to be longer. Try to add more letters, numbers and punctuation.");
case PWQ_ERROR_EMPTY_PASSWORD:
- return C_("Password hint", "Mix uppercase and lowercase and try to use a number or two.");
+ return C_("Password hint", "Mix at least three types of these: lower and upper case letters, digits and any of characters.");
default:
return C_("Password hint", "Adding more letters, numbers and punctuation will make the password stronger.");
}
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 03540dd..34e1624 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -7612,8 +7612,8 @@ msgstr "需要更长的密码。请试着加入更多的字母、数字和标点
#: panels/user-accounts/pw-utils.c:130
msgctxt "Password hint"
-msgid "Mix uppercase and lowercase and try to use a number or two."
-msgstr "密码需要大小写字母混用并试着使用一到两个数字。"
+msgid "Mix at least three types of these: lower and upper case letters, digits and any of characters."
+msgstr "混合至少三种类型:大写字母,小写字母,数字和特殊字符。"
#: panels/user-accounts/pw-utils.c:132
msgctxt "Password hint"