mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge commit godotengine/godot@e1b4101e34
This commit is contained in:
@@ -977,7 +977,7 @@ ProjectDialog::ProjectDialog() {
|
||||
|
||||
project_path = memnew(LineEdit);
|
||||
project_path->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
project_path->set_accessibility_name(TTRC("Project Path"));
|
||||
project_path->set_accessibility_name(TTRC("Project Path:"));
|
||||
project_path->set_structured_text_bidi_override(TextServer::STRUCTURED_TEXT_FILE);
|
||||
pphb->add_child(project_path);
|
||||
|
||||
@@ -993,7 +993,7 @@ ProjectDialog::ProjectDialog() {
|
||||
|
||||
install_path = memnew(LineEdit);
|
||||
install_path->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
install_path->set_accessibility_name(TTRC("Install Path"));
|
||||
install_path->set_accessibility_name(TTRC("Project Installation Path:"));
|
||||
install_path->set_structured_text_bidi_override(TextServer::STRUCTURED_TEXT_FILE);
|
||||
iphb->add_child(install_path);
|
||||
|
||||
@@ -1130,7 +1130,7 @@ ProjectDialog::ProjectDialog() {
|
||||
vcs_metadata_selection->add_item(TTRC("None"), (int)EditorVCSInterface::VCSMetadata::NONE);
|
||||
vcs_metadata_selection->add_item(TTRC("Git"), (int)EditorVCSInterface::VCSMetadata::GIT);
|
||||
vcs_metadata_selection->select((int)EditorVCSInterface::VCSMetadata::GIT);
|
||||
vcs_metadata_selection->set_accessibility_name(TTRC("Version Control Metadata"));
|
||||
vcs_metadata_selection->set_accessibility_name(TTRC("Version Control Metadata:"));
|
||||
default_files_container->add_child(vcs_metadata_selection);
|
||||
Control *spacer = memnew(Control);
|
||||
spacer->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
|
||||
@@ -266,7 +266,6 @@ void ProjectListItemControl::set_unsupported_features(PackedStringArray p_featur
|
||||
}
|
||||
project_version->set_tooltip_text(tooltip_text);
|
||||
project_unsupported_features->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
project_unsupported_features->set_accessibility_name(tooltip_text);
|
||||
project_unsupported_features->set_tooltip_text(tooltip_text);
|
||||
project_unsupported_features->show();
|
||||
} else {
|
||||
@@ -334,7 +333,6 @@ ProjectListItemControl::ProjectListItemControl() {
|
||||
favorite_button = memnew(TextureButton);
|
||||
favorite_button->set_name("FavoriteButton");
|
||||
favorite_button->set_tooltip_text(TTRC("Add to favorites"));
|
||||
favorite_button->set_accessibility_name(TTRC("Add to favorites"));
|
||||
favorite_button->set_auto_translate_mode(AUTO_TRANSLATE_MODE_ALWAYS);
|
||||
// This makes the project's "hover" style display correctly when hovering the favorite icon.
|
||||
favorite_button->set_mouse_filter(MOUSE_FILTER_PASS);
|
||||
@@ -385,7 +383,6 @@ ProjectListItemControl::ProjectListItemControl() {
|
||||
explore_button->set_name("ExploreButton");
|
||||
explore_button->set_tooltip_auto_translate_mode(AUTO_TRANSLATE_MODE_ALWAYS);
|
||||
explore_button->set_tooltip_text(TTRC("Open in file manager"));
|
||||
explore_button->set_accessibility_name(TTRC("Open in file manager"));
|
||||
explore_button->set_flat(true);
|
||||
path_hb->add_child(explore_button);
|
||||
explore_button->connect(SceneStringName(pressed), callable_mp(this, &ProjectListItemControl::_explore_button_pressed));
|
||||
|
||||
Reference in New Issue
Block a user