浏览代码

Merge pull request #14603 from YeldhamDev/tileset_button

Fixed Tileset editor button having the wrong text and not being translatable
Noshyaar 7 年之前
父节点
当前提交
c68b031b05
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/plugins/tile_set_editor_plugin.cpp

+ 1 - 1
editor/plugins/tile_set_editor_plugin.cpp

@@ -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();