PipeWire  0.3.45
spa_i18n_methods Struct Reference

Data Fields

uint32_t version
 
const char *(* text )(void *object, const char *msgid)
 Translate a message. More...
 
const char *(* ntext )(void *object, const char *msgid, const char *msgid_plural, unsigned long int n)
 Translate a message for a number. More...
 

Field Documentation

◆ version

uint32_t spa_i18n_methods::version

◆ text

const char*(* spa_i18n_methods::text) (void *object, const char *msgid)

Translate a message.

Parameters
objectthe i18n interface
msgidthe message
Returns
a translated message

◆ ntext

const char*(* spa_i18n_methods::ntext) (void *object, const char *msgid, const char *msgid_plural, unsigned long int n)

Translate a message for a number.

Parameters
objectthe i18n interface
msgidthe message to translate
msgid_pluralthe plural form of msgid
na number
Returns
a translated message for the number n

The documentation for this struct was generated from the following file: