mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
Checking the shape of localization API calls: if the node is Common.i18n.getLocalizedString, 1. There should be at least two arguments 2. The first argument should be the string instance function 'str_', 3. The second argument should reference the UIStrings object like 'UIStrings.url' The code would look like: i18n.i18n.getLocalizedString(str_, UIStrings.url); Bug: 941561 Change-Id: I1336867b06dd727f5164e6b1d7ac7ae6ed6ea446 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2245769 Commit-Queue: Christy Chen <chrche@microsoft.com> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com> Reviewed-by: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org>