aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_run_script.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-05-03 22:25:37 -0300
committerJuan Linietsky2016-05-03 22:25:37 -0300
commit567cb691ec49844101247bb9dc34bc2722f6af4f (patch)
treecaa577fdc22feec8869e66b32be34db0c90f8aa8 /tools/editor/editor_run_script.cpp
parentc7e8def44696da9ddf0b459e166280668c84c4cb (diff)
downloadgodot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.gz
godot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.zst
godot-567cb691ec49844101247bb9dc34bc2722f6af4f.zip
Modified editor strings to be translatable in the future
Diffstat (limited to 'tools/editor/editor_run_script.cpp')
-rw-r--r--tools/editor/editor_run_script.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}