Inject ngettext into Tera templates

Fix .po updating (without the -U option, the result was written to stdout, not the .po file)
This commit is contained in:
Bat
2018-06-17 11:16:20 +01:00
parent 657a0837e2
commit 25ec318f3f
10 changed files with 61 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
</div>
<div>
<a href="followers/">{{ n_followers }} follower{{ n_followers | pluralize }}</a>
<a href="followers/">{{ "{{ count }} followers" | _n(singular="One follower", count=n_followers) }}</a>
</div>
<div>