diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-06-28 08:07:19 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-06-28 08:07:19 +0200 |
commit | 519086af60a284f93374b6b3bf3d21fe75bce921 (patch) | |
tree | 3ab03d7fde61cc256f791b17e7eb40d5a9d40811 | |
parent | bd424d8f734fdad261953142451e412db60b4543 (diff) |
i18n: Fix malformed TTR call
-rw-r--r-- | tools/editor/editor_node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 962993a5d0..bffae61c8d 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -1867,7 +1867,7 @@ void EditorNode::_run(bool p_current,const String& p_custom) { current_option=-1; //accept->get_cancel()->hide(); - pick_main_scene->set_text(TTR("Selected scene '"+run_filename+"' does not exist, select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category.")); + pick_main_scene->set_text(vformat(TTR("Selected scene '%s' does not exist, select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category."), run_filename)); pick_main_scene->popup_centered_minsize(); return; @@ -1877,7 +1877,7 @@ void EditorNode::_run(bool p_current,const String& p_custom) { current_option=-1; //accept->get_cancel()->hide(); - pick_main_scene->set_text(TTR("Selected scene '"+run_filename+"' is not a scene file, select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category.")); + pick_main_scene->set_text(vformat(TTR("Selected scene '%s' is not a scene file, select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category."), run_filename)); pick_main_scene->popup_centered_minsize(); return; |