mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 09:31:34 +00:00
Make editor's shortcut names translated on-site
This commit is contained in:
parent
6e2cf2aa7b
commit
bf4e5cca3f
43 changed files with 568 additions and 548 deletions
|
|
@ -321,7 +321,7 @@ ShaderFileEditorPlugin::ShaderFileEditorPlugin() {
|
|||
shader_editor = memnew(ShaderFileEditor);
|
||||
|
||||
shader_editor->set_custom_minimum_size(Size2(0, 300) * EDSCALE);
|
||||
button = EditorNode::get_bottom_panel()->add_item(TTR("ShaderFile"), shader_editor, ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_shader_file_bottom_panel", TTR("Toggle ShaderFile Bottom Panel")));
|
||||
button = EditorNode::get_bottom_panel()->add_item(TTR("ShaderFile"), shader_editor, ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_shader_file_bottom_panel", TTRC("Toggle ShaderFile Bottom Panel")));
|
||||
button->hide();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue