libexplain  1.4.D001
Defines | Functions
libexplain/gettext.h File Reference

Go to the source code of this file.

Defines

#define i18n(x)   x

Functions

const char * explain_gettext (const char *text)

Define Documentation

#define i18n (   x)    x

Definition at line 23 of file gettext.h.


Function Documentation

const char* explain_gettext ( const char *  text)

The explain_gettext function may be used to translate a string, if i18n in in use.

Parameters:
textThe text to be translated (via gettext(3)).
Returns:
translated text, or the input argument if no translation available.

Definition at line 25 of file gettext.c.