diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-09-17 08:46:14 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-17 08:46:14 +0700 |
commit | cbcf2557644cd70092fcb890289806770a991929 (patch) | |
tree | b28ac981d540b2a8bab60ec0a9fd2dfb6d58e41f | |
parent | 7df94c69b213ae0fcc955bb8cf020fbeea14f986 (diff) | |
parent | 433da3ef2314662efbf11caa2b6fc60350e3a3d8 (diff) |
Merge pull request #11287 from sersoong/master
fix editor/property_editor.cpp missing TTR
-rw-r--r-- | editor/property_editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index c7a4e1fc3b..b7300b9610 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -861,13 +861,13 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant:: menu->add_separator(); } - menu->add_icon_item(get_icon("Load", "EditorIcons"), "Load", OBJ_MENU_LOAD); + menu->add_icon_item(get_icon("Load", "EditorIcons"), TTR("Load"), OBJ_MENU_LOAD); if (!RES(v).is_null()) { - menu->add_icon_item(get_icon("Edit", "EditorIcons"), "Edit", OBJ_MENU_EDIT); - menu->add_icon_item(get_icon("Clear", "EditorIcons"), "Clear", OBJ_MENU_CLEAR); - menu->add_icon_item(get_icon("Duplicate", "EditorIcons"), "Make Unique", OBJ_MENU_MAKE_UNIQUE); + menu->add_icon_item(get_icon("Edit", "EditorIcons"), TTR("Edit"), OBJ_MENU_EDIT); + menu->add_icon_item(get_icon("Clear", "EditorIcons"), TTR("Clear"), OBJ_MENU_CLEAR); + menu->add_icon_item(get_icon("Duplicate", "EditorIcons"), TTR("Make Unique"), OBJ_MENU_MAKE_UNIQUE); RES r = v; if (r.is_valid() && r->get_path().is_resource_file()) { menu->add_separator(); |