Fix typos in input action editor key type names

This also makes those strings localizable.
This commit is contained in:
Hugo Locurcio 2023-01-24 11:47:43 +01:00
parent 4fa6edc888
commit 6f6914b29d
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 3 additions and 3 deletions

View File

@ -685,9 +685,9 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() {
// Key Mode Selection
key_mode = memnew(OptionButton);
key_mode->add_item("Keycode (Latin equvialent)", KEYMODE_KEYCODE);
key_mode->add_item("Physical Keycode (poistion of US QWERTY keyboard)", KEYMODE_PHY_KEYCODE);
key_mode->add_item("Unicode (case-insencetive)", KEYMODE_UNICODE);
key_mode->add_item(TTR("Keycode (Latin Equivalent)"), KEYMODE_KEYCODE);
key_mode->add_item(TTR("Physical Keycode (Position on US QWERTY Keyboard)"), KEYMODE_PHY_KEYCODE);
key_mode->add_item(TTR("Key Label (Unicode, Case-Insensitive)"), KEYMODE_UNICODE);
key_mode->connect("item_selected", callable_mp(this, &InputEventConfigurationDialog::_key_mode_selected));
key_mode->hide();
additional_options_container->add_child(key_mode);