summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-24 08:20:32 -0400
committerGravatar Lioncash2018-10-24 08:20:35 -0400
commit47f081d5133339cccaf1e34433689c6b3016f75b (patch)
tree24c698142ef6b52acb31bc1ea33b0699c49be0fe /src
parentMerge pull request #1552 from FearlessTobi/port-4336 (diff)
downloadyuzu-47f081d5133339cccaf1e34433689c6b3016f75b.tar.gz
yuzu-47f081d5133339cccaf1e34433689c6b3016f75b.tar.xz
yuzu-47f081d5133339cccaf1e34433689c6b3016f75b.zip
game_list: Make game list column headers translatable
These are user-facing strings, so they should be marked as translatable
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/game_list.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 67890455a..710197165 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -217,11 +217,11 @@ GameList::GameList(FileSys::VirtualFilesystem vfs, GMainWindow* parent)
217 tree_view->setContextMenuPolicy(Qt::CustomContextMenu); 217 tree_view->setContextMenuPolicy(Qt::CustomContextMenu);
218 218
219 item_model->insertColumns(0, COLUMN_COUNT); 219 item_model->insertColumns(0, COLUMN_COUNT);
220 item_model->setHeaderData(COLUMN_NAME, Qt::Horizontal, "Name"); 220 item_model->setHeaderData(COLUMN_NAME, Qt::Horizontal, tr("Name"));
221 item_model->setHeaderData(COLUMN_COMPATIBILITY, Qt::Horizontal, "Compatibility"); 221 item_model->setHeaderData(COLUMN_COMPATIBILITY, Qt::Horizontal, tr("Compatibility"));
222 item_model->setHeaderData(COLUMN_ADD_ONS, Qt::Horizontal, "Add-ons"); 222 item_model->setHeaderData(COLUMN_ADD_ONS, Qt::Horizontal, tr("Add-ons"));
223 item_model->setHeaderData(COLUMN_FILE_TYPE, Qt::Horizontal, "File type"); 223 item_model->setHeaderData(COLUMN_FILE_TYPE, Qt::Horizontal, tr("File type"));
224 item_model->setHeaderData(COLUMN_SIZE, Qt::Horizontal, "Size"); 224 item_model->setHeaderData(COLUMN_SIZE, Qt::Horizontal, tr("Size"));
225 225
226 connect(tree_view, &QTreeView::activated, this, &GameList::ValidateEntry); 226 connect(tree_view, &QTreeView::activated, this, &GameList::ValidateEntry);
227 connect(tree_view, &QTreeView::customContextMenuRequested, this, &GameList::PopupContextMenu); 227 connect(tree_view, &QTreeView::customContextMenuRequested, this, &GameList::PopupContextMenu);