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

Make editor's shortcut names translated on-site

This commit is contained in:
Haoyu Qiu
2024-10-18 19:07:44 +08:00
parent 6e2cf2aa7b
commit bf4e5cca3f
43 changed files with 568 additions and 548 deletions

View File

@@ -832,8 +832,8 @@ GroupsEditor::GroupsEditor() {
node = nullptr;
scene_tree = SceneTree::get_singleton();
ED_SHORTCUT("groups_editor/delete", TTR("Delete"), Key::KEY_DELETE);
ED_SHORTCUT("groups_editor/rename", TTR("Rename"), Key::F2);
ED_SHORTCUT("groups_editor/delete", TTRC("Delete"), Key::KEY_DELETE);
ED_SHORTCUT("groups_editor/rename", TTRC("Rename"), Key::F2);
ED_SHORTCUT_OVERRIDE("groups_editor/rename", "macos", Key::ENTER);
HBoxContainer *hbc = memnew(HBoxContainer);