Opened 12 years ago
Closed 12 years ago
#20544 closed Bug (duplicate)
User don't translate verbose name to pt_BR
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Python 2 | Version: | 1.5 |
Severity: | Normal | Keywords: | translate, user |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The class User() from Auth don't have the verbose_name at the Meta class with _('user').
I don't know why, but that definition on abstract class is looser.
I need to put this code to work with pt_BR:
class User(AbstractUser):
"""
Users within the Django authentication system are represented by this
model.
Username, password and email are required. Other fields are optional.
"""
class Meta:
swappable = 'AUTH_USER_MODEL'
verbose_name = _('user') # That is my new line to work!
Note:
See TracTickets
for help on using tickets.
Duplicate of #19945.