You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Makes more strings in editor translatable
* File type names in file dialogs * Layout option names * Visual shader editor UI
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user