Unify window title format
This commit is contained in:
parent
fd31dc7f32
commit
44bec97d5e
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue