Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added translation feature to sort title : _("some title") #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Added translation feature to sort title : _("some title") #15

wants to merge 4 commits into from

Conversation

jetli
Copy link

@jetli jetli commented Feb 6, 2012

The default django-sorting implementation does not support django translation, for example, _("some ttitle"), I've made some slight modifications to support this feature.

Example:

{% anchor "creation_date" _("Creation") %}

see : https://github.com/jetli/django-sorting

jetli added 4 commits February 6, 2012 16:52
…"field" as literal string , eg. {% anchor "list_price" _("Price") %}
…"field" as explicit literal string , eg. {% anchor "list_price" _("Price") %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant