1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Fix several i18n issues in editor

This commit is contained in:
Haoyu Qiu
2025-01-26 16:41:10 +08:00
parent b15b24b087
commit 4c4f29a490
5 changed files with 7 additions and 3 deletions

View File

@@ -439,6 +439,7 @@ TreeItem *EditorSettingsDialog::_create_shortcut_treeitem(TreeItem *p_parent, co
TreeItem *event_item = shortcuts->create_item(shortcut_item);
// TRANSLATORS: This is the label for the main input event of a shortcut.
event_item->set_text(0, shortcut_item->get_child_count() == 1 ? TTRC("Primary") : "");
event_item->set_text(1, ie->as_text());
event_item->set_auto_translate_mode(1, AUTO_TRANSLATE_MODE_DISABLED);