citra-emu
/
citra-canary
Archived
1
0
Fork 0

citra_qt: minor retranslation fix

When you change the language when a game is running, the "Continue" action in the "Emulation" menu would become "Start". This commit fixes the issue by checking and setting it if it should be "Continue". It seems that this is the only place with this issue.
This commit is contained in:
zhupengfei 2018-07-24 19:49:49 +08:00
parent 87872aa369
commit 3a8b002ede
1 changed files with 3 additions and 0 deletions

View File

@ -1416,6 +1416,9 @@ void GMainWindow::OnLanguageChanged(const QString& locale) {
LoadTranslation(); LoadTranslation();
ui.retranslateUi(this); ui.retranslateUi(this);
SetupUIStrings(); SetupUIStrings();
if (emulation_running)
ui.action_Start->setText(tr("Continue"));
} }
void GMainWindow::SetupUIStrings() { void GMainWindow::SetupUIStrings() {