translation support fixed and new translations added
This commit is contained in:
@@ -76,6 +76,13 @@ public:
|
||||
virtual QIcon pluginIcon() { return QIcon(); }
|
||||
|
||||
protected:
|
||||
QTranslator* translatorFrom(QString fileName) {
|
||||
QTranslator *trans = new QTranslator();
|
||||
trans->load(fileName + QLocale::system().name());
|
||||
|
||||
return trans;
|
||||
}
|
||||
|
||||
QWidget *m_ui;
|
||||
QWidget *m_settingsUi;
|
||||
IService *m_service;
|
||||
|
||||
Reference in New Issue
Block a user