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

Change History (1)

comment:1 by Baptiste Mispelon <bmispelon@…>, 11 years ago

Resolution: fixed
Status: newclosed

In 61296fb1baabe616c74091dcae9d4f2f6ba6dda6:

Fixed #22283 -- Updated documentation referring to non-existent tuples.

Note: See TracTickets for help on using tickets.
Back to Top