mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
2c4ccc04bd
commit
4d3e74a236
24 changed files with 272 additions and 294 deletions
15
gettextfromc.h
Normal file
15
gettextfromc.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef GETTEXT_H
|
||||
#define GETTEXT_H
|
||||
|
||||
|
||||
extern "C" const char *gettext(const char *text);
|
||||
|
||||
class gettextFromC
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(gettextFromC)
|
||||
public:
|
||||
static gettextFromC *instance();
|
||||
char *gettext(const char *text);
|
||||
};
|
||||
|
||||
#endif // GETTEXT_H
|
Loading…
Add table
Add a link
Reference in a new issue