add dynamic language change support

add "en" ts
This commit is contained in:
2020-05-25 16:59:19 +03:00
parent 69b0ee9d1a
commit c1fa375145
50 changed files with 1965 additions and 206 deletions

View File

@@ -49,6 +49,7 @@ private:
bool eventFilter(QObject * o, QEvent * e);
void tabInserted(int) {emit countChanged();}
void tabRemoved(int) {emit countChanged();}
void changeEvent(QEvent * e);
struct TabButton {
TabButton(int r, const QIcon & i, const QString & t) {role = r; icon = i; visible = true; srcToolTip = t; toolTip = QApplication::translate("MainWindow", t.toUtf8(), 0/*, QCoreApplication::UnicodeUTF8*/);}