Merge pull request #107624 from timothyqiu/top-bottom-atr

Improve auto-translation of editor's top & bottom bars
This commit is contained in:
Thaddeus Crews 2025-06-18 18:14:06 -05:00
commit c825fcf43f
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
22 changed files with 87 additions and 77 deletions

View file

@ -946,7 +946,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
empty.instantiate();
shader_tabs->add_theme_style_override(SceneStringName(panel), empty);
button = EditorNode::get_bottom_panel()->add_item(TTR("Shader Editor"), window_wrapper, ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_shader_editor_bottom_panel", TTRC("Toggle Shader Editor Bottom Panel"), KeyModifierMask::ALT | Key::S));
button = EditorNode::get_bottom_panel()->add_item(TTRC("Shader Editor"), window_wrapper, ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_shader_editor_bottom_panel", TTRC("Toggle Shader Editor Bottom Panel"), KeyModifierMask::ALT | Key::S));
shader_create_dialog = memnew(ShaderCreateDialog);
files_split->add_child(shader_create_dialog);