summaryrefslogtreecommitdiffstats
path: root/ui/res/values/strings.xml
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-09-16 12:04:17 -0700
committerSteve Howard <showard@google.com>2010-09-20 13:45:30 -0700
commitb9a0ad7182209d4aca708e13e876e9b1b43ffafc (patch)
treee49d39e80dfc9c2ffc6a43c81f08ee0edce26c31 /ui/res/values/strings.xml
parentdbefa6f5eff88f97dd91a8adfd65dbd946adb99e (diff)
downloadandroid_packages_providers_DownloadProvider-b9a0ad7182209d4aca708e13e876e9b1b43ffafc.tar.gz
android_packages_providers_DownloadProvider-b9a0ad7182209d4aca708e13e876e9b1b43ffafc.tar.bz2
android_packages_providers_DownloadProvider-b9a0ad7182209d4aca708e13e876e9b1b43ffafc.zip
Improve file error reporting + new detailed error messages in UI
* support new error code for "destination file already exists" * improve error handling for various file error cases to return a more specific error code when appropriate * make UI support more detailed error messages for some cases * use Uri.getPath() instead of Uri.getSchemeSpecificPart() for file URIs Change-Id: Icb01d4d3b47c7776be3ddcd8347212e950cd023e
Diffstat (limited to 'ui/res/values/strings.xml')
-rw-r--r--ui/res/values/strings.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/ui/res/values/strings.xml b/ui/res/values/strings.xml
index 063ed04e..bb3654af 100644
--- a/ui/res/values/strings.xml
+++ b/ui/res/values/strings.xml
@@ -65,6 +65,25 @@
<!-- Text for dialog when user clicks on a completed download but the file is missing
[CHAR LIMIT=200] -->
<string name="dialog_file_missing_body">The downloaded file cannot be found.</string>
+ <!-- Text for dialog when user clicks on a download that failed due to insufficient space on
+ external storage [CHAR LIMIT=200] -->
+ <string name="dialog_insufficient_space_on_external">Cannot finish download. There is not
+ enough space on external storage.</string>
+ <!-- Text for dialog when user clicks on a download that failed due to insufficient space on
+ the internal download cache [CHAR LIMIT=200] -->
+ <string name="dialog_insufficient_space_on_cache">Cannot finish download. There is not enough
+ space on internal download storage.</string>
+ <!-- Text for dialog when user clicks on a download that failed because it was interrupted and
+ the server doesn't support resuming downloads [CHAR LIMIT=200] -->
+ <string name="dialog_cannot_resume">Download interrupted. It cannot be resumed.</string>
+ <!-- Text for dialog when user clicks on a download that failed because the requested
+ destination file already exists [CHAR LIMIT=200] -->
+ <string name="dialog_file_already_exists">Cannot download. The destination file already exists.
+ </string>
+ <!-- Text for dialog when user clicks on a download that failed because it was requested to go
+ on the external media, which is not mounted [CHAR LIMIT=200] -->
+ <string name="dialog_media_not_found">Cannot download. The external media is not available.
+ </string>
<!-- Text for a toast appearing when a user clicks on a completed download, informing the user
that there is no application on the device that can open the file that was downloaded
[CHAR LIMIT=200] -->