Chromium Code Reviews
DescriptionMake 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 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 21 (17 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||