Function gettextrs::dngettext [−][src]
pub fn dngettext<T, U, V>(
domainname: T,
msgid: U,
msgid_plural: V,
n: u32
) -> String where
T: Into<String>,
U: Into<String>,
V: Into<String>,
Translate msgid to localized message from the specified domain (with plural support).
For more information, see dngettext(3).
Panics
Panics if:
domainname
,msgid
, ormsgid_plural
contain an internal 0 byte, as such values can’t be passed to the underlying C API;- the result is not in UTF-8 (see this note).