diff options
| author | 2018-10-24 17:13:08 -0400 | |
|---|---|---|
| committer | 2018-10-24 17:13:08 -0400 | |
| commit | 2694b43d3aefd875b5c96405acb49c18e1e21275 (patch) | |
| tree | 10f72ebed488173e34eb4fdb2a43772203d9e63c | |
| parent | Merge pull request #1566 from lioncash/str (diff) | |
| parent | game_list: Make game list column headers translatable (diff) | |
| download | yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.tar.gz yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.tar.xz yuzu-2694b43d3aefd875b5c96405acb49c18e1e21275.zip | |
Merge pull request #1567 from lioncash/translate
game_list: Make game list column headers translatable
| -rw-r--r-- | src/yuzu/game_list.cpp | 10 |
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); |