dcgettext
fn
string dcgettext(string domain, string msgid, int category)This is a variant of [glib.global.dgettext] that allows specifying a locale category instead of always using LC_MESSAGES. See [glib.global.dgettext] for more information about how this functions differs from calling dcgettext() directly.
Parameters
domain | the translation domain to use, or null to use the domain set with textdomain() |
msgid | message to translate |
category | a locale category |
Returns
the translated string for the given locale category