From aaba99dc10acc6585caae18afc87a33053b55e4b Mon Sep 17 00:00:00 2001 From: Tayou <31988415+TayouVR@users.noreply.github.com> Date: Tue, 11 Oct 2022 14:58:34 +0200 Subject: [PATCH] Update launcher/ui/MainWindow.cpp make " Offline" string for profilers translatable Co-authored-by: Sefa Eyeoglu Signed-off-by: Tayou <31988415+TayouVR@users.noreply.github.com> --- launcher/ui/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index efd6b3986..124de8e36 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -1254,7 +1254,7 @@ void MainWindow::updateToolsMenu() for (auto profiler : APPLICATION->profilers().values()) { QAction *profilerAction = launchMenu->addAction(profiler->name()); - QAction *profilerOfflineAction = launchMenu->addAction(profiler->name() + " Offline"); + QAction *profilerOfflineAction = launchMenu->addAction(tr("%1 Offline").arg(profiler->name())); QString error; if (!profiler->check(&error)) {