You've already forked godot
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user