mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 14:52:45 +01:00
configure_per_general: Mark UI strings as translatable in the constructor
These are user-facing strings, so they should be translatable.
This commit is contained in:
parent
8047873a66
commit
0c18d47348
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue