From 09b6466e1414d75c9497a6af4c4eb37d4358a777 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Mon, 11 Nov 2024 15:54:11 +0800 Subject: [PATCH] Translate the name of the debugger session tabs --- editor/debugger/editor_debugger_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/debugger/editor_debugger_node.cpp b/editor/debugger/editor_debugger_node.cpp index 0f948b4ed591..7bb42378a2db 100644 --- a/editor/debugger/editor_debugger_node.cpp +++ b/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);