gnome-control-center/gnome-control-center-change-translation-when-changing-password.patch

29 lines
1.5 KiB
Diff
Raw Normal View History

diff --git a/panels/user-accounts/pw-utils.c b/panels/user-accounts/pw-utils.c
2022-06-09 11:53:41 +08:00
index 0f4dfd8..700a5a4 100644
--- a/panels/user-accounts/pw-utils.c
+++ b/panels/user-accounts/pw-utils.c
@@ -127,7 +127,7 @@ pw_error_hint (gint error)
2019-12-29 16:48:42 +08:00
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.");
2022-06-09 11:53:41 +08:00
+ return C_("Password hint", "Mix at least three types of these: lower and upper case letters, digits and any of characters.");
2019-12-29 16:48:42 +08:00
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
2022-06-09 11:53:41 +08:00
index 1e1984e..bab9794 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
2022-06-09 11:53:41 +08:00
@@ -7708,8 +7708,8 @@ msgstr "需要更长的密码。请试着加入更多的字母、数字和标点
2019-12-29 16:48:42 +08:00
#: panels/user-accounts/pw-utils.c:130
2019-12-29 16:48:42 +08:00
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
2019-12-29 16:48:42 +08:00
msgctxt "Password hint"