[ckan-changes] [okfn/ckan] 521ad8: Refactor activity streams templates for i18n

GitHub noreply at github.com
Tue Apr 10 16:18:10 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 521ad8605e7a54fbd1fa672d2909e8ade39e1018
      https://github.com/okfn/ckan/commit/521ad8605e7a54fbd1fa672d2909e8ade39e1018
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-04-10 (Tue, 10 Apr 2012)

  Changed paths:
    M ckan/lib/helpers.py
  M ckan/templates/_util.html
  R ckan/templates/_util_activity_div.html
  M ckan/templates/activity_streams/added_tag.html
  M ckan/templates/activity_streams/changed_group.html
  M ckan/templates/activity_streams/changed_package.html
  M ckan/templates/activity_streams/changed_package_extra.html
  M ckan/templates/activity_streams/changed_resource.html
  M ckan/templates/activity_streams/changed_user.html
  M ckan/templates/activity_streams/deleted_group.html
  M ckan/templates/activity_streams/deleted_package.html
  M ckan/templates/activity_streams/deleted_package_extra.html
  M ckan/templates/activity_streams/deleted_resource.html
  M ckan/templates/activity_streams/new_group.html
  M ckan/templates/activity_streams/new_package.html
  M ckan/templates/activity_streams/new_package_extra.html
  M ckan/templates/activity_streams/new_resource.html
  M ckan/templates/activity_streams/new_user.html
  M ckan/templates/activity_streams/removed_tag.html
  M ckan/tests/functional/test_activity.py

  Log Message:
  -----------
  Refactor activity streams templates for i18n

The strings in the activity streams templates were not i18n-friendly.
Replaced the activity_div Genshi util function with an activity_div
Python function in helpers.py, and refactored it to make the strings
able to be marked for translation.


  Commit: 7ac1b5d177d2a6f95c68ae495e0a8e98c18b7c16
      https://github.com/okfn/ckan/commit/7ac1b5d177d2a6f95c68ae495e0a8e98c18b7c16
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-04-10 (Tue, 10 Apr 2012)

  Changed paths:
    M ckan/config/routing.py
  M ckan/controllers/user.py
  M ckan/lib/helpers.py
  M ckan/public/scripts/application.js
  M ckan/templates/layout_base.html

  Log Message:
  -----------
  Merge branch 'master' of github.com:okfn/ckan


Compare: https://github.com/okfn/ckan/compare/bc6183c...7ac1b5d


More information about the ckan-changes mailing list