Function
GLibdngettext
since: 2.18
Declaration [src]
constgchar*
g_dngettext(
constgchar*domain,
constgchar*msgid,
constgchar*msgid_plural,
gulongn
)
Description [src]
This function is a wrapper of dngettext() which does not translate
the message if the default domain as set with textdomain() has no
translations for the current locale.
See g_dgettext() for details of how this differs from dngettext()
proper.
Available since: 2.18
Parameters
domain-
Type:
const gchar*The translation domain to use, or
NULLto use the domain set with textdomain().The argument can beNULL.The data is owned by the caller of the function.The value is a NUL terminated UTF-8 string. msgid-
Type:
const gchar*Message to translate.
The data is owned by the caller of the function.The value is a NUL terminated UTF-8 string. msgid_plural-
Type:
const gchar*Plural form of the message.
The data is owned by the caller of the function.The value is a NUL terminated UTF-8 string. n-
Type:
gulongThe quantity for which translation is needed.
Return value
Type: const gchar*
The translated string.
The data is owned by the called function.
The value is a NUL terminated UTF-8 string.