Update launcher/ui/MainWindow.cpp

make " Offline" string for profilers translatable

Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Tayou <31988415+TayouVR@users.noreply.github.com>
This commit is contained in:
Tayou 2022-10-11 14:58:34 +02:00 committed by GitHub
parent 93a2e0f777
commit aaba99dc10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))
{