From 567cb691ec49844101247bb9dc34bc2722f6af4f Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 3 May 2016 22:25:37 -0300 Subject: Modified editor strings to be translatable in the future --- tools/editor/editor_run_script.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/editor/editor_run_script.cpp') diff --git a/tools/editor/editor_run_script.cpp b/tools/editor/editor_run_script.cpp index 90581374f..65aaf3d73 100644 --- a/tools/editor/editor_run_script.cpp +++ b/tools/editor/editor_run_script.cpp @@ -9,12 +9,12 @@ void EditorScript::add_root_node(Node *p_node) { if (!editor) { - EditorNode::add_io_error("EditorScript::add_root_node : Write your logic in the _run() method."); + EditorNode::add_io_error(TTR("EditorScript::add_root_node : Write your logic in the _run() method.")); return; } if (editor->get_edited_scene()) { - EditorNode::add_io_error("EditorScript::add_root_node : There is an edited scene already."); + EditorNode::add_io_error(TTR("EditorScript::add_root_node : There is an edited scene already.")); return; } @@ -24,7 +24,7 @@ void EditorScript::add_root_node(Node *p_node) { Node *EditorScript::get_scene() { if (!editor) { - EditorNode::add_io_error("EditorScript::get_scene : Write your logic in the _run() method."); + EditorNode::add_io_error(TTR("EditorScript::get_scene : Write your logic in the _run() method.")); return NULL; } -- cgit v1.2.3-70-g09d2