diff options
| author | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-07-02 16:48:37 +0800 |
|---|---|---|
| committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-07-02 16:49:22 +0800 |
| commit | ac454ce2a75fb4a10ea23681d450e4d7605ba050 (patch) | |
| tree | b3bc4cb52576be7c71935a306bb0f7b49fcac4ce | |
| parent | 46424488edc341b65467ee7fd3ac423e4d49ad34 (diff) | |
| download | redot-engine-ac454ce2a75fb4a10ea23681d450e4d7605ba050.tar.gz | |
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 { |
