Skip to content

fix(inputkeymaputils): Write binding names through the translator - #845

Open
oiisin wants to merge 2 commits into
Quenty:mainfrom
oiisin:users/oiisin/inputkeymap-translator-writes
Open

oiisin wants to merge 2 commits into
Quenty:mainfrom
oiisin:users/oiisin/inputkeymap-translator-writes

Conversation

@oiisin

@oiisin oiisin commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

InputKeyMapServiceClient wrote each binding name straight into the LocalizationTable (plus a pseudo-locale copy), and every raw SetEntryValue re-translates every AutoLocalize label on screen, so registering key maps while a UI was up cost about 0.05 ms per label per write. It now goes through the translator's SetEntryValue, which batches with the other entry writes; like every other translator entry, the pseudo-locale copy is now only written in Studio, and the unused @quenty/pseudolocalize dependency is dropped. Checked in the package's test place: FormatByKey("keybinds.Honk") still returns "Honk".

InputKeyMapServiceClient wrote each binding name straight into the LocalizationTable, plus a
pseudo-locale copy, and every raw write re-translates every AutoLocalize label on screen. It now
uses the translator's SetEntryValue, which is batched with the other entry writes and only adds the
pseudo-locale in Studio.
@oiisin
oiisin deployed to integration October 24, 2026 16:37 — with GitHub Actions Active
@oiisin
oiisin deployed to integration October 27, 2026 16:22 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
integration — 57848a79 Deployed Oct 27, 2026 by oiisin via integration #708
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant