You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Merge pull request #107656 from bruvzg/tlbl_clean
Cleanup accessibility names.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user