Merge pull request #78609 from KoBeWi/—GodotEngine

Unify window title format
This commit is contained in:
Rémi Verschelde 2023-06-23 12:36:44 +02:00
commit 9ab388c146
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 2 additions and 2 deletions

View file

@ -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));

View file

@ -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);