diff --git a/src/citra_qt/configuration/configure_general.cpp b/src/citra_qt/configuration/configure_general.cpp index d89a7984c4..73ad3d7905 100644 --- a/src/citra_qt/configuration/configure_general.cpp +++ b/src/citra_qt/configuration/configure_general.cpp @@ -79,4 +79,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 7a949979ab..0c972259f8 100644 --- a/src/citra_qt/configuration/configure_general.ui +++ b/src/citra_qt/configuration/configure_general.ui @@ -201,7 +201,7 @@ - + diff --git a/src/citra_qt/hotkeys.cpp b/src/citra_qt/hotkeys.cpp index 158ed506f9..167a9060a8 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 a4ccc193ba..9964226ab2 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;