Chromium Code Reviews
DescriptionMark remaining IDS_FLAGS* in generated_resources.grd as translateable=false
When https://codereview.chromium.org/2757193002/ marked all IDS_FLAGS* messages
in generated_resources.grd as non-translateable, it used a simple
pattern-matching instead of proper XML parsing. Therefore it missed messages
which contained line breaks in the <message> tags.
This CL fixes the handful of messages which slipped through in
https://codereview.chromium.org/2757193002/.
The presubmit script added in https://codereview.chromium.org/2757193002/ also
has the same issue: it expects that the translateable attribute and the message
name (IDS_FLAGS_*) appear on the same line. To fix it would be non-trivial,
because it should operate on the diff (as opposed to the whole file), which is
hard to parse as XML. With https://crbug.com/703134#c4 being actively worked
on, the presubmit script will not be used any longer, though, so this CL does
not attempt to fix that.
BUG=587272
Review-Url: https://codereview.chromium.org/2774153002
Cr-Commit-Position: refs/heads/master@{#459777}
Committed: https://chromium.googlesource.com/chromium/src/+/ce65031046bcb48b22d02a2eb3bc9e88c73e6561
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||