aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gettext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gettext.h b/src/gettext.h
index ff3a0f8cb..f2cb8e471 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -30,6 +30,11 @@ inline wchar_t* chartowchar_t(const char *str)
return nstr;
}
+inline wchar_t* wgettext(const char *str)
+{
+ return chartowchar_t(gettext(str));
+}
+
inline void changeCtype(const char *l)
{
char *ret = NULL;