1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Cleanup accessibility names.

This commit is contained in:
Pāvels Nadtočajevs
2025-06-12 07:55:29 +03:00
parent 242b8ff80a
commit a272376f89
97 changed files with 188 additions and 440 deletions

View File

@@ -501,7 +501,7 @@ GroupSettingsEditor::GroupSettingsEditor() {
group_name = memnew(LineEdit);
group_name->set_h_size_flags(SIZE_EXPAND_FILL);
group_name->set_clear_button_enabled(true);
group_name->set_accessibility_name(TTRC("Group Name"));
group_name->set_accessibility_name(TTRC("Name:"));
group_name->connect(SceneStringName(text_changed), callable_mp(this, &GroupSettingsEditor::_group_name_text_changed));
group_name->connect(SceneStringName(text_submitted), callable_mp(this, &GroupSettingsEditor::_text_submitted));
hbc->add_child(group_name);
@@ -512,7 +512,7 @@ GroupSettingsEditor::GroupSettingsEditor() {
group_description = memnew(LineEdit);
group_description->set_clear_button_enabled(true);
group_description->set_accessibility_name(TTRC("Group Description"));
group_description->set_accessibility_name(TTRC("Description:"));
group_description->set_h_size_flags(SIZE_EXPAND_FILL);
group_description->connect(SceneStringName(text_submitted), callable_mp(this, &GroupSettingsEditor::_text_submitted));
hbc->add_child(group_description);