Skip to content

Commit

Permalink
[Keyboard] Optimize keyboard symbol translation
Browse files Browse the repository at this point in the history
Motivated by the fact that we have 140 keys, so N^2 lookups can get expensive.
  • Loading branch information
garbear committed Jan 16, 2024
1 parent 4f17f33 commit e68a3b9
Show file tree
Hide file tree
Showing 12 changed files with 759 additions and 602 deletions.
1 change: 1 addition & 0 deletions addons/resource.language.en_gb/resources/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -18256,6 +18256,7 @@ msgstr ""

#. Name of keyboard category in the settings category window
#: system/settings/settings.xml
#: xbmc/input/keyboard/KeyboardTranslator.cpp
msgctxt "#35150"
msgid "Keyboard"
msgstr ""
Expand Down
1 change: 1 addition & 0 deletions cmake/treedata/common/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/test test/videoshaders
xbmc/filesystem/test test/filesystem
xbmc/games/addons/input/test test/games/addons/input
xbmc/games/controllers/input/test test/games/controllers/input
xbmc/input/keyboard/test test/input/keyboard
xbmc/interfaces/python/test test/python
xbmc/music/tags/test test/music_tags
xbmc/network/test test/network
Expand Down
Loading

0 comments on commit e68a3b9

Please sign in to comment.