summaryrefslogtreecommitdiff
path: root/tools/editor/create_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/create_dialog.cpp')
-rw-r--r--tools/editor/create_dialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/editor/create_dialog.cpp b/tools/editor/create_dialog.cpp
index c156b1b2de..151208ace0 100644
--- a/tools/editor/create_dialog.cpp
+++ b/tools/editor/create_dialog.cpp
@@ -251,7 +251,7 @@ void CreateDialog::_notification(int p_what) {
void CreateDialog::set_base_type(const String& p_base) {
base_type=p_base;
- set_title(TTR("Create New ")+p_base);
+ set_title(TTR("Create New")+" "+p_base);
_update_search();
}
@@ -541,7 +541,7 @@ void CreateDialog::_bind_methods() {
void CreateDialog::set_base_type(const String& p_base) {
- set_title(TTR("Create ")+p_base+" Type");
+ set_title(vformat("Create %s Type",p_base));
if (base==p_base)
return;
@@ -562,14 +562,14 @@ CreateDialog::CreateDialog() {
add_child(vbc);
set_child_rect(vbc);
- get_ok()->set_text(TTR("Create"));
+ get_ok()->set_text("Create");
tree = memnew( Tree );
- vbc->add_margin_child(TTR("Type:"),tree,true);
+ vbc->add_margin_child("Type:",tree,true);
//tree->set_hide_root(true);
filter = memnew( LineEdit );
- vbc->add_margin_child(TTR("Filter:"),filter);
+ vbc->add_margin_child("Filter:",filter);
base="Node";
set_as_toplevel(true);