Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab82d0c0 authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski Committed by Android (Google) Code Review
Browse files

Merge "Update strings for the copy error dialog to match the latest specs."

parents 9452c44c 434fab46
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -128,15 +128,13 @@
    <string name="copy_preparing">Preparing for copy\u2026</string>
    <!-- Title of the copy error notification [CHAR LIMIT=48] -->
    <plurals name="copy_error_notification_title">
      <item quantity="one">Error copying <xliff:g id="count" example="1">%1$d</xliff:g> file.</item>
      <item quantity="other">Error copying <xliff:g id="count" example="1">%1$d</xliff:g> files.</item>
        <item quantity="one">Couldn\'t copy <xliff:g id="count" example="1">%1$d</xliff:g> file</item>
        <item quantity="other">Couldn\'t copy <xliff:g id="count" example="2">%1$d</xliff:g> files</item>
    </plurals>
    <!-- Second line for notifications saying that more information will be shown after touching [CHAR LIMIT=48] -->
    <string name="notification_touch_for_details">Touch to view details</string>
    <!-- Label of a dialog button for retrying a failed operation [CHAR LIMIT=24] -->
    <string name="retry">Retry</string>
    <!-- Title of the copying failure alert dialog. [CHAR LIMIT=48] -->
    <string name="copy_failure_alert_title">Error copying files</string>
    <!-- Contents of the copying failure alert dialog. [CHAR LIMIT=48] -->
    <string name="copy_failure_alert_content">Following files are not copied: <xliff:g id="list">%1$s</xliff:g></string>
    <string name="copy_failure_alert_content">These files weren\'t copied: <xliff:g id="list">%1$s</xliff:g></string>
</resources>
+0 −2
Original line number Diff line number Diff line
@@ -89,11 +89,9 @@ public class FailureDialogFragment extends DialogFragment
                list.toString());

        return new AlertDialog.Builder(getActivity())
            .setTitle(getString(R.string.copy_failure_alert_title))
            .setMessage(Html.fromHtml(message))
            .setPositiveButton(R.string.retry, this)
            .setNegativeButton(android.R.string.cancel, this)
            .setIcon(android.R.drawable.ic_dialog_alert)
            .create();
    }
}