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

Commit 434fab46 authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

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

Change-Id: I9adeff3e7e9435237b4b3337e4c687eec39b0335
parent 5e839352
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
@@ -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();
    }
}