Ticket #1829 (closed defect: fixed)
Changing back to English prints the flash message in the previous non-English language
Reported by: | dread | Owned by: | dread |
---|---|---|---|
Priority: | major | Milestone: | ckan-sprint-2012-03-05 |
Component: | ckan | Keywords: | [0.5d] [a0.1d] |
Cc: | seanh | Repository: | ckan |
Theme: | none |
Description
On the homepage click "francais" and then "English". The flash message reads "Le langage a été fixé à: français" when it should say "The language is now: English".
Change History
Note: See
TracTickets for help on using
tickets.
This was due to https://github.com/okfn/ckan/commit/f07bfdb9#diff-1 - string "Language has been set to: English" shouldn't have been translated. I've put in a patch to make the code intentions clearer and added a test: [release-v1.6 07d3a02]. This only affected the 1.6 beta, and is fixed for the release.