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

@ -65,6 +65,11 @@ bool AtlPage::shouldDisplay() const
return true;
}
void AtlPage::retranslate()
{
ui->retranslateUi(this);
}
void AtlPage::openedImpl()
{
if(!initialized)

View File

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