#22283 closed Uncategorized (fixed)

Documentation in trans_real.py mentions tuples that aren't used

Reported by: dracos Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
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 Changed 13 months ago by Baptiste Mispelon <bmispelon@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 61296fb1baabe616c74091dcae9d4f2f6ba6dda6:

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

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