mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
As part of the ESM migration, certain function needs to be renamed over to a different namespace, e.g. Common.UIString becomes Common.UIString.UIString. As such the script that looks for instances of Common.UIString for localization fails to identify instances of the updated calls to Common.UIString.UIString. This CL updates localization_utils so that it is aware of the updated namespaces, but treats them in the same way as their legacy counterparts. Bug: 1006759 Change-Id: I0a7da9109ee969da4caac3283c4ff26f4589f68a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1985674 Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org>