diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-10-10 00:15:21 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-10 00:18:26 -0700 |
commit | 86a80d37eb3c99efd551aaa9c10687dd4c949899 (patch) | |
tree | b4b1dc6b258cd10e468e8f4cd6d721ecc4fcfa2b /gettextfromc.h | |
parent | 193d20c479d597db307ac5e206b74b26c2f97ba9 (diff) | |
download | subsurface-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 'gettextfromc.h')
-rw-r--r-- | gettextfromc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gettextfromc.h b/gettextfromc.h index 7d7bca142..19f02fc96 100644 --- a/gettextfromc.h +++ b/gettextfromc.h @@ -3,14 +3,14 @@ #include <QHash> -extern "C" const char *gettext(const char *text); +extern "C" const char *trGettext(const char *text); class gettextFromC { Q_DECLARE_TR_FUNCTIONS(gettextFromC) public: static gettextFromC *instance(); - const char *gettext(const char *text); + const char *trGettext(const char *text); void reset(void); QHash <const char *, QByteArray> translationCache; }; |