mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
22 lines
398 B
C
22 lines
398 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 );
|
||
|
|