summaryrefslogtreecommitdiff
path: root/editor/editor_log.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-20 09:45:17 +0200
committerGitHub <noreply@github.com>2021-07-20 09:45:17 +0200
commit87d8927ab026f8c66e71ca04d57c497f8d5d8b89 (patch)
tree116f76a15b4f4e372c193c2ba4906b3cd7ccbcbc /editor/editor_log.cpp
parent2f060df059711a9d89f7ab2796f35f3c32d609d0 (diff)
parent42d740d641a868fca3de69e5ebe158c9f63dafce (diff)
Merge pull request #50624 from foxydevloper/translate-more-strings
Make various strings translatable
Diffstat (limited to 'editor/editor_log.cpp')
-rw-r--r--editor/editor_log.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp
index b64cc3f31c..6de7f6c425 100644
--- a/editor/editor_log.cpp
+++ b/editor/editor_log.cpp
@@ -398,22 +398,22 @@ EditorLog::EditorLog() {
vb_right->add_child(memnew(HSeparator));
LogFilter *std_filter = memnew(LogFilter(MSG_TYPE_STD));
- std_filter->initialize_button("Toggle visibility of standard output messages.", callable_mp(this, &EditorLog::_set_filter_active));
+ std_filter->initialize_button(TTR("Toggle visibility of standard output messages."), callable_mp(this, &EditorLog::_set_filter_active));
vb_right->add_child(std_filter->toggle_button);
type_filter_map.insert(MSG_TYPE_STD, std_filter);
LogFilter *error_filter = memnew(LogFilter(MSG_TYPE_ERROR));
- error_filter->initialize_button("Toggle visibility of errors.", callable_mp(this, &EditorLog::_set_filter_active));
+ error_filter->initialize_button(TTR("Toggle visibility of errors."), callable_mp(this, &EditorLog::_set_filter_active));
vb_right->add_child(error_filter->toggle_button);
type_filter_map.insert(MSG_TYPE_ERROR, error_filter);
LogFilter *warning_filter = memnew(LogFilter(MSG_TYPE_WARNING));
- warning_filter->initialize_button("Toggle visibility of warnings.", callable_mp(this, &EditorLog::_set_filter_active));
+ warning_filter->initialize_button(TTR("Toggle visibility of warnings."), callable_mp(this, &EditorLog::_set_filter_active));
vb_right->add_child(warning_filter->toggle_button);
type_filter_map.insert(MSG_TYPE_WARNING, warning_filter);
LogFilter *editor_filter = memnew(LogFilter(MSG_TYPE_EDITOR));
- editor_filter->initialize_button("Toggle visibility of editor messages.", callable_mp(this, &EditorLog::_set_filter_active));
+ editor_filter->initialize_button(TTR("Toggle visibility of editor messages."), callable_mp(this, &EditorLog::_set_filter_active));
vb_right->add_child(editor_filter->toggle_button);
type_filter_map.insert(MSG_TYPE_EDITOR, editor_filter);