Cleanup accessibility names.

This commit is contained in:
Pāvels Nadtočajevs 2025-06-12 07:55:29 +03:00
parent 242b8ff80a
commit a272376f89
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
97 changed files with 188 additions and 440 deletions

View file

@ -4195,7 +4195,6 @@ FileSystemDock::FileSystemDock() {
button_hist_prev->set_disabled(true);
button_hist_prev->set_focus_mode(FOCUS_ACCESSIBILITY);
button_hist_prev->set_tooltip_text(TTRC("Go to previous selected folder/file."));
button_hist_prev->set_accessibility_name(TTRC("Previous"));
nav_hbc->add_child(button_hist_prev);
button_hist_next = memnew(Button);
@ -4203,7 +4202,6 @@ FileSystemDock::FileSystemDock() {
button_hist_next->set_disabled(true);
button_hist_next->set_focus_mode(FOCUS_ACCESSIBILITY);
button_hist_next->set_tooltip_text(TTRC("Go to next selected folder/file."));
button_hist_next->set_accessibility_name(TTRC("Next"));
nav_hbc->add_child(button_hist_next);
current_path_line_edit = memnew(LineEdit);
@ -4217,7 +4215,6 @@ FileSystemDock::FileSystemDock() {
button_toggle_display_mode->connect(SceneStringName(pressed), callable_mp(this, &FileSystemDock::_change_split_mode));
button_toggle_display_mode->set_focus_mode(FOCUS_ACCESSIBILITY);
button_toggle_display_mode->set_tooltip_text(TTRC("Change Split Mode"));
button_toggle_display_mode->set_accessibility_name(TTRC("Change Split Mode"));
button_toggle_display_mode->set_theme_type_variation("FlatMenuButton");
toolbar_hbc->add_child(button_toggle_display_mode);
@ -4234,7 +4231,6 @@ FileSystemDock::FileSystemDock() {
tree_search_box = memnew(LineEdit);
tree_search_box->set_h_size_flags(SIZE_EXPAND_FILL);
tree_search_box->set_placeholder(TTRC("Filter Files"));
tree_search_box->set_accessibility_name(TTRC("Filter Files"));
tree_search_box->set_clear_button_enabled(true);
tree_search_box->connect(SceneStringName(text_changed), callable_mp(this, &FileSystemDock::_search_changed).bind(tree_search_box));
toolbar2_hbc->add_child(tree_search_box);