summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2018-08-22 11:24:36 -0700
committerAurimas Liutikas <aurimas@google.com>2018-08-22 11:24:36 -0700
commitcc9fccbf4f19fe8f699901c5bc0979102351a215 (patch)
tree815f2699e579861068ebf62ef801483890ed004e
parentdf687166a86ae33c01e5f8a2c9a6a002d2958d2b (diff)
downloadandroid_packages_providers_DownloadProvider-cc9fccbf4f19fe8f699901c5bc0979102351a215.tar.gz
android_packages_providers_DownloadProvider-cc9fccbf4f19fe8f699901c5bc0979102351a215.tar.bz2
android_packages_providers_DownloadProvider-cc9fccbf4f19fe8f699901c5bc0979102351a215.zip
Add positions to strings in DownloadProvider that had multiple place holders.
This shuts aapt2 up about "multiple substitutions specified in non-positional format" Test: None Change-Id: Ib1f4d0ed5cf06d6479edc70783801d93fe1c2340
-rw-r--r--res/values/strings.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c1529419..fe405319 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -157,8 +157,8 @@
download to start next time Wi-Fi is available or cancel the download altogether. [CHAR
LIMIT=200] -->
<string name="wifi_required_body">You must use Wi-Fi to complete this
- <xliff:g id="size" example="12.3KB">%s
- </xliff:g> download. \n\nTouch <xliff:g id="queue_text" example="Queue">%s
+ <xliff:g id="size" example="12.3KB">%1$s
+ </xliff:g> download. \n\nTouch <xliff:g id="queue_text" example="Queue">%2$s
</xliff:g> to start this download the next time you\'re connected to a Wi-Fi
network.</string>
@@ -172,11 +172,11 @@
downloads over the mobile network, and the user may choose to start the download over mobile
anyway or to queue for download to start next time a Wi-Fi connection is available [CHAR
LIMIT=200] -->
- <string name="wifi_recommended_body">Starting this <xliff:g id="size" example="12.3KB">%s
+ <string name="wifi_recommended_body">Starting this <xliff:g id="size" example="12.3KB">%1$s
</xliff:g> download now may shorten your battery life and/or result in
excessive usage of your mobile data connection, which can lead to charges by
your mobile operator depending on your data plan.\n\n
- Touch <xliff:g id="queue_text" example="Queue">%s</xliff:g> to start this download
+ Touch <xliff:g id="queue_text" example="Queue">%2$s</xliff:g> to start this download
the next time you\'re connected to a Wi-Fi network.</string>