From eafb267bd94eb990a07816bb8a501d3c3f90c296 Mon Sep 17 00:00:00 2001 From: Tomasz Mikolajewski Date: Tue, 21 Apr 2015 14:25:24 +0200 Subject: Update strings for the copy error dialog to match the latest specs. Change-Id: I9adeff3e7e9435237b4b3337e4c687eec39b0335 --- packages/DocumentsUI/res/values/strings.xml | 12 +++++------- .../src/com/android/documentsui/FailureDialogFragment.java | 2 -- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'packages/DocumentsUI') diff --git a/packages/DocumentsUI/res/values/strings.xml b/packages/DocumentsUI/res/values/strings.xml index 062d433..5281087 100644 --- a/packages/DocumentsUI/res/values/strings.xml +++ b/packages/DocumentsUI/res/values/strings.xml @@ -121,22 +121,20 @@ %s left - Copying %1$d file. - Copying %1$d files. + Copying %1$d file. + Copying %1$d files. Preparing for copy\u2026 - Error copying %1$d file. - Error copying %1$d files. + Couldn\'t copy %1$d file + Couldn\'t copy %1$d files Touch to view details Retry - - Error copying files - Following files are not copied: %1$s + These files weren\'t copied: %1$s diff --git a/packages/DocumentsUI/src/com/android/documentsui/FailureDialogFragment.java b/packages/DocumentsUI/src/com/android/documentsui/FailureDialogFragment.java index 1748c9c..7d16090 100644 --- a/packages/DocumentsUI/src/com/android/documentsui/FailureDialogFragment.java +++ b/packages/DocumentsUI/src/com/android/documentsui/FailureDialogFragment.java @@ -88,12 +88,10 @@ public class FailureDialogFragment extends DialogFragment list.toString()); return new AlertDialog.Builder(getActivity()) - .setTitle(getString(R.string.copy_failure_alert_title)) .setMessage(Html.fromHtml(message)) // TODO: Implement retrying the copy operation. .setPositiveButton(R.string.retry, this) .setNegativeButton(android.R.string.cancel, this) - .setIcon(android.R.drawable.ic_dialog_alert) .create(); } } -- cgit v1.1