Internationalization.dcgettext

This is a variant of g_dgettext() that allows specifying a locale category instead of always using LC_MESSAGES. See g_dgettext() for more information about how this functions differs from calling dcgettext() directly.

struct Internationalization
static
string
dcgettext
(
string domain
,
string msgid
,)

Parameters

domain string

the translation domain to use, or %NULL to use the domain set with textdomain()

msgid string

message to translate

category int

a locale category

Return Value

Type: string

the translated string for the given locale category

Meta

Since

2.26