Opened 12 years ago
Closed 12 years ago
#19704 closed Cleanup/optimization (fixed)
Make use of new ungettext_lazy function at appropriate places
Reported by: | Alexey Boriskin | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There are two places at the codebase, where new possibilities of ungettext_lazy may make code prettier:
- django.contrib.comments.admin
- django.utils.timesince
There are hacks with lambdas at both places.
Change History (6)
comment:1 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 12 years ago
Component: | Core (Other) → Internationalization |
---|
comment:3 by , 12 years ago
Has patch: | set |
---|
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I made pull request for the ticket: https://github.com/django/django/pull/702