C++ (Qt)QString str = ui.labelStatus->text();
C++ (Qt)[15:46:27] Дима Корниец: void MyWidget::changeEvent(QEvent *event){ if (e->type() == QEvent::LanguageChange) { titleLabel->setText(tr("Document Title")); ... okPushButton->setText(tr("&OK")); } else QWidget::changeEvent(event);}
QMap <QString, QString> engRu;...//changeLangui.label->setText(engRu[ui.label->text()]);