You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hoping to be able to be able to translate the titles for a sortable link. I was hoping I'd get away with the below but as the title isn't treated as a Django variable it obviously doesn't work.
{% trans "Arrive" as arrive_text %}
{% sortable_link arrive arrive_text %}
The render method of the SortableLinkNode could be changed to something along these lines:
I'm hoping to be able to be able to translate the titles for a sortable link. I was hoping I'd get away with the below but as the title isn't treated as a Django variable it obviously doesn't work.
The render method of the SortableLinkNode could be changed to something along these lines:
Is that something that you'd consider accepting as a pull request? Alternatively, is there a better way of doing it that I've missed?
The text was updated successfully, but these errors were encountered: