You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Cleanup accessibility names.
This commit is contained in:
@@ -925,7 +925,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
||||
HBoxContainer *name_hbc = memnew(HBoxContainer);
|
||||
current_profile_name = memnew(LineEdit);
|
||||
name_hbc->add_child(current_profile_name);
|
||||
current_profile_name->set_accessibility_name(TTRC("Current Profile"));
|
||||
current_profile_name->set_accessibility_name(TTRC("Current Profile:"));
|
||||
current_profile_name->set_text(TTR("(none)"));
|
||||
current_profile_name->set_editable(false);
|
||||
current_profile_name->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
@@ -940,7 +940,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
||||
|
||||
HBoxContainer *profiles_hbc = memnew(HBoxContainer);
|
||||
profile_list = memnew(OptionButton);
|
||||
profile_list->set_accessibility_name(TTRC("Profiles"));
|
||||
profile_list->set_accessibility_name(TTRC("Available Profiles:"));
|
||||
profile_list->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
profile_list->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
|
||||
profiles_hbc->add_child(profile_list);
|
||||
@@ -1034,7 +1034,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
||||
new_profile_name = memnew(LineEdit);
|
||||
new_profile_vb->add_child(new_profile_name);
|
||||
new_profile_name->set_custom_minimum_size(Size2(300 * EDSCALE, 1));
|
||||
new_profile_name->set_accessibility_name(TTRC("Profile Name"));
|
||||
new_profile_name->set_accessibility_name(TTRC("New profile name:"));
|
||||
add_child(new_profile_dialog);
|
||||
new_profile_dialog->connect(SceneStringName(confirmed), callable_mp(this, &EditorFeatureProfileManager::_create_new_profile));
|
||||
new_profile_dialog->register_text_enter(new_profile_name);
|
||||
|
||||
Reference in New Issue
Block a user