Translations don't appear for text defined in models.py
Bug #629371 reported by
Nigel Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
harvest |
Fix Released
|
Medium
|
Nigel Jones |
Bug Description
Translations (easy/medium/hard) don't appear at all as the text is defined w/in models.py.
As a result gettext 'translates' them into English as that is the defined language. I'm changing these to the lazy translate function so that they get translated when the user accesses Harvest.
Related branches
lp:~dev-nigelj/harvest/misc-fixes
- Daniel Holbach: Approve
-
Diff: 35 lines (+3/-3)3 files modifiedharvest/opportunities/models.py (+1/-1)
harvest/templates/opportunities/include/opportunity.html (+1/-1)
harvest/templates/opportunities/include/opportunity_details_edit.html (+1/-1)
Changed in harvest: | |
status: | New → In Progress |
assignee: | nobody → Nigel Jones (dev-nigelj) |
Changed in harvest: | |
importance: | Undecided → Medium |
milestone: | none → 0.2.2 |
status: | In Progress → Fix Committed |
Changed in harvest: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.