mirror of
https://github.com/django/django.git
synced 2024-12-25 10:35:48 +00:00
Reverted the introduction of a translation string in r17775 as it happened after string freeze. Refs #17944.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b3d0d8552a
commit
ae1b7e9699
@ -36,7 +36,7 @@ class ReadOnlyPasswordHashWidget(forms.Widget):
|
|||||||
try:
|
try:
|
||||||
hasher = get_hasher(algorithm)
|
hasher = get_hasher(algorithm)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
summary = "<strong>%s</strong>" % ugettext("Invalid password format or unknown hashing algorithm.")
|
summary = "<strong>Invalid password format or unknown hashing algorithm.</strong>"
|
||||||
else:
|
else:
|
||||||
summary = ""
|
summary = ""
|
||||||
for key, value in hasher.safe_summary(encoded).iteritems():
|
for key, value in hasher.safe_summary(encoded).iteritems():
|
||||||
|
Loading…
Reference in New Issue
Block a user