mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 03:04:31 +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:
parent
d8d96c9fa7
commit
7a9c337dfe
7 changed files with 45 additions and 45 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue