You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Fixed Tileset editor button having the wrong text and not being translatable.
This commit is contained in:
@@ -244,7 +244,7 @@ TileSetEditor::TileSetEditor(EditorNode *p_editor) {
|
|||||||
MenuButton *options = memnew(MenuButton);
|
MenuButton *options = memnew(MenuButton);
|
||||||
panel->add_child(options);
|
panel->add_child(options);
|
||||||
options->set_position(Point2(1, 1));
|
options->set_position(Point2(1, 1));
|
||||||
options->set_text("Theme");
|
options->set_text(TTR("Tile Set"));
|
||||||
options->get_popup()->add_item(TTR("Add Item"), MENU_OPTION_ADD_ITEM);
|
options->get_popup()->add_item(TTR("Add Item"), MENU_OPTION_ADD_ITEM);
|
||||||
options->get_popup()->add_item(TTR("Remove Item"), MENU_OPTION_REMOVE_ITEM);
|
options->get_popup()->add_item(TTR("Remove Item"), MENU_OPTION_REMOVE_ITEM);
|
||||||
options->get_popup()->add_separator();
|
options->get_popup()->add_separator();
|
||||||
|
|||||||
Reference in New Issue
Block a user