diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-21 14:41:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-21 14:41:18 +0100 |
commit | 78f1513928bd5a683f0a0b40d4a4fec42fb1d4f3 (patch) | |
tree | 7e1818e14fc96569d969437cf1e3cbfa35f12479 /modules | |
parent | 0b776ebbe4105c5ef3b1c6314157f76be58227b7 (diff) | |
parent | 0693718164bcb5875af9211713bfa7c4cce86d58 (diff) |
Merge pull request #34508 from timothyqiu/i18n
Makes more editor strings translatable
Diffstat (limited to 'modules')
-rw-r--r-- | modules/visual_script/visual_script_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp index 70f421a80a..13b645732e 100644 --- a/modules/visual_script/visual_script_editor.cpp +++ b/modules/visual_script/visual_script_editor.cpp @@ -572,7 +572,7 @@ void VisualScriptEditor::_update_graph(int p_only_id) { if (nd_list->is_input_port_editable()) { has_gnode_text = true; Button *btn = memnew(Button); - btn->set_text("Add Input Port"); + btn->set_text(TTR("Add Input Port")); hbnc->add_child(btn); btn->connect("pressed", this, "_add_input_port", varray(E->get())); } @@ -581,7 +581,7 @@ void VisualScriptEditor::_update_graph(int p_only_id) { hbnc->add_spacer(); has_gnode_text = true; Button *btn = memnew(Button); - btn->set_text("Add Output Port"); + btn->set_text(TTR("Add Output Port")); hbnc->add_child(btn); btn->connect("pressed", this, "_add_output_port", varray(E->get())); } |