mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-11 14:14:36 +08:00
To be able to localize extensions' strings at declaration using the i18n v2 model in meta files, we opt to wrap such fields in callbacks as the i18n API cannot be invoked directly at declaration because it hasn't been configured by the time the meta files are loaded. Bug: 1134103 Change-Id: I432f3854f724b8c5b94993ce3ddd469f657c1014 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2635820 Commit-Queue: Andres Olivares <andoli@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>