Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Issue 2774153002: Mark remaining IDS_FLAGS* in generated_resources.grd as translateable=false (Closed)

Created:
3 years, 9 months ago by vabr (Chromium)
Modified:
3 years, 9 months ago
Reviewers:
agrieve
CC:
chromium-reviews, srahim+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Mark 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -12 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +10 lines, -12 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (8 generated)
vabr (Chromium)
Hi agrieve@, Could you please review a quick follow-up to my previous translateable=false CL? Cleaning ...
3 years, 9 months ago (2017-03-25 22:37:42 UTC) #4
agrieve
On 2017/03/25 22:37:42, vabr (Chromium) wrote: > Hi agrieve@, > > Could you please review ...
3 years, 9 months ago (2017-03-27 13:48:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2774153002/1
3 years, 9 months ago (2017-03-27 13:51:15 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 14:36:23 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ce65031046bcb48b22d02a2eb3bc...

Powered by Google App Engine
This is Rietveld 408576698