Closed maxmantz closed 8 years ago
Whoops wrong repo.. will move it.
@maxmantz :
Is there a possibility to interpolate as a number, like %(start)n instead of %(start)s?
Yes: try 'Zeige Einträge %(start)d bis %(end)d von %(total)d'
.
See: https://en.wikipedia.org/wiki/Printf_format_string#Type_field
I have the following setup for a table footer with pagination info:
Translations:
I use the component like this:
The translation works perfectly on first load, but when I change the values for either
top
orskip
the calculation fails, instead the numbers get concatenated like strings. See screenshot:Am I missing something? Is there a possibility to interpolate as a number, like
%(start)n
instead of%(start)s
?