diff options
author | axel <axel@liljencrantz.se> | 2006-07-20 08:55:49 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-07-20 08:55:49 +1000 |
commit | b2e2743195a103561047d1be6e448a07a414c12d (patch) | |
tree | ab3f024fc1a371e48c2de8b3456fc2f6466bdc58 /wutil.h | |
parent | 1dc033f71c258fe792338e486aa64ee70fc49a0c (diff) |
Remove translate.c. The gettext fallback functionality is moved to fallback.c, the wide wrapper is moved to wutil.c
darcs-hash:20060719225549-ac50b-0a55e805b04f4fe0afa99ea580901d62f39cdef5.gz
Diffstat (limited to 'wutil.h')
-rw-r--r-- | wutil.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -118,5 +118,14 @@ wchar_t *wdirname( const wchar_t *path ); */ wchar_t *wbasename( const wchar_t *path ); +/** + Wide character wrapper around the gettext function. For historic + reasons, unlike the real gettext function, wgettext takes care of + setting the correct domain, etc. using the textdomain and + bindtextdomain functions. This should probably be moved out of + wgettext, so that wgettext will be nothing more than a wrapper + around gettext, like all other functions in this file. +*/ +const wchar_t *wgettext( const wchar_t *in ); #endif |