Grit: Make whitespace optional when parsing plurals.

Bug: 505441814
Change-Id: I9e3ae12f3b000e6037184b38815adfcf10129316
Cq-Include-Trybots: luci.chrome.try:android-internal-dbg,android-internal-binary-size
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7787370
Commit-Queue: Andrew Grieve <[email protected]>
Reviewed-by: Yanling Hu <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1619126}
NOKEYCHECK=True
GitOrigin-RevId: 8d862fed17a767791e596958a7b40d3077523c58
2 files changed
tree: 9ba35d5497122e46f2c36e8579c14eedc94eb56b
  1. grit/
  2. preprocess_tests/
  3. .gitignore
  4. BUILD.gn
  5. grit.py
  6. grit.pydeps
  7. grit_args.gni
  8. grit_info.py
  9. grit_info.pydeps
  10. grit_rule.gni
  11. MANIFEST.in
  12. minimize_css.py
  13. minimize_css_unittest.py
  14. OWNERS
  15. pak_util.py
  16. pak_util_unittest.py
  17. preprocess_if_expr.gni
  18. preprocess_if_expr.py
  19. preprocess_if_expr_test.py
  20. PRESUBMIT.py
  21. README.md
  22. repack.gni
  23. setup.py
  24. stamp_grit_sources.py
  25. xtb_util.py
README.md

GRIT (Google Resource and Internationalization Tool)

This is a tool for projects to manage resources and simplify the localization workflow.

See the user guide for more details on using this project: https://dev.chromium.org/developers/tools-we-use-in-chromium/grit/grit-users-guide

History

This code previously used to live at https://code.google.com/p/grit-i18n/source/checkout which still contains the project‘s history. https://chromium.googlesource.com/external/grit-i18n/ is a git mirror of the SVN repository that’s identical except for the last two commits. The project is now developed in the Chromium project directly.

There is a read-only mirror of just this directory at https://chromium.googlesource.com/chromium/src/tools/grit/ if you don't want to check out all of Chromium.