Function
GLibdngettext
Declaration
const gchar*
g_dngettext (
const gchar* domain,
const gchar* msgid,
const gchar* msgid_plural,
gulong n
)
Description
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 |
const gchar* |
The translation domain to use, or |
|
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 |
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 |
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 |
gulong |
The quantity for which translation is needed. |