Use ungettext instead of _ for naturaltime
|Reported by:||Gasper Zejn||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)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|