gnome-control-center/gnome-control-center-change-translation-when-changing-password.patch
songnannan b76eb1e4c8 init
2019-12-29 16:48:42 +08:00

26 lines
1.4 KiB
Diff

--- a/panels/user-accounts/pw-utils.c 2015-03-17 07:25:21.000000000 -0400
+++ b/panels/user-accounts/pw-utils.c 2018-03-15 06:09:58.370000000 -0400
@@ -114,7 +114,7 @@
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.");
}
--- a/po/zh_CN.po 2018-03-15 06:03:27.989000000 -0400
+++ a/po/zh_CN.po 2018-03-15 06:17:13.478000000 -0400
@@ -6200,8 +6200,8 @@
#: ../panels/user-accounts/pw-utils.c:117
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:119
msgctxt "Password hint"