You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Cleanup accessibility names.
This commit is contained in:
@@ -292,7 +292,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
surface_source = memnew(LineEdit);
|
||||
hbc->add_child(surface_source);
|
||||
surface_source->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
surface_source->set_accessibility_name(TTRC("Surface Source"));
|
||||
surface_source->set_accessibility_name(TTRC("Target Surface:"));
|
||||
Button *b = memnew(Button);
|
||||
hbc->add_child(b);
|
||||
b->set_accessibility_name(TTRC("Browse"));
|
||||
@@ -305,7 +305,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
mesh_source = memnew(LineEdit);
|
||||
hbc->add_child(mesh_source);
|
||||
mesh_source->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
mesh_source->set_accessibility_name(TTRC("Mesh Source"));
|
||||
mesh_source->set_accessibility_name(TTRC("Source Mesh:"));
|
||||
b = memnew(Button);
|
||||
hbc->add_child(b);
|
||||
b->set_accessibility_name(TTRC("Browse"));
|
||||
@@ -314,7 +314,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
b->connect(SceneStringName(pressed), callable_mp(this, &MultiMeshEditor::_browse).bind(true));
|
||||
|
||||
populate_axis = memnew(OptionButton);
|
||||
populate_axis->set_accessibility_name(TTRC("Up Axis"));
|
||||
populate_axis->set_accessibility_name(TTRC("Mesh Up Axis:"));
|
||||
populate_axis->add_item(TTR("X-Axis"));
|
||||
populate_axis->add_item(TTR("Y-Axis"));
|
||||
populate_axis->add_item(TTR("Z-Axis"));
|
||||
@@ -324,13 +324,13 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
populate_rotate_random = memnew(HSlider);
|
||||
populate_rotate_random->set_max(1);
|
||||
populate_rotate_random->set_step(0.01);
|
||||
populate_rotate_random->set_accessibility_name(TTRC("Random Rotation"));
|
||||
populate_rotate_random->set_accessibility_name(TTRC("Random Rotation:"));
|
||||
vbc->add_margin_child(TTR("Random Rotation:"), populate_rotate_random);
|
||||
|
||||
populate_tilt_random = memnew(HSlider);
|
||||
populate_tilt_random->set_max(1);
|
||||
populate_tilt_random->set_step(0.01);
|
||||
populate_tilt_random->set_accessibility_name(TTRC("Random Tilt"));
|
||||
populate_tilt_random->set_accessibility_name(TTRC("Random Tilt:"));
|
||||
vbc->add_margin_child(TTR("Random Tilt:"), populate_tilt_random);
|
||||
|
||||
populate_scale_random = memnew(SpinBox);
|
||||
@@ -338,7 +338,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
populate_scale_random->set_max(1);
|
||||
populate_scale_random->set_value(0);
|
||||
populate_scale_random->set_step(0.01);
|
||||
populate_scale_random->set_accessibility_name(TTRC("Random Scale"));
|
||||
populate_scale_random->set_accessibility_name(TTRC("Random Scale:"));
|
||||
vbc->add_margin_child(TTR("Random Scale:"), populate_scale_random);
|
||||
|
||||
populate_scale = memnew(SpinBox);
|
||||
@@ -346,7 +346,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
populate_scale->set_max(4096);
|
||||
populate_scale->set_value(1);
|
||||
populate_scale->set_step(0.01);
|
||||
populate_scale->set_accessibility_name(TTRC("Scale"));
|
||||
populate_scale->set_accessibility_name(TTRC("Scale:"));
|
||||
vbc->add_margin_child(TTR("Scale:"), populate_scale);
|
||||
|
||||
populate_amount = memnew(SpinBox);
|
||||
@@ -356,7 +356,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
populate_amount->set_min(1);
|
||||
populate_amount->set_max(65536);
|
||||
populate_amount->set_value(128);
|
||||
populate_amount->set_accessibility_name(TTRC("Amount"));
|
||||
populate_amount->set_accessibility_name(TTRC("Amount:"));
|
||||
vbc->add_margin_child(TTR("Amount:"), populate_amount);
|
||||
|
||||
populate_dialog->set_ok_button_text(TTR("Populate"));
|
||||
|
||||
Reference in New Issue
Block a user