fix(RD): set resource strings for ReviewMessageBox too

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2023-01-08 12:28:55 -03:00
parent 3a168ba6dd
commit bd36f8e220
5 changed files with 21 additions and 14 deletions

View File

@ -55,3 +55,11 @@ auto ReviewMessageBox::deselectedResources() -> QStringList
return list;
}
void ReviewMessageBox::retranslateUi(QString resources_name)
{
setWindowTitle(tr("Confirm %1 selection").arg(resources_name));
ui->explainLabel->setText(tr("You're about to download the following %1:").arg(resources_name));
ui->onlyCheckedLabel->setText(tr("Only %1 with a check will be downloaded!").arg(resources_name));
}