mirror of
https://github.com/86Box/86Box.git
synced 2026-02-26 14:03:16 -07:00
More string and translation improvements (#6570)
* Qt: Minor rewording on the storage controllers settings page All translations updated accordingly (the "Hard disk" string is still used in the PC5086 config and therefore has been moved to a suitable place) Also fix broken translations for ter/qua IDE controllers * Qt: Don't attempt to translate storage bus names * Qt: Remove translations for non-generic joystick names These weren't actually supposed to be translated Thrustmaster Formulas were left in because of "with/out adapter" * Qt: Tooltip and icon text fixing * Restore unused strings that were to be used as tooltips for Ctrl+Alt+Del/Esc buttons * Consistently define tooltips and iconText to avoid mnemonics showing in CJK languages * Remove tooltips from actions that only show up in menus * Qt: Add ACPI shutdown to menu * Qt: Drop "SoundFont" string from translations This is a brand name that shouldn't be translated * Qt: Replace three-dot ellipsis with a single-character one * Manager: workaround for font mismatch on language change
This commit is contained in:
committed by
GitHub
parent
7800bcd0bd
commit
0dc8509220
@@ -171,20 +171,23 @@ VMManagerMainWindow::vmmStateChanged(const VMManagerSystem *sysconfig) const
|
||||
if (running) {
|
||||
if (sysconfig->getProcessStatus() == VMManagerSystem::ProcessStatus::Running) {
|
||||
ui->actionStartPause->setIcon(pauseIcon);
|
||||
ui->actionStartPause->setText(tr("Pause"));
|
||||
ui->actionStartPause->setText(tr("&Pause"));
|
||||
ui->actionStartPause->setToolTip(tr("Pause"));
|
||||
ui->actionStartPause->setIconText(tr("Pause"));
|
||||
} else {
|
||||
ui->actionStartPause->setIcon(runIcon);
|
||||
ui->actionStartPause->setText(tr("Continue"));
|
||||
ui->actionStartPause->setText(tr("&Continue"));
|
||||
ui->actionStartPause->setToolTip(tr("Continue"));
|
||||
ui->actionStartPause->setIconText(tr("Continue"));
|
||||
}
|
||||
disconnect(ui->actionStartPause, &QAction::triggered, vmm, &VMManagerMain::startButtonPressed);
|
||||
disconnect(ui->actionStartPause, &QAction::triggered, vmm, &VMManagerMain::pauseButtonPressed);
|
||||
connect(ui->actionStartPause, &QAction::triggered, vmm, &VMManagerMain::pauseButtonPressed);
|
||||
} else {
|
||||
ui->actionStartPause->setIcon(runIcon);
|
||||
ui->actionStartPause->setText(tr("Start"));
|
||||
ui->actionStartPause->setText(tr("&Start"));
|
||||
ui->actionStartPause->setToolTip(tr("Start"));
|
||||
ui->actionStartPause->setIconText(tr("Start"));
|
||||
disconnect(ui->actionStartPause, &QAction::triggered, vmm, &VMManagerMain::pauseButtonPressed);
|
||||
disconnect(ui->actionStartPause, &QAction::triggered, vmm, &VMManagerMain::startButtonPressed);
|
||||
connect(ui->actionStartPause, &QAction::triggered, vmm, &VMManagerMain::startButtonPressed);
|
||||
|
||||
Reference in New Issue
Block a user