diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-23 12:36:44 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-23 12:36:44 +0200 |
commit | 9ab388c146895cfacf87d09d28c148e186f348b6 (patch) | |
tree | a9a51d38acc404151602e58b9a6cb5a47a673403 /editor/plugins | |
parent | 75f5e003de35f784f7527333e5903c9c3b55ec63 (diff) | |
parent | 44bec97d5ea354458c1a48f3d7a03263b05fa8c1 (diff) | |
download | redot-engine-9ab388c146895cfacf87d09d28c148e186f348b6.tar.gz |
Merge pull request #78609 from KoBeWi/—GodotEngine
Unify window title format
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 | ||||
-rw-r--r-- | editor/plugins/shader_editor_plugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index c23a96bede..1d449d79a6 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -4259,7 +4259,7 @@ void ScriptEditorPlugin::edited_scene_changed() { ScriptEditorPlugin::ScriptEditorPlugin() { window_wrapper = memnew(WindowWrapper); - window_wrapper->set_window_title(TTR("Script Editor - Godot Engine")); + window_wrapper->set_window_title(vformat(TTR("%s - Godot Engine"), TTR("Script Editor"))); window_wrapper->set_margins_enabled(true); script_editor = memnew(ScriptEditor(window_wrapper)); diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index 3290e57213..3c576a5acb 100644 --- a/editor/plugins/shader_editor_plugin.cpp +++ b/editor/plugins/shader_editor_plugin.cpp @@ -559,7 +559,7 @@ void ShaderEditorPlugin::_notification(int p_what) { ShaderEditorPlugin::ShaderEditorPlugin() { window_wrapper = memnew(WindowWrapper); - window_wrapper->set_window_title(TTR("Shader Editor - Godot Engine")); + window_wrapper->set_window_title(vformat(TTR("%s - Godot Engine"), TTR("Shader Editor"))); window_wrapper->set_margins_enabled(true); main_split = memnew(HSplitContainer); |