diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-07-07 08:31:20 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-07-07 08:31:20 +0200 |
| commit | 3049f334950ace44d9e15e6681cb266636f30980 (patch) | |
| tree | 2c1e192900d9f71b708092675ee22d8e99100dc2 | |
| parent | 5ee36d119f5fa95ceb3520a1f2f530622294e432 (diff) | |
| parent | ac454ce2a75fb4a10ea23681d450e4d7605ba050 (diff) | |
| download | redot-engine-3049f334950ace44d9e15e6681cb266636f30980.tar.gz | |
Merge pull request #78938 from timothyqiu/no-match
Translate "No match" message in FindReplaceBar
| -rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index b48bd4ab5f..70fd738019 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -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 { |
