mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-18 12:33:38 +08:00
29c488c6dc
darcs-hash:20060123204014-ac50b-b9d2a10c7f00945b5d9d244cb3b8c1489fe280de.gz
30 lines
563 B
C
30 lines
563 B
C
/** \file translate.h
|
|
|
|
Translation library, internally uses catgets
|
|
|
|
*/
|
|
|
|
/**
|
|
Shorthand for wgettext call
|
|
*/
|
|
#define _(wstr) wgettext(wstr)
|
|
|
|
/**
|
|
Noop, used to tell xgettext that a string should be translated, even though it is not directly sent to wgettext.
|
|
*/
|
|
#define N_(wstr) wstr
|
|
|
|
/**
|
|
Wide character wwrapper around the gettext function
|
|
*/
|
|
const wchar_t *wgettext( const wchar_t *in );
|
|
|
|
/**
|
|
Initialize (or reinitialize) the translation library
|
|
*/
|
|
void translate_init();
|
|
/**
|
|
Free memory used by the translation library
|
|
*/
|
|
void translate_destroy();
|