diff --git a/src/citra_qt/configuration/configure_general.cpp b/src/citra_qt/configuration/configure_general.cpp index 3f7dcbeb6..58a7d4432 100644 --- a/src/citra_qt/configuration/configure_general.cpp +++ b/src/citra_qt/configuration/configure_general.cpp @@ -76,4 +76,5 @@ void ConfigureGeneral::onLanguageChanged(int index) { void ConfigureGeneral::retranslateUi() { ui->retranslateUi(this); + ui->hotkeysDialog->retranslateUi(); } diff --git a/src/citra_qt/configuration/configure_general.ui b/src/citra_qt/configuration/configure_general.ui index e6f2c7151..c014dc4d7 100644 --- a/src/citra_qt/configuration/configure_general.ui +++ b/src/citra_qt/configuration/configure_general.ui @@ -181,7 +181,7 @@ - + diff --git a/src/citra_qt/hotkeys.cpp b/src/citra_qt/hotkeys.cpp index 158ed506f..167a9060a 100644 --- a/src/citra_qt/hotkeys.cpp +++ b/src/citra_qt/hotkeys.cpp @@ -88,3 +88,7 @@ GHotkeysDialog::GHotkeysDialog(QWidget* parent) : QWidget(parent) { ui.treeWidget->resizeColumnToContents(0); ui.treeWidget->resizeColumnToContents(1); } + +void GHotkeysDialog::retranslateUi() { + ui.retranslateUi(this); +} diff --git a/src/citra_qt/hotkeys.h b/src/citra_qt/hotkeys.h index a4ccc193b..9964226ab 100644 --- a/src/citra_qt/hotkeys.h +++ b/src/citra_qt/hotkeys.h @@ -58,6 +58,7 @@ class GHotkeysDialog : public QWidget { public: explicit GHotkeysDialog(QWidget* parent = nullptr); + void retranslateUi(); private: Ui::hotkeys ui;