Skip to content

Commit

Permalink
sezanzeb#543 Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sezanzeb committed Nov 19, 2022
1 parent a00b966 commit aa2c55c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion data/input-remapper.glade
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ Shortcut: ctrl + del</property>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">The Speed at wich the Input is considered at maximum.
<property name="tooltip-text" translatable="yes">The Speed at which the Input is considered at maximum.
Only relevant when mapping relative inputs (e.g. mouse) to absolute outputs (e.g. gamepad)</property>
<property name="spacing">12</property>
<child>
Expand Down
3 changes: 1 addition & 2 deletions inputremapper/gui/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ def _get_ui_error_string(mapping: UIMapping) -> str:
or "output_symbol and output_code mismatch:" in error_string
) and not mapping.event_combination.has_input_axis():
return _(
"Remove the Analog Output Axis "
"when specifying an macro or key output"
"Remove the Analog Output Axis when specifying a macro or key output"
)

if "missing output axis:" in error_string:
Expand Down
2 changes: 1 addition & 1 deletion inputremapper/injection/injector.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def run(self) -> None:
name=get_udev_name(source.name, "forwarded"),
events=self._copy_capabilities(source),
# phys=source.phys, # this leads to confusion. the appearance of
# an uinput with this "phys" property causes the udev rule to
# a uinput with this "phys" property causes the udev rule to
# autoload for the original device, overwriting our previous
# attempts at starting an injection.
vendor=source.info.vendor,
Expand Down
2 changes: 1 addition & 1 deletion po/input-remapper.pot
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ msgstr ""

#: data/input-remapper.glade:1107
msgid ""
"The Speed at wich the Input is considered at maximum.\n"
"The Speed at which the Input is considered at maximum.\n"
"Only relevant when mapping relative inputs (e.g. mouse) to absolute outputs "
"(e.g. gamepad)"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion po/uk_UA.po
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ msgstr "Ціль"

#: data/input-remapper.glade:1107
msgid ""
"The Speed at wich the Input is considered at maximum.\n"
"The Speed at which the Input is considered at maximum.\n"
"Only relevant when mapping relative inputs (e.g. mouse) to absolute outputs "
"(e.g. gamepad)"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_data_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_load_preset(self):
self.assertIn(mapping, mappings)

def test_cannot_load_non_existing_preset(self):
"""Loading a non-existing preset should raise an KeyError."""
"""Loading a non-existing preset should raise a KeyError."""
prepare_presets()

self.data_manager.load_group(group_key="Foo Device")
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_preset.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def test_combinations(self):
self.preset.get_mapping(combi_2),
get_key_mapping(combi_1, "keyboard", "a"),
)
# since combi_1 and combi_2 are equivalent, this raises an KeyError
# since combi_1 and combi_2 are equivalent, this raises a KeyError
self.assertRaises(
KeyError,
self.preset.add,
Expand Down

0 comments on commit aa2c55c

Please sign in to comment.