Skip to content

Commit 59f558c

Browse files
committed
Split repeated translation in Game plugin
1 parent 261e7d3 commit 59f558c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

editor/plugins/game_view_plugin.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,13 +482,13 @@ void GameView::_update_ui() {
482482
state_label->set_text(TTR("Game embedding not available on your OS."));
483483
break;
484484
case EMBED_NOT_AVAILABLE_MINIMIZED:
485-
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."));
485+
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."));
486486
break;
487487
case EMBED_NOT_AVAILABLE_MAXIMIZED:
488-
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."));
488+
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."));
489489
break;
490490
case EMBED_NOT_AVAILABLE_FULLSCREEN:
491-
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."));
491+
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."));
492492
break;
493493
case EMBED_NOT_AVAILABLE_SINGLE_WINDOW_MODE:
494494
state_label->set_text(TTR("Game embedding not available in single window mode."));

0 commit comments

Comments
 (0)