Merge pull request #3952 from zhaowenlan1779/console-id-display-fix

configure_system: fix an untranslated text
This commit is contained in:
Weiyi Wang 2018-07-18 14:23:55 +03:00 committed by GitHub
commit a1b1d827bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,8 @@ void ConfigureSystem::refreshConsoleID() {
cfg->GenerateConsoleUniqueId(random_number, console_id);
cfg->SetConsoleUniqueId(random_number, console_id);
cfg->UpdateConfigNANDSavegame();
ui->label_console_id->setText("Console ID: 0x" + QString::number(console_id, 16).toUpper());
ui->label_console_id->setText(
tr("Console ID: 0x%1").arg(QString::number(console_id, 16).toUpper()));
}
void ConfigureSystem::retranslateUi() {