summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-04-11 11:58:49 +0200
committerGitHub <noreply@github.com>2022-04-11 11:58:49 +0200
commit8e1d551f035d59fabd612b649d514b5253a6eeb5 (patch)
tree2224e6bb44d877b742bf0e5d3b67871b2b5e1168
parent831dc74b1fd882c671f589ed895024203a74e0aa (diff)
parent35d087813981d05a699221f6bc7e5c72fc55c665 (diff)
Merge pull request #60129 from timothyqiu/title-unnamed
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index a80c7853f5..9ad518d771 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -416,7 +416,7 @@ void EditorNode::_version_control_menu_option(int p_idx) {
void EditorNode::_update_title() {
const String appname = ProjectSettings::get_singleton()->get("application/config/name");
- String title = (appname.is_empty() ? "Unnamed Project" : appname) + String(" - ") + VERSION_NAME;
+ String title = (appname.is_empty() ? TTR("Unnamed Project") : appname) + String(" - ") + VERSION_NAME;
const String edited = editor_data.get_edited_scene_root() ? editor_data.get_edited_scene_root()->get_scene_file_path() : String();
if (!edited.is_empty()) {
// Display the edited scene name before the program name so that it can be seen in the OS task bar.