From 59f558c8a57e189a7db72d0ba46d80daf8c9b2bf Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 10 Feb 2025 18:45:30 +0100 Subject: [PATCH] Split repeated translation in Game plugin --- editor/plugins/game_view_plugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/plugins/game_view_plugin.cpp b/editor/plugins/game_view_plugin.cpp index 3b8a91c5fc3..4d37ea2d5ef 100644 --- a/editor/plugins/game_view_plugin.cpp +++ b/editor/plugins/game_view_plugin.cpp @@ -482,13 +482,13 @@ void GameView::_update_ui() { state_label->set_text(TTR("Game embedding not available on your OS.")); break; case EMBED_NOT_AVAILABLE_MINIMIZED: - state_label->set_text(TTR("Game embedding not available when the game starts minimized.\nConsider overriding the window mode project setting with the editor feature tag to Windowed to use game embedding while leaving the exported project intact.")); + state_label->set_text(TTR("Game embedding not available when the game starts minimized.") + "\n" + TTR("Consider overriding the window mode project setting with the editor feature tag to Windowed to use game embedding while leaving the exported project intact.")); break; case EMBED_NOT_AVAILABLE_MAXIMIZED: - state_label->set_text(TTR("Game embedding not available when the game starts maximized.\nConsider overriding the window mode project setting with the editor feature tag to Windowed to use game embedding while leaving the exported project intact.")); + state_label->set_text(TTR("Game embedding not available when the game starts maximized.") + "\n" + TTR("Consider overriding the window mode project setting with the editor feature tag to Windowed to use game embedding while leaving the exported project intact.")); break; case EMBED_NOT_AVAILABLE_FULLSCREEN: - state_label->set_text(TTR("Game embedding not available when the game starts in fullscreen.\nConsider overriding the window mode project setting with the editor feature tag to Windowed to use game embedding while leaving the exported project intact.")); + state_label->set_text(TTR("Game embedding not available when the game starts in fullscreen.") + "\n" + TTR("Consider overriding the window mode project setting with the editor feature tag to Windowed to use game embedding while leaving the exported project intact.")); break; case EMBED_NOT_AVAILABLE_SINGLE_WINDOW_MODE: state_label->set_text(TTR("Game embedding not available in single window mode."));