Improve auto-translation of editor's top & bottom bars
- The main menu - The run bar - The update spinner - The bottom panel buttons
This commit is contained in:
@ -306,7 +306,7 @@ EditorBottomPanel::EditorBottomPanel() {
|
||||
item_vbox->add_child(bottom_hbox);
|
||||
|
||||
left_button = memnew(Button);
|
||||
left_button->set_tooltip_text(TTR("Scroll Left\nHold Ctrl to scroll to the begin.\nHold Shift to scroll one page."));
|
||||
left_button->set_tooltip_text(TTRC("Scroll Left\nHold Ctrl to scroll to the begin.\nHold Shift to scroll one page."));
|
||||
left_button->set_accessibility_name(TTRC("Scroll Left"));
|
||||
left_button->set_theme_type_variation("BottomPanelButton");
|
||||
left_button->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
|
||||
@ -323,7 +323,7 @@ EditorBottomPanel::EditorBottomPanel() {
|
||||
bottom_hbox->add_child(button_scroll);
|
||||
|
||||
right_button = memnew(Button);
|
||||
right_button->set_tooltip_text(TTR("Scroll Right\nHold Ctrl to scroll to the end.\nHold Shift to scroll one page."));
|
||||
right_button->set_tooltip_text(TTRC("Scroll Right\nHold Ctrl to scroll to the end.\nHold Shift to scroll one page."));
|
||||
right_button->set_accessibility_name(TTRC("Scroll Right"));
|
||||
right_button->set_theme_type_variation("BottomPanelButton");
|
||||
right_button->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
|
||||
@ -355,7 +355,7 @@ EditorBottomPanel::EditorBottomPanel() {
|
||||
pin_button->hide();
|
||||
pin_button->set_theme_type_variation("FlatMenuButton");
|
||||
pin_button->set_toggle_mode(true);
|
||||
pin_button->set_tooltip_text(TTR("Pin Bottom Panel Switching"));
|
||||
pin_button->set_tooltip_text(TTRC("Pin Bottom Panel Switching"));
|
||||
pin_button->set_accessibility_name(TTRC("Pin Bottom Panel"));
|
||||
pin_button->connect(SceneStringName(toggled), callable_mp(this, &EditorBottomPanel::_pin_button_toggled));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user