summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-24 23:13:08 +0200
committerGitHub <noreply@github.com>2018-10-24 23:13:08 +0200
commit2694b43d3aefd875b5c96405acb49c18e1e21275 (patch)
tree10f72ebed488173e34eb4fdb2a43772203d9e63c /src
parentMerge pull request #1566 from lioncash/str (diff)
parentgame_list: Make game list column headers translatable (diff)
downloadyuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.tar
yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.tar.gz
yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.tar.bz2
yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.tar.lz
yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.tar.xz
yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.tar.zst
yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.zip
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)
tree_view->setContextMenuPolicy(Qt::CustomContextMenu);
item_model->insertColumns(0, COLUMN_COUNT);
- item_model->setHeaderData(COLUMN_NAME, Qt::Horizontal, "Name");
- item_model->setHeaderData(COLUMN_COMPATIBILITY, Qt::Horizontal, "Compatibility");
- item_model->setHeaderData(COLUMN_ADD_ONS, Qt::Horizontal, "Add-ons");
- item_model->setHeaderData(COLUMN_FILE_TYPE, Qt::Horizontal, "File type");
- item_model->setHeaderData(COLUMN_SIZE, Qt::Horizontal, "Size");
+ item_model->setHeaderData(COLUMN_NAME, Qt::Horizontal, tr("Name"));
+ item_model->setHeaderData(COLUMN_COMPATIBILITY, Qt::Horizontal, tr("Compatibility"));
+ item_model->setHeaderData(COLUMN_ADD_ONS, Qt::Horizontal, tr("Add-ons"));
+ item_model->setHeaderData(COLUMN_FILE_TYPE, Qt::Horizontal, tr("File type"));
+ item_model->setHeaderData(COLUMN_SIZE, Qt::Horizontal, tr("Size"));
connect(tree_view, &QTreeView::activated, this, &GameList::ValidateEntry);
connect(tree_view, &QTreeView::customContextMenuRequested, this, &GameList::PopupContextMenu);