Skip to content

Commit

Permalink
Merge pull request #7941 from 8times9/contextmenu
Browse files Browse the repository at this point in the history
Qt/GameList: Set consistent capitalization for context menu
  • Loading branch information
spycrab committed Mar 29, 2019
2 parents 7952cc7 + 8c37214 commit 963370d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Source/Core/DolphinQt/GameList/GameList.cpp
Expand Up @@ -273,19 +273,19 @@ void GameList::ShowContextMenu(const QPoint&)
} }


if (compress) if (compress)
menu->addAction(tr("Compress selected ISOs..."), this, [this] { CompressISO(false); }); menu->addAction(tr("Compress Selected ISOs..."), this, [this] { CompressISO(false); });
if (decompress) if (decompress)
menu->addAction(tr("Decompress selected ISOs..."), this, [this] { CompressISO(true); }); menu->addAction(tr("Decompress Selected ISOs..."), this, [this] { CompressISO(true); });
if (compress || decompress) if (compress || decompress)
menu->addSeparator(); menu->addSeparator();


if (wii_saves) if (wii_saves)
{ {
menu->addAction(tr("Export Wii saves (Experimental)"), this, &GameList::ExportWiiSave); menu->addAction(tr("Export Wii Saves (Experimental)"), this, &GameList::ExportWiiSave);
menu->addSeparator(); menu->addSeparator();
} }


menu->addAction(tr("Delete selected files..."), this, &GameList::DeleteFile); menu->addAction(tr("Delete Selected Files..."), this, &GameList::DeleteFile);
} }
else else
{ {
Expand All @@ -302,7 +302,7 @@ void GameList::ShowContextMenu(const QPoint&)


if (platform == DiscIO::Platform::GameCubeDisc || platform == DiscIO::Platform::WiiDisc) if (platform == DiscIO::Platform::GameCubeDisc || platform == DiscIO::Platform::WiiDisc)
{ {
menu->addAction(tr("Set as &default ISO"), this, &GameList::SetDefaultISO); menu->addAction(tr("Set as &Default ISO"), this, &GameList::SetDefaultISO);
const auto blob_type = game->GetBlobType(); const auto blob_type = game->GetBlobType();


if (blob_type == DiscIO::BlobType::GCZ) if (blob_type == DiscIO::BlobType::GCZ)
Expand Down Expand Up @@ -356,18 +356,18 @@ void GameList::ShowContextMenu(const QPoint&)


if (platform == DiscIO::Platform::WiiWAD || platform == DiscIO::Platform::WiiDisc) if (platform == DiscIO::Platform::WiiWAD || platform == DiscIO::Platform::WiiDisc)
{ {
menu->addAction(tr("Open Wii &save folder"), this, &GameList::OpenWiiSaveFolder); menu->addAction(tr("Open Wii &Save Folder"), this, &GameList::OpenWiiSaveFolder);
menu->addAction(tr("Export Wii save (Experimental)"), this, &GameList::ExportWiiSave); menu->addAction(tr("Export Wii Save (Experimental)"), this, &GameList::ExportWiiSave);
menu->addSeparator(); menu->addSeparator();
} }


if (platform == DiscIO::Platform::GameCubeDisc) if (platform == DiscIO::Platform::GameCubeDisc)
{ {
menu->addAction(tr("Open GameCube &save folder"), this, &GameList::OpenGCSaveFolder); menu->addAction(tr("Open GameCube &Save Folder"), this, &GameList::OpenGCSaveFolder);
menu->addSeparator(); menu->addSeparator();
} }


menu->addAction(tr("Open &containing folder"), this, &GameList::OpenContainingFolder); menu->addAction(tr("Open &Containing Folder"), this, &GameList::OpenContainingFolder);
menu->addAction(tr("Delete File..."), this, &GameList::DeleteFile); menu->addAction(tr("Delete File..."), this, &GameList::DeleteFile);


menu->addSeparator(); menu->addSeparator();
Expand Down

0 comments on commit 963370d

Please sign in to comment.