tr
- template tr(string singular, string[Tr] attributes = null, int line = __LINE__, string file = __FILE__, string mod = __MODULE__, string func = __FUNCTION__, Args...)
- template tr(string singular, string plural, string[Tr] attributes = null, int line = __LINE__, string file = __FILE__, string mod = __MODULE__, string func = __FUNCTION__, Args...)
- template tr(string singular, string[Tr] attributes = null)
- template tr(string singular, string plural, string[Tr] attributes = null)
- string tr()
- string tr(size_t n)
string
tr
(
string singular
string plural
)
gettext
aliasesenumsfunctionsmanifest constantsstructstemplatesvariables
Translate a message in the correct plural form.
This does *not* instantiate a new function for every marked string (the signature is fabricated for the sake of documentation).
The first argument should be in singular form, the second in plural form. Note that the format specifier %d is optional.