Function
GLibdngettext
since: 2.18
Declaration [src]
const gchar*
g_dngettext (
const gchar* domain,
const gchar* msgid,
const gchar* msgid_plural,
gulong n
)
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 be NULL.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.