[ckan-changes] [ckan/ckan] 53c4a2: [#3213] Provide ungettext as an alias of ngettext ...

GitHub noreply at github.com
Mon Sep 5 14:57:44 UTC 2016


  Branch: refs/heads/3229-api-blueprint
  Home:   https://github.com/ckan/ckan
  Commit: 53c4a2de1262b40a3d26b6b411881dbdd3a4ddef
      https://github.com/ckan/ckan/commit/53c4a2de1262b40a3d26b6b411881dbdd3a4ddef
  Author: amercader <amercadero at gmail.com>
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py

  Log Message:
  -----------
  [#3213] Provide ungettext as an alias of ngettext in templates

Flask-babel does not seem to install the ungettext exectuable in
templates, although it uses it internally. Adds a custom template
context processor for backwards compatibility.




More information about the ckan-changes mailing list