subsurface/gettext.h
Dirk Hohndel 4d3e74a236 Trying to switch to Qt translation
This compiles and looks about right, but it doesn't appear to work, yet.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-10-06 10:42:32 -07:00

9 lines
207 B
C

#ifndef MYGETTEXT_H
#define MYGETTEXT_H
/* this is for the Qt based translations */
extern const char *gettext(const char *);
#define tr(arg) gettext(arg)
#define QT_TR_NOOP(arg) arg
#endif // MYGETTEXT_H