diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-26 17:45:12 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-26 17:45:15 -0500 |
commit | 0c18d473489444b7c5bf8821eac906de77f9bb8b (patch) | |
tree | c4ab90243ee1b67eb04743f06bfde761fa39562e /src/yuzu/configuration/configure_per_general.cpp | |
parent | 8047873a66146ae25e9707796b16062ed00e60b7 (diff) |
configure_per_general: Mark UI strings as translatable in the constructor
These are user-facing strings, so they should be translatable.
Diffstat (limited to 'src/yuzu/configuration/configure_per_general.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_per_general.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_per_general.cpp b/src/yuzu/configuration/configure_per_general.cpp index 80109b434..5ca493b6d 100644 --- a/src/yuzu/configuration/configure_per_general.cpp +++ b/src/yuzu/configuration/configure_per_general.cpp @@ -47,8 +47,8 @@ ConfigurePerGameGeneral::ConfigurePerGameGeneral(QWidget* parent, u64 title_id) tree_view->setContextMenuPolicy(Qt::NoContextMenu); item_model->insertColumns(0, 2); - item_model->setHeaderData(0, Qt::Horizontal, "Patch Name"); - item_model->setHeaderData(1, Qt::Horizontal, "Version"); + item_model->setHeaderData(0, Qt::Horizontal, tr("Patch Name")); + item_model->setHeaderData(1, Qt::Horizontal, tr("Version")); // We must register all custom types with the Qt Automoc system so that we are able to use it // with signals/slots. In this case, QList falls under the umbrells of custom types. |