mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-24 08:00:06 +00:00
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:
parent
87872aa369
commit
3a8b002ede
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user