commit | f9b36d3af7929352ac5514b8d2812d522cbab081 | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Thu Feb 15 18:41:35 2024 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Feb 15 18:56:54 2024 |
tree | e15bd005f89e39076807378559c3bb8392ad2fd1 | |
parent | 7f373915bb8fb0b48ecf989102dffc90422aa8ad [diff] |
Improve an error message in GRIT When the resource IDs is missing an entry, the GenerateResourceUsages() function in GRIT will complain and raise a ValueError. Put more details into the error message, to make it clearer what to do. Fix some outdated documentation for GenerateResourceUsages() along the way. Change-Id: I64a7963af78580d0108423922ea35169258d4465 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5297549 Reviewed-by: Andy Phan <andyphan@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1261203} NOKEYCHECK=True GitOrigin-RevId: 800a7031efd0f16b97ef4556990b508e968a386f
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
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.