diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-16 09:56:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 09:56:23 +0100 |
commit | d4601776db56df158753463b1e669c859b16bc42 (patch) | |
tree | 483a7080194a6f1d418b7ff73084942665d5bfc1 /modules | |
parent | 74977277fac258060b111b31ec57ed2fa8b63398 (diff) | |
parent | 7a9c337dfe42d415e6b8826595e2b64599171c98 (diff) |
Merge pull request #34377 from timothyqiu/i18n
Makes more strings in editor translatable
Diffstat (limited to 'modules')
-rw-r--r-- | modules/visual_script/visual_script_editor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp index bf353d287f..1ea3a7386c 100644 --- a/modules/visual_script/visual_script_editor.cpp +++ b/modules/visual_script/visual_script_editor.cpp @@ -4756,7 +4756,7 @@ VisualScriptEditor::VisualScriptEditor() { HBoxContainer *graph_hbc = graph->get_zoom_hbox(); Label *base_lbl = memnew(Label); - base_lbl->set_text("Change Base Type: "); + base_lbl->set_text(TTR("Change Base Type:") + " "); graph_hbc->add_child(base_lbl); base_type_select = memnew(Button); @@ -4764,12 +4764,12 @@ VisualScriptEditor::VisualScriptEditor() { graph_hbc->add_child(base_type_select); Button *add_nds = memnew(Button); - add_nds->set_text("Add Nodes..."); + add_nds->set_text(TTR("Add Nodes...")); graph_hbc->add_child(add_nds); add_nds->connect("pressed", this, "_add_node_dialog"); Button *fn_btn = memnew(Button); - fn_btn->set_text("Add Function..."); + fn_btn->set_text(TTR("Add Function...")); graph_hbc->add_child(fn_btn); fn_btn->connect("pressed", this, "_create_function_dialog"); |