summaryrefslogtreecommitdiffstats
path: root/gettext.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-10 00:15:21 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-10 00:18:26 -0700
commit86a80d37eb3c99efd551aaa9c10687dd4c949899 (patch)
treeb4b1dc6b258cd10e468e8f4cd6d721ecc4fcfa2b /gettext.h
parent193d20c479d597db307ac5e206b74b26c2f97ba9 (diff)
downloadsubsurface-86a80d37eb3c99efd551aaa9c10687dd4c949899.tar.gz
Dismbiguate gettext
Just to make sure there's no confusion - we are NOT calling gettext. We are calling tr from a gettext like interface. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gettext.h')
-rw-r--r--gettext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext.h b/gettext.h
index 5f987c1a4..84910bb23 100644
--- a/gettext.h
+++ b/gettext.h
@@ -2,8 +2,8 @@
#define MYGETTEXT_H
/* this is for the Qt based translations */
-extern const char *gettext(const char *);
-#define translate(_context, arg) gettext(arg)
+extern const char *trGettext(const char *);
+#define translate(_context, arg) trGettext(arg)
#define QT_TRANSLATE_NOOP(_context, arg) arg
#endif // MYGETTEXT_H