mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 12:33:47 +08:00
This CL fixes a long-standing disabled l10n test. Initially we didn't have a 'language' setting so we had to use the emulation feature to simulate setting `navigator.language`. Finally, this is not how we solved l10n for DevTools. This CL adds a new helper that allows setting settings via the Host API and uses it to make sure that the pseudo local is loaded and applied correctly. R=alexrudenko@chromium.org Bug: 1163928 Change-Id: I1873ed38c9c6ef95ae87b281292e210363764211 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3466035 Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org>