summaryrefslogtreecommitdiff
path: root/tools/editor/quick_open.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-05-03 22:25:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-05-03 22:25:37 -0300
commit567cb691ec49844101247bb9dc34bc2722f6af4f (patch)
treecaa577fdc22feec8869e66b32be34db0c90f8aa8 /tools/editor/quick_open.cpp
parentc7e8def44696da9ddf0b459e166280668c84c4cb (diff)
Modified editor strings to be translatable in the future
Diffstat (limited to 'tools/editor/quick_open.cpp')
-rw-r--r--tools/editor/quick_open.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/quick_open.cpp b/tools/editor/quick_open.cpp
index 828275340b..72059c264f 100644
--- a/tools/editor/quick_open.cpp
+++ b/tools/editor/quick_open.cpp
@@ -216,12 +216,12 @@ EditorQuickOpen::EditorQuickOpen() {
add_child(vbc);
set_child_rect(vbc);
search_box = memnew( LineEdit );
- vbc->add_margin_child("Search:",search_box);
+ vbc->add_margin_child(TTR("Search:"),search_box);
search_box->connect("text_changed",this,"_text_changed");
search_box->connect("input_event",this,"_sbox_input");
search_options = memnew( Tree );
- vbc->add_margin_child("Matches:",search_options,true);
- get_ok()->set_text("Open");
+ vbc->add_margin_child(TTR("Matches:"),search_options,true);
+ get_ok()->set_text(TTR("Open"));
get_ok()->set_disabled(true);
register_text_enter(search_box);
set_hide_on_ok(false);