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

Issue 1291173002: Remove support for product attributes in Android xml files. (Closed)

Created:
5 years, 4 months ago by newt (away)
Modified:
5 years, 4 months ago
Reviewers:
Nico
CC:
grit-developer_googlegroups.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove support for product attributes in Android xml files. The product attribute was never used, except in one place in Chrome that wasn't actually needed (see https://codereview.chromium.org/1288243002). Further, the product attribute has no compelling use case in typical development and isn't even documented on developer.android.com (See: http://developer.android.com/guide/topics/resources/string-resource.html) This also updates the header comment in android_xml.py to explain the new <plurals> feature added in https://codereview.chromium.org/1258833004 R=thakis@chromium.org Committed: https://code.google.com/p/grit-i18n/source/detail?r=195

Patch Set 1 #

Total comments: 4

Patch Set 2 : s/outputted/output #

Total comments: 3

Patch Set 3 : fixed >80 line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -92 lines) Patch
M grit/format/android_xml.py View 1 3 chunks +27 lines, -50 lines 0 comments Download
M grit/format/android_xml_unittest.py View 2 chunks +0 lines, -10 lines 0 comments Download
M grit/testdata/android.xml View 1 chunk +1 line, -1 line 0 comments Download
M grit/tool/android2grd.py View 1 2 2 chunks +3 lines, -23 lines 0 comments Download
M grit/tool/android2grd_unittest.py View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
newt (away)
PTAL
5 years, 4 months ago (2015-08-13 21:02:25 UTC) #2
Nico
Is this a revert of some CL? If so, say what you're reverting? https://codereview.chromium.org/1291173002/diff/1/grit/format/android_xml.py File ...
5 years, 4 months ago (2015-08-13 22:21:27 UTC) #3
newt (away)
On 2015/08/13 22:21:27, Nico (hiding) wrote: > Is this a revert of some CL? If ...
5 years, 4 months ago (2015-08-13 22:33:49 UTC) #4
newt (away)
https://codereview.chromium.org/1291173002/diff/1/grit/format/android_xml.py File grit/format/android_xml.py (right): https://codereview.chromium.org/1291173002/diff/1/grit/format/android_xml.py#newcode47 grit/format/android_xml.py:47: in the output xml file. For example: On 2015/08/13 ...
5 years, 4 months ago (2015-08-13 22:34:10 UTC) #5
Nico
lgtm, thanks! https://codereview.chromium.org/1291173002/diff/20001/grit/format/android_xml.py File grit/format/android_xml.py (right): https://codereview.chromium.org/1291173002/diff/20001/grit/format/android_xml.py#newcode47 grit/format/android_xml.py:47: in the output xml file. For example: ...
5 years, 4 months ago (2015-08-13 22:45:52 UTC) #6
newt (away)
https://codereview.chromium.org/1291173002/diff/20001/grit/tool/android2grd.py File grit/tool/android2grd.py (right): https://codereview.chromium.org/1291173002/diff/20001/grit/tool/android2grd.py#newcode247 grit/tool/android2grd.py:247: print 'Error: string name contains illegal characters: %s' % ...
5 years, 4 months ago (2015-08-13 23:10:52 UTC) #7
newt (away)
5 years, 4 months ago (2015-08-13 23:11:21 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 195 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698