Files
react-native-devtools-frontend/third_party/i18n
Fergal Daly c1602a2d29 Prevent ignoring all files for strings when working in a chromium client.
The string collection code ignores all files matching '**/third_party/**'
which is *all* files when the CWD is
"chromium/src/third_party/devtools-frontend/src".

This works around that by making the paths relative to the CWD.

Bug: 1299636
Change-Id: I6057fd6216e065cf31f2c2ff11d001275497c85a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3479034
Auto-Submit: Fergal Daly <fergal@chromium.org>
Reviewed-by: Tim Van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
2022-02-22 11:44:26 +00:00
..
2021-03-31 08:01:05 +00:00

Name: Lighthouse i18n infrastructure scripts
Short Name: i18n
URL: github.com/GoogleChrome/lighthouse
Version: f3d0e3459d8fd15b055148dec0ae4e430df6495b
License: NOT_SHIPPED
Security Critical: no

Description:
i18n infrastructure scripts that originated from Lighthouse localization pipeline.
(see https://github.com/GoogleChrome/lighthouse/tree/master/lighthouse-core/lib/i18n)

Local Modifications:
1. Update paths and directory names to fit the DevTools
2. Update _ctcSanityChecks regex
3. Port in the only two functions(_splitMarkdownCodeSpans, _splitMarkdownLink) that are needed from Util
4. Remove pruneObsoleteLhlMessages() and check collisions step
5. Implement getToken() to avoid requiring the exportVars (liveUIStrings) due to ESM limitation in collectAllStringsInDir()
6. Remove backtick for locked term after converting it to placeholder in ctc.json
7. Enable the scanning of files with .ts extensions
8. Add checks for ICU plural format