mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
Add some FAQs for Loc V2. Bug: 941561 Change-Id: I23ce46bc01d567f20764c7de8ccd5d7583e017b0 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2238608 Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com> Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Christy Chen <chrche@microsoft.com>
472 B
472 B
Localization V1 and V2 would both exist in the DevTools during the migration. To check whether the file you are touching is migrated or not:
- Is there a
const UIStrings =declare at the top of the file after import statements? ✔️: V2 - Is there
i18nreferenced in the file? ✔️: V2 - Is there
ls``,Common.UISting(), orUI.formatLocalized()in the file? ✔️: V1
Presubmit step would also inform you if there are V1 APIs used in a migrated file.