Qt: Fix translations for the "keybind already in use" error

This commit is contained in:
Alexander Babikov
2025-08-01 17:16:29 +05:00
parent dc8715131f
commit b89af7fecb
26 changed files with 151 additions and 1 deletions

View File

@@ -236,7 +236,7 @@ SettingsInput::on_tableKeys_cellDoubleClicked(int row, int col)
for(int x = 0; x < NUM_ACCELS; x++) {
if(QString::fromStdString(acc_keys_t[x].seq) == keyseq.toString(QKeySequence::PortableText)) {
// That key is already in use
main_window->showMessage(MBX_ANSI & MBX_INFO, "Bind conflict", "This key combo is already in use", false);
main_window->showMessage(MBX_ANSI & MBX_INFO, tr("Bind conflict"), tr("This key combo is already in use."), false);
return;
}
}