[ckan-changes] [okfn/ckan] be850d: Fix bug in translating lists in multilingual plugi...
GitHub
noreply at github.com
Wed May 30 11:33:47 UTC 2012
Branch: refs/heads/release-v1.7.1
Home: https://github.com/okfn/ckan
Commit: be850dd0b0f3d4ea9b14a16b01af69bd58704768
https://github.com/okfn/ckan/commit/be850dd0b0f3d4ea9b14a16b01af69bd58704768
Author: John Glover <j at johnglover.net>
Date: 2012-05-30 (Wed, 30 May 2012)
Changed paths:
M ckanext/multilingual/plugin.py
Log Message:
-----------
Fix bug in translating lists in multilingual plugin.
Get translations of individual items in a list
instead of looking for a translation of the entire
list object.
Also use 'in' to check for dict keys instead of
the deprecated '.has_key()'.
More information about the ckan-changes
mailing list