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>
This commit is contained in:
Dirk Hohndel 2013-10-10 00:15:21 -07:00
parent 193d20c479
commit 86a80d37eb
4 changed files with 8 additions and 8 deletions

View file

@ -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;
};