Grit: Fixes android_xml.py where translations have multiple same key plurals
Due to some bug within the translation pipeline, translated grd files sometimes end up with multiple plural entries that have the same/similar key, eg: '=1' and 'one'. This change makes sure that the xml output only has one entry in per key. This is required by aapt2, which fails with an error otherwise. Bug: 787488 Change-Id: I6d98c1739a7dbd3872c31cbfca63b0bd5612c79d Reviewed-on: https://chromium-review.googlesource.com/807148 Commit-Queue: Mohamed Heikal <mheikal@chromium.org> Reviewed-by:Robert Flack <flackr@chromium.org> Reviewed-by:
agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#521888}
Showing
Please register or sign in to comment