diff options
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/translations.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/reference/translations.rst b/doc/reference/translations.rst index adfc11a259f..81ec506df63 100644 --- a/doc/reference/translations.rst +++ b/doc/reference/translations.rst @@ -106,6 +106,7 @@ Blocks # bad, trailing spaces, blocks out of context _("You have ") + len(invoices) + _(" invoices waiting") + _t("You have ") + invoices.length + _t(" invoices waiting"); # bad, multiple small translations _("Reference of the document that generated ") + \ @@ -115,6 +116,7 @@ Blocks # good, allow to change position of the number in the translation _("You have %s invoices wainting") % len(invoices) + _.str.sprintf(_t("You have %s invoices wainting"), invoices.length); # good, full sentence is understandable _("Reference of the document that generated " + \ |
