Function gettext_f

Source
pub fn gettext_f(msgid: &str, args: &[(&str, &str)]) -> String
Expand description

Like gettext, 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.