Opened 11 years ago
Closed 11 years ago
#22283 closed Uncategorized (fixed)
Documentation in trans_real.py mentions tuples that aren't used
Reported by: | Matthew Somerville | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
trans_real.py says that translations are cached/looked up/activated by a lang+app tuple, whilst the code appears to only go on language (all the app translations have been merged together when the translation was created).
If I've understood it correctly, I've made a tiny commit to fix this available at https://github.com/dracos/django/tree/translation-tuple-fix
Note:
See TracTickets
for help on using tickets.
In 61296fb1baabe616c74091dcae9d4f2f6ba6dda6: