OSDN Git Service

DO NOT MERGE: Cherry-picked 5761e46f88aa2f216d8d22288435c497153931c7 from master...
authorEric Fischer <enf@google.com>
Fri, 28 Aug 2009 00:26:16 +0000 (17:26 -0700)
committerEric Fischer <enf@google.com>
Fri, 28 Aug 2009 20:34:27 +0000 (13:34 -0700)
Armor string format tokens with translation placeholders.

res/values/strings.xml

index 09dc66a..f340c95 100644 (file)
@@ -14,7 +14,7 @@
      limitations under the License.
 -->
 
-<resources>
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
     <!-- This is the name of the Download Manager application. -->
     <string name="app_label">Download Manager</string>
 
         downloads beyond the first two, i.e. "[title], [title] and [n] more".
         This is the " and [n] more" part, including the leading space, and it's
         used regardless of the number of additional downloads. -->
-    <string name="notification_filename_extras">" and %d more"</string>
+    <string name="notification_filename_extras">" and <xliff:g id="number" example="27">%d</xliff:g> more"</string>
 
     <!-- When a download completes, a notification is displayed, and this
         string is used to indicate that the download successfully completed.