Function fractal::i18n::ngettext_f

source ยท
pub fn ngettext_f(
    msgid: &str,
    msgid_plural: &str,
    n: u32,
    args: &[(&str, &str)]
) -> String
Expand description

Like ngettext, but replaces named variables with the given dictionary.

The expected format to replace is {name}, where name is the first string in the dictionary entry tuple.