add dynamic language change support
add "en" ts
This commit is contained in:
@@ -154,6 +154,7 @@ void AboutWindow::changeEvent(QEvent *e) {
|
||||
switch (e->type()) {
|
||||
case QEvent::LanguageChange:
|
||||
ui->retranslateUi(this);
|
||||
setWindowTitle(QApplication::applicationName() + " - " + tr("About"));
|
||||
break;
|
||||
case QEvent::FontChange:
|
||||
case QEvent::Polish:
|
||||
|
||||
Reference in New Issue
Block a user