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

Issue 2773323002: Make flags resources naming consistent (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, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make flags resources naming consistent About:flags strings usually start with IDS_FLAGS_, up to a handful of exceptions. Making the naming consistent will make the migration of the resource strings to C++ const char* constants easier. This CL changes the naming to fit the convention. It also does these things: * Fixes a typo in the XML file generated_resources.grd, where an <if> tag was spread over too many elements. * Moves IDS_FLAGS_DEBUG_SHORTCUTS_DESCRIPTION out of branded strings to just generated ones: it is not important to mentione the product name in telling the developer/tester that a particular flag activates the debug shortcuts. (Also, once migrated to const char* strings, it won't be possible any more.) * Adds translateable=false to the renamed messages as needed (and enforced by the presubmit script). * Reformats touched lines with clang-format, as enforced by the presubmit script. * Splits IDS_OPTIONS_ENABLE_SPELLCHECK, which is used both for non-MacOSX settings and for an Android-specific flag, separating the flag use under the name IDS_FLAGS_ENABLE_ANDROID_SPELLCHECKER_NAME. BUG=703134, 587272 Review-Url: https://codereview.chromium.org/2773323002 Cr-Commit-Position: refs/heads/master@{#459819} Committed: https://chromium.googlesource.com/chromium/src/+/777c16b153d01257a6c0b01b50bb4fc11943331f

Patch Set 1 #

Patch Set 2 : Translateable=false for all new messages #

Patch Set 3 : Split IDS_OPTIONS_ENABLE_SPELLCHECK #

Patch Set 4 : Fix Android #

Messages

Total messages: 21 (17 generated)
vabr (Chromium)
Hi agrieve@, This is the second part of the preparation for the main CL. Would ...
3 years, 9 months ago (2017-03-26 05:37:43 UTC) #15
agrieve
On 2017/03/26 05:37:43, vabr (Chromium) wrote: > Hi agrieve@, > > This is the second ...
3 years, 9 months ago (2017-03-27 13:51:17 UTC) #16
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/2773323002/60001
3 years, 9 months ago (2017-03-27 16:45:14 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 17:40:17 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/777c16b153d01257a6c0b01b50bb...

Powered by Google App Engine
This is Rietveld 408576698