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

Side by Side Diff: grit/testdata/android.xml

Issue 1291173002: Remove support for product attributes in Android xml files. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk
Patch Set: fixed >80 line Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « grit/format/android_xml_unittest.py ('k') | grit/tool/android2grd.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <resources> 7 <resources>
8 <!-- A string with placeholder. --> 8 <!-- A string with placeholder. -->
9 <string xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" name="placeholders "> 9 <string xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" name="placeholders ">
10 Open <xliff:g id="FILENAME" example="internet.html">%s</xliff:g>? 10 Open <xliff:g id="FILENAME" example="internet.html">%s</xliff:g>?
11 </string> 11 </string>
12 12
13 <!-- A simple string. --> 13 <!-- A simple string. -->
14 <string name="simple" product="nosdcard">A simple string.</string> 14 <string name="simple">A simple string.</string>
15 15
16 <!-- A string with a comment. --> 16 <!-- A string with a comment. -->
17 <string name="comment">Contains a <!-- ignore this --> comment. </string> 17 <string name="comment">Contains a <!-- ignore this --> comment. </string>
18 18
19 <!-- A second simple string. --> 19 <!-- A second simple string. -->
20 <string name="simple2"> Another simple string. </string> 20 <string name="simple2"> Another simple string. </string>
21 21
22 <!-- A non-translatable string. --> 22 <!-- A non-translatable string. -->
23 <string name="constant" translatable="false">Do not translate me.</string> 23 <string name="constant" translatable="false">Do not translate me.</string>
24 </resources> 24 </resources>
OLDNEW
« no previous file with comments | « grit/format/android_xml_unittest.py ('k') | grit/tool/android2grd.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698