Split repeated translation for floating windows

This commit is contained in:
kobewi 2025-02-11 14:51:09 +01:00
parent 172fc62c80
commit 3448fe6c71
3 changed files with 3 additions and 3 deletions

View file

@ -4398,7 +4398,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
make_floating->connect("request_open_in_screen", callable_mp(window_wrapper, &WindowWrapper::enable_window_on_screen).bind(true));
if (!make_floating->is_disabled()) {
// Override default ScreenSelect tooltip if multi-window support is available.
make_floating->set_tooltip_text(TTR("Make the script editor floating.\nRight-click to open the screen selector."));
make_floating->set_tooltip_text(TTR("Make the script editor floating.") + "\n" + TTR("Right-click to open the screen selector."));
}
menu_hb->add_child(make_floating);