Skip to content

Commit

Permalink
Merge pull request #78938 from timothyqiu/no-match
Browse files Browse the repository at this point in the history
Translate "No match" message in FindReplaceBar
  • Loading branch information
akien-mga committed Jul 7, 2023
2 parents 5ee36d1 + ac454ce commit 3049f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/code_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void FindReplaceBar::_update_matches_label() {
matches_label->add_theme_color_override("font_color", results_count > 0 ? get_theme_color(SNAME("font_color"), SNAME("Label")) : get_theme_color(SNAME("error_color"), SNAME("Editor")));

if (results_count == 0) {
matches_label->set_text("No match");
matches_label->set_text(TTR("No match"));
} else if (results_count_to_current == -1) {
matches_label->set_text(vformat(TTRN("%d match", "%d matches", results_count), results_count));
} else {
Expand Down

0 comments on commit 3049f33

Please sign in to comment.