[ckan-changes] [okfn/ckan] 5cb3bc: [#1808] Handle fallback language in dataset view t...

GitHub noreply at github.com
Thu Feb 23 11:43:28 UTC 2012


  Branch: refs/heads/feature-1821-multilingual-extension
  Home:   https://github.com/okfn/ckan
  Commit: 5cb3bcb0642cd2cbe111f1800b47736907e2766c
      https://github.com/okfn/ckan/commit/5cb3bcb0642cd2cbe111f1800b47736907e2766c
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-23 (Thu, 23 Feb 2012)

  Changed paths:
    M ckan/logic/action/get.py
  M ckanext/multilingual/plugin.py
  M ckanext/multilingual/tests/test_multilingual_plugin.py

  Log Message:
  -----------
  [#1808] Handle fallback language in dataset view translations

term_translation_show() logic action function now accepts a list of lang codes
instead of just one lang code.

MultilingualDataset.before_view() looks for translations in the fallback
language if they are not found in the desired language.

test_multilingual_plugin.py: Add some fallback language stuff into the test.


  Commit: 520a81d8d689c86a3eff5b5f627638806f0518b8
      https://github.com/okfn/ckan/commit/520a81d8d689c86a3eff5b5f627638806f0518b8
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-23 (Thu, 23 Feb 2012)

  Changed paths:
    M ckan/controllers/package.py
  M ckan/lib/activity.py
  M ckan/lib/i18n.py
  M ckan/lib/search/query.py
  M ckan/logic/schema.py
  M ckan/templates/js_strings.html
  M ckan/templates/user/read.html
  M ckan/tests/functional/test_search.py
  M ckan/tests/lib/test_solr_package_search.py
  M ckanext/multilingual/plugin.py

  Log Message:
  -----------
  Merge branch 'feature-1821-multilingual-extension' of github.com:okfn/ckan into feature-1821-multilingual-extension


Compare: https://github.com/okfn/ckan/compare/1bcb885...520a81d


More information about the ckan-changes mailing list