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

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

View File

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