aboutsummaryrefslogtreecommitdiff
path: root/src/noui.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-03-24 21:13:48 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2012-04-04 09:35:01 +0200
commit5d7cebdadc991a23195a3519c1e9c038cb4f2290 (patch)
tree6745cc91af29ad9a7bffc25735dee6d7d904b704 /src/noui.h
parent6cb6d623479c5dd42d91de7a4d391078d0800e54 (diff)
move translation function _ to qtui.h/noui.h instead of util.h
Diffstat (limited to 'src/noui.h')
-rw-r--r--src/noui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/noui.h b/src/noui.h
index e91cca3cfd..4010ec3c7c 100644
--- a/src/noui.h
+++ b/src/noui.h
@@ -66,4 +66,9 @@ inline void InitMessage(const std::string &message)
{
}
+inline const char* _(const char* psz)
+{
+ return psz;
+}
+
#endif