Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translates expression for duration (#449)
* Translates expression for duration Fixes incorrect translation of expression with blocktrans introduced in PR #345. Django docs show that expressions must be bound to a variable before being used inside a blocktrans (now blocktranslate since 3.1) https://docs.djangoproject.com/en/2.2/topics/i18n/translation/#blocktrans-template-tag * Uses newer format for expression binding This newer format is easier to read, and available since at least django 1.8.
- Loading branch information