summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorAlejandro González <AlexTMjugador@users.noreply.github.com>2019-04-14 23:02:01 +0200
committerGitHub <noreply@github.com>2019-04-14 23:02:01 +0200
commitcb71dfa605a4e6568816cba03cae0f8d6ab5c2e9 (patch)
tree467107e7e6f573e68f533810f8ccd6786e5ff2e8 /application
parent2be98baaba61d617fee15afea72c22ff85f8a6a5 (diff)
downloadMultiMC-cb71dfa605a4e6568816cba03cae0f8d6ab5c2e9.tar
MultiMC-cb71dfa605a4e6568816cba03cae0f8d6ab5c2e9.tar.gz
MultiMC-cb71dfa605a4e6568816cba03cae0f8d6ab5c2e9.tar.lz
MultiMC-cb71dfa605a4e6568816cba03cae0f8d6ab5c2e9.tar.xz
MultiMC-cb71dfa605a4e6568816cba03cae0f8d6ab5c2e9.zip
Tweak strings as per peterix review
Diffstat (limited to 'application')
-rw-r--r--application/MainWindow.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp
index 51cb5760..34dfb369 100644
--- a/application/MainWindow.cpp
+++ b/application/MainWindow.cpp
@@ -934,7 +934,7 @@ void MainWindow::updateToolsMenu()
}
QAction *normalLaunch = launchMenu->addAction(tr("Launch"));
- QAction *normalLaunchOffline = launchOfflineMenu->addAction(tr("Launch"));
+ QAction *normalLaunchOffline = launchOfflineMenu->addAction(tr("Launch Offline"));
connect(normalLaunch, &QAction::triggered, [this]()
{
MMC->launch(m_selectedInstance, true);
@@ -943,8 +943,9 @@ void MainWindow::updateToolsMenu()
{
MMC->launch(m_selectedInstance, false);
});
- launchMenu->addSeparator()->setText(tr("Profilers"));
- launchOfflineMenu->addSeparator()->setText(tr("Profilers"));
+ QString profilersTitle = tr("Profilers");
+ launchMenu->addSeparator()->setText(profilersTitle);
+ launchOfflineMenu->addSeparator()->setText(profilersTitle);
for (auto profiler : MMC->profilers().values())
{
QAction *profilerAction = launchMenu->addAction(profiler->name());
@@ -954,8 +955,9 @@ void MainWindow::updateToolsMenu()
{
profilerAction->setDisabled(true);
profilerOfflineAction->setDisabled(true);
- profilerAction->setToolTip(tr("Profiler not setup correctly. Go into settings, \"External Tools\"."));
- profilerOfflineAction->setToolTip(tr("Profiler not setup correctly. Go into settings, \"External Tools\"."));
+ QString profilerToolTip = tr("Profiler not setup correctly. Go into settings, \"External Tools\".");
+ profilerAction->setToolTip(profilerToolTip);
+ profilerOfflineAction->setToolTip(profilerToolTip);
}
else
{