1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Modified editor strings to be translatable in the future

This commit is contained in:
Juan Linietsky
2016-05-03 22:25:37 -03:00
parent c7e8def446
commit 567cb691ec
96 changed files with 2135 additions and 2103 deletions

View File

@@ -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;
}