PipeWire 1.1.0
Loading...
Searching...
No Matches
spa_i18n_methods Struct Reference

#include <spa/support/i18n.h>

Data Fields

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

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: