App: Retranslate all pages when the language is changed

This commit is contained in:
Jamie Mansfield
2022-02-22 18:23:53 +00:00
committed by Sefa Eyeoglu
parent a2c85a8531
commit dd5c4b6864
54 changed files with 158 additions and 11 deletions

View File

@ -61,6 +61,11 @@ bool TechnicPage::shouldDisplay() const
return true;
}
void TechnicPage::retranslate()
{
ui->retranslateUi(this);
}
void TechnicPage::openedImpl()
{
suggestCurrent();

View File

@ -57,6 +57,7 @@ public:
return "Technic-platform";
}
virtual bool shouldDisplay() const override;
void retranslate() override;
void openedImpl() override;