diff options
| author | Rémi Verschelde | 2016-05-19 00:08:12 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-05-21 00:21:57 +0200 |
| commit | 94c34ff8906935cf0a9ef5ad82c6755ee21bbd07 (patch) | |
| tree | 91e569002a8b8fcfcd2c8d6ee5f1d5fa1d02f93e /tools/editor/editor_run_script.cpp | |
| parent | bc8df8feaafd4e9ce0daa383f772ff111073c672 (diff) | |
| download | godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.tar.gz godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.tar.zst godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.zip | |
i18n: Proofreading of all strings
Done to ensure that no important identifiers are translatable,
to fix compound strings using the new vformat() function, and
some general English proofreading here and there.
Diffstat (limited to 'tools/editor/editor_run_script.cpp')
| -rw-r--r-- | tools/editor/editor_run_script.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/editor/editor_run_script.cpp b/tools/editor/editor_run_script.cpp index 65aaf3d73..d34cac153 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(TTR("EditorScript::add_root_node : Write your logic in the _run() method.")); + EditorNode::add_io_error("EditorScript::add_root_node: "+TTR("Write your logic in the _run() method.")); return; } if (editor->get_edited_scene()) { - EditorNode::add_io_error(TTR("EditorScript::add_root_node : There is an edited scene already.")); + EditorNode::add_io_error("EditorScript::add_root_node: "+TTR("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(TTR("EditorScript::get_scene : Write your logic in the _run() method.")); + EditorNode::add_io_error("EditorScript::get_scene: "+TTR("Write your logic in the _run() method.")); return NULL; } @@ -36,7 +36,7 @@ void EditorScript::_run() { Ref<Script> s = get_script(); ERR_FAIL_COND(!s.is_valid()); if (!get_script_instance()) { - EditorNode::add_io_error("Couldn't instance script:\n "+s->get_path()+"\nDid you forget the 'tool' keyword?"); + EditorNode::add_io_error(TTR("Couldn't instance script:")+"\n "+s->get_path()+"\n"+TTR("Did you forget the 'tool' keyword?")); return; } @@ -46,7 +46,7 @@ void EditorScript::_run() { get_script_instance()->call("_run",NULL,0,ce); if (ce.error!=Variant::CallError::CALL_OK) { - EditorNode::add_io_error("Couldn't run script:\n "+s->get_path()+"\nDid you forget the '_run' method?"); + EditorNode::add_io_error(TTR("Couldn't run script:")+"\n "+s->get_path()+"\n"+TTR("Did you forget the '_run' method?")); } } |
