mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Cleanup accessibility names.
This commit is contained in:
@@ -693,7 +693,7 @@ EditorProfiler::EditorProfiler() {
|
||||
hb_measure->add_child(memnew(Label(TTR("Measure:"))));
|
||||
|
||||
display_mode = memnew(OptionButton);
|
||||
display_mode->set_accessibility_name(TTRC("Measure"));
|
||||
display_mode->set_accessibility_name(TTRC("Measure:"));
|
||||
display_mode->add_item(TTR("Frame Time (ms)"));
|
||||
display_mode->add_item(TTR("Average Time (ms)"));
|
||||
display_mode->add_item(TTR("Frame %"));
|
||||
@@ -709,7 +709,7 @@ EditorProfiler::EditorProfiler() {
|
||||
hb_time->add_child(memnew(Label(TTR("Time:"))));
|
||||
|
||||
display_time = memnew(OptionButton);
|
||||
display_time->set_accessibility_name(TTRC("Time"));
|
||||
display_time->set_accessibility_name(TTRC("Time:"));
|
||||
// TRANSLATORS: This is an option in the profiler to display the time spent in a function, including the time spent in other functions called by that function.
|
||||
display_time->add_item(TTR("Inclusive"));
|
||||
// TRANSLATORS: This is an option in the profiler to display the time spent in a function, exincluding the time spent in other functions called by that function.
|
||||
@@ -732,7 +732,7 @@ EditorProfiler::EditorProfiler() {
|
||||
hb_frame->add_child(memnew(Label(TTR("Frame #:"))));
|
||||
|
||||
cursor_metric_edit = memnew(SpinBox);
|
||||
cursor_metric_edit->set_accessibility_name(TTRC("Frame"));
|
||||
cursor_metric_edit->set_accessibility_name(TTRC("Frame #:"));
|
||||
cursor_metric_edit->set_h_size_flags(SIZE_FILL);
|
||||
cursor_metric_edit->set_value(0);
|
||||
cursor_metric_edit->set_editable(false);
|
||||
|
||||
Reference in New Issue
Block a user