From 10a82ccc568aacdde52dcbe3f9cc6804d1af1241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Mon, 18 Jul 2022 02:47:23 -0300 Subject: [PATCH] Emscripten build fix. --- src/tools/ecode/terminalmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/ecode/terminalmanager.cpp b/src/tools/ecode/terminalmanager.cpp index 5ef8a9e0e..c4ec2eaca 100644 --- a/src/tools/ecode/terminalmanager.cpp +++ b/src/tools/ecode/terminalmanager.cpp @@ -133,8 +133,8 @@ UITerminal* TerminalManager::createNewTerminal( const std::string& title, UITabW #if EE_PLATFORM == EE_PLATFORM_EMSCRIPTEN UIMessageBox* msgBox = UIMessageBox::New( UIMessageBox::OK, - i18n( "feature_not_supported_in_emscripten", - "This feature is only supported in the desktop version of ecode." ) ); + mApp->i18n( "feature_not_supported_in_emscripten", + "This feature is only supported in the desktop version of ecode." ) ); msgBox->showWhenReady(); return nullptr; #else