Browse Source

Merge pull request #99054 from timothyqiu/session-names

Translate the name of the debugger session tabs
Thaddeus Crews 8 months ago
parent
commit
0c45ace151
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/debugger/editor_debugger_node.cpp

+ 1 - 1
editor/debugger/editor_debugger_node.cpp

@@ -120,7 +120,7 @@ ScriptEditorDebugger *EditorDebuggerNode::_add_debugger() {
 
 
 	tabs->add_child(node);
 	tabs->add_child(node);
 
 
-	node->set_name("Session " + itos(tabs->get_tab_count()));
+	node->set_name(vformat(TTR("Session %d"), tabs->get_tab_count()));
 	if (tabs->get_tab_count() > 1) {
 	if (tabs->get_tab_count() > 1) {
 		node->clear_style();
 		node->clear_style();
 		tabs->set_tabs_visible(true);
 		tabs->set_tabs_visible(true);