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.
This commit is contained in:
parent
bc8df8feaa
commit
94c34ff890
66 changed files with 427 additions and 425 deletions
|
|
@ -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?"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue