mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
193d20c479
commit
86a80d37eb
4 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue