mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Makes more editor strings translatable
* "Add" button text in Groups Editor * "Receiver Method" in Connect Signal Dialog * "Play Mode" in Animation State Machine Editor * "Mesh Library" button text in Mesh Library editor plugin * Compose Array node button texts in Visual Script * Various button texts in TileSet Editor * Various Run Script errors
This commit is contained in:
parent
2019d8001d
commit
0693718164
8 changed files with 28 additions and 14 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue