Fix vformat(), minor typos and word puzzles

This commit is contained in:
Yuri Chornoivan 2018-08-28 21:15:04 +03:00
parent d42807371c
commit 06e73522dc
6 changed files with 11 additions and 11 deletions

View file

@ -191,10 +191,10 @@ void VisualScriptPropertySelector::_update_search() {
if (type_filter.size() && type_filter.find(E->get().type) == -1)
continue;
String get_text_raw = String(TTR("Get")) + String(" ") + E->get().name;
String get_text_raw = String(vformat(TTR("Get %s"), E->get().name));
String get_text = get_text_raw.capitalize();
String set_text_raw = String(TTR("Set ")) + String(" ") + E->get().name;
String set_text_raw = String(vformat(TTR("Set %s"), E->get().name));
String set_text = set_text_raw.capitalize();
String input = search_box->get_text().capitalize();
if (input == String() ||