Use ungettext instead of _ for naturaltime
|Reported by:||gasperzejn||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I went updating translation today and I see that naturaltime template filter uses gettext improperly which as a consequence makes it hard to translate.
Attached patch fixes this and also removes redundant if clauses.
Change History (5)
Changed 5 years ago by gasperzejn
comment:1 Changed 5 years ago by gasperzejn
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset