Removed translation for bookmarks menu item name in TextEditor

Only the label's text needs a translation, and it could cause issues when getting the node by name in a different language.
This commit is contained in:
PouleyKetchoupp
2019-11-25 13:23:09 +01:00
parent 636bc5c32f
commit 8f0c1daf1c

View File

@ -713,7 +713,7 @@ TextEditor::TextEditor() {
goto_menu->get_popup()->add_separator(); goto_menu->get_popup()->add_separator();
bookmarks_menu = memnew(PopupMenu); bookmarks_menu = memnew(PopupMenu);
bookmarks_menu->set_name(TTR("Bookmarks")); bookmarks_menu->set_name("Bookmarks");
goto_menu->get_popup()->add_child(bookmarks_menu); goto_menu->get_popup()->add_child(bookmarks_menu);
goto_menu->get_popup()->add_submenu_item(TTR("Bookmarks"), "Bookmarks"); goto_menu->get_popup()->add_submenu_item(TTR("Bookmarks"), "Bookmarks");
_update_bookmark_list(); _update_bookmark_list();