summaryrefslogtreecommitdiff
path: root/tools/editor/code_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-05-21 11:34:19 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-05-21 11:34:19 +0200
commit436debb0450baffc44956523b8277ecf1a477b7a (patch)
tree7da06093df103b151358db1f4b1395aeef67df15 /tools/editor/code_editor.cpp
parent2b29e7ba6ff20f81dc512c14fbb0153d1ef6a201 (diff)
parent00d8f8604476b525869787f0962bf41b4b591061 (diff)
Merge pull request #4733 from akien-mga/pr-i18n-proofreading
i18n: Proofreading of all strings
Diffstat (limited to 'tools/editor/code_editor.cpp')
-rw-r--r--tools/editor/code_editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/code_editor.cpp b/tools/editor/code_editor.cpp
index 970a0477c1..24c763a58f 100644
--- a/tools/editor/code_editor.cpp
+++ b/tools/editor/code_editor.cpp
@@ -216,7 +216,7 @@ void FindReplaceDialog::_replace() {
text_edit->set_v_scroll(vsval);
// text_edit->set_h_scroll(hsval);
- error_label->set_text(TTR("Replaced ")+itos(rc)+TTR(" ocurrence(s)."));
+ error_label->set_text(vformat(TTR("Replaced %i ocurrence(s)."),rc));
//hide();
@@ -274,7 +274,7 @@ bool FindReplaceDialog::_search() {
return true;
} else {
- set_error(TTR("Not Found!"));
+ set_error(TTR("Not found!"));
return false;
}
@@ -498,7 +498,7 @@ FindReplaceDialog::FindReplaceDialog() {
void CodeTextEditor::_line_col_changed() {
- String text = String()+TTR("Line: ")+itos(text_editor->cursor_get_line()+1)+TTR(", Col: ")+itos(text_editor->cursor_get_column());
+ String text = String()+TTR("Line:")+" "+itos(text_editor->cursor_get_line()+1)+", "+TTR("Col:")+" "+itos(text_editor->cursor_get_column());
line_col->set_text(text);
}