1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

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:
Haoyu Qiu
2025-06-17 16:41:42 +08:00
parent 46c495ca21
commit 1301343f42
22 changed files with 87 additions and 77 deletions

View File

@@ -1760,7 +1760,7 @@ void GridMapEditorPlugin::_notification(int p_what) {
grid_map_editor->set_custom_minimum_size(Size2(0, 200) * EDSCALE);
grid_map_editor->hide();
panel_button = EditorNode::get_bottom_panel()->add_item(TTR("GridMap"), grid_map_editor, ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_grid_map_bottom_panel", TTRC("Toggle GridMap Bottom Panel")));
panel_button = EditorNode::get_bottom_panel()->add_item(TTRC("GridMap"), grid_map_editor, ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_grid_map_bottom_panel", TTRC("Toggle GridMap Bottom Panel")));
panel_button->hide();
} break;
case NOTIFICATION_EXIT_TREE: {