perf: eliminate lag spikes and redundant work in furnidata i18n
CI / check (push) Successful in 28s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m1s

- patchLocalizedFurniDataEntries now only touches the wanted classnames
  instead of scanning the whole 100k file, reads the master once (was
  twice), and uses the batched translator instead of one HTTP call per
  text.
- Remove the now-unused serial translateWithLibre.
- buildLocalizedFurniDataFiles yields between the two section scans and
  before stringify so a single language no longer blocks the event loop
  for the whole pass at once.
This commit is contained in:
openhands committed 2026-08-24 18:52:55 +02:00
1 parent 5efd004533
commit 7116f49e2b
1 file changed
+150 -141
File diff suppressed because it is too large. Load diff