소스 검색

Merge pull request #99054 from timothyqiu/session-names

Translate the name of the debugger session tabs
Thaddeus Crews 9 달 전
부모
커밋
0c45ace151
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
 
-	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) {
 		node->clear_style();
 		tabs->set_tabs_visible(true);