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

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

View File

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