macro_rules! ngettext {
($msgid:expr, $msgid_plural:expr, $n:expr, $($args:expr),+ $(,)?) => { ... };
}
Like ngettext
, but allows for formatting.
It calls ngettext
on msgid
, msgid_plural
, and n
, and then replaces each occurrence of
{}
with the next value out of args
.