Add support for translations and update translations
This commit is contained in:
@@ -37,7 +37,8 @@ class ImportEngine;
|
||||
#include <qtranslator.h>
|
||||
#include <qtextcodec.h>
|
||||
|
||||
#define _(s) QObject::trUtf8(s)
|
||||
#define _(s) QApplication::translate("", s)
|
||||
// #define _(s) QObject::trUtf8(s)
|
||||
|
||||
class KissCount;
|
||||
class KissPanel;
|
||||
@@ -89,6 +90,7 @@ private:
|
||||
std::vector<KissPanel*> _panels;
|
||||
std::vector<QPushButton*> _buttons;
|
||||
QLocale *_locale;
|
||||
QTranslator _translator;
|
||||
bool _needReload;
|
||||
|
||||
void InitPanels();
|
||||
|
Reference in New Issue
Block a user