From 94c34ff8906935cf0a9ef5ad82c6755ee21bbd07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 19 May 2016 00:08:12 +0200 Subject: 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. --- tools/editor/plugins/sprite_frames_editor_plugin.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools/editor/plugins/sprite_frames_editor_plugin.cpp') diff --git a/tools/editor/plugins/sprite_frames_editor_plugin.cpp b/tools/editor/plugins/sprite_frames_editor_plugin.cpp index b2f10ccaae..abd316ff30 100644 --- a/tools/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/tools/editor/plugins/sprite_frames_editor_plugin.cpp @@ -333,11 +333,11 @@ void SpriteFramesEditor::_delete_pressed() { _delete_confirm_pressed(); //it has undo.. why bother with a dialog.. /* - dialog->set_title(TTR("Confirm...")); - dialog->set_text(TTR("Remove Resource '")+tree->get_selected()->get_text(0)+"' ?"); - //dialog->get_cancel()->set_text(TTR("Cancel")); + dialog->set_title("Confirm..."); + dialog->set_text("Remove Resource '"+tree->get_selected()->get_text(0)+"' ?"); + //dialog->get_cancel()->set_text("Cancel"); //dialog->get_ok()->show(); - dialog->get_ok()->set_text(TTR("Remove")); + dialog->get_ok()->set_text("Remove"); dialog->popup_centered(Size2(300,60));*/ } @@ -530,7 +530,7 @@ void SpriteFramesEditor::_update_library(bool p_skip_selector) { if (frames->get_frame(edited_anim,i).is_null()) { - name=itos(i)+TTR(": (empty)"); + name=itos(i)+": "+TTR("(empty)"); } else { name=itos(i)+": "+frames->get_frame(edited_anim,i)->get_name(); -- cgit v1.2.3 From 00d8f8604476b525869787f0962bf41b4b591061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 21 May 2016 01:18:35 +0200 Subject: i18n: Second pass at proofreading Mostly removing commented out strings, plus a few critical ones that should not be translated. --- tools/editor/plugins/sprite_frames_editor_plugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/editor/plugins/sprite_frames_editor_plugin.cpp') diff --git a/tools/editor/plugins/sprite_frames_editor_plugin.cpp b/tools/editor/plugins/sprite_frames_editor_plugin.cpp index abd316ff30..4532e91e1f 100644 --- a/tools/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/tools/editor/plugins/sprite_frames_editor_plugin.cpp @@ -78,7 +78,7 @@ void SpriteFramesEditor::_file_load_request(const DVector& p_path,int p_ if (resource.is_null()) { dialog->set_text(TTR("ERROR: Couldn't load frame resource!")); dialog->set_title(TTR("Error!")); - //dialog->get_cancel()->set_text(TTR("Close")); + //dialog->get_cancel()->set_text("Close"); dialog->get_ok()->set_text(TTR("Close")); dialog->popup_centered_minsize(); return; ///beh should show an error i guess @@ -152,7 +152,7 @@ void SpriteFramesEditor::_item_edited() { } RES samp = frames->get_resource(old_name); - undo_redo->create_action(TTR("Rename Resource")); + undo_redo->create_action("Rename Resource"); undo_redo->add_do_method(frames,"remove_resource",old_name); undo_redo->add_do_method(frames,"add_resource",new_name,samp); undo_redo->add_undo_method(frames,"remove_resource",new_name); @@ -198,7 +198,7 @@ void SpriteFramesEditor::_paste_pressed() { if (!r.is_valid()) { dialog->set_text(TTR("Resource clipboard is empty or not a texture!")); dialog->set_title(TTR("Error!")); - //dialog->get_cancel()->set_text(TTR("Close")); + //dialog->get_cancel()->set_text("Close"); dialog->get_ok()->set_text(TTR("Close")); dialog->popup_centered_minsize(); return; ///beh should show an error i guess -- cgit v1.2.3