mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
translate standard buttons
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -45,6 +45,9 @@ ImportResourceDialog::ImportResourceDialog(QString file_path, PackedResourceType
|
||||
ui->label->setText(
|
||||
tr("Choose the instance you would like to import this %1 to.").arg(ResourceUtils::getPackedTypeName(m_resource_type)));
|
||||
ui->label_file_path->setText(tr("File: %1").arg(m_file_path));
|
||||
|
||||
ui->buttonBox->button(QDialogButtonBox::Cancel)->setText(tr("Cancel"));
|
||||
ui->buttonBox->button(QDialogButtonBox::Ok)->setText(tr("OK"));
|
||||
}
|
||||
|
||||
void ImportResourceDialog::activated(QModelIndex index)
|
||||
|
Reference in New Issue
Block a user