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
No known key found for this signature in database
GPG key ID: C10411294912A422
54 changed files with 158 additions and 11 deletions

View file

@ -166,6 +166,9 @@ void PageContainer::retranslate()
{
if (m_currentPage)
m_header->setText(m_currentPage->displayName());
for (auto page : m_model->pages())
page->retranslate();
}
void PageContainer::addButtons(QWidget *buttons)