Merge pull request #14603 from YeldhamDev/tileset_button

Fixed Tileset editor button having the wrong text and not being translatable
This commit is contained in:
Noshyaar 2017-12-13 11:11:28 +07:00 committed by GitHub
commit c68b031b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -244,7 +244,7 @@ TileSetEditor::TileSetEditor(EditorNode *p_editor) {
MenuButton *options = memnew(MenuButton);
panel->add_child(options);
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("Remove Item"), MENU_OPTION_REMOVE_ITEM);
options->get_popup()->add_separator();