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

Commit 5ae068b0 authored by Takahiro Manabe's avatar Takahiro Manabe
Browse files

Change confirm Import/export cancel dialog string

Replace message string from Cancel to No.
Replace button string from OK to Yes.

Bug: 38189198
Change-Id: I7980d1443aca5690967ac3ad464d753306bbb5c0
parent 420c3649
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1586,4 +1586,10 @@
    <!-- Text shown when viewing channel settings for default Contacts notifications [CHAR LIMIT=50] -->
    <string name="contacts_default_notification_channel">Notifications</string>

    <!-- Text of Positive Button in dialog -->
    <string name="yes_button">Yes</string>

    <!-- Text of Negative Button in dialog -->
    <string name="no_button">No</string>

</resources>
+2 −2
Original line number Diff line number Diff line
@@ -91,9 +91,9 @@ public class CancelActivity extends Activity implements ServiceConnection {
            }
            final AlertDialog.Builder builder = new AlertDialog.Builder(this)
                    .setMessage(message)
                    .setPositiveButton(android.R.string.ok, new RequestCancelListener())
                    .setPositiveButton(R.string.yes_button, new RequestCancelListener())
                    .setOnCancelListener(mCancelListener)
                    .setNegativeButton(android.R.string.cancel, mCancelListener);
                    .setNegativeButton(R.string.no_button, mCancelListener);
            return builder.create();
        } else if (id == R.id.dialog_cancel_failed) {
            final AlertDialog.Builder builder = new AlertDialog.Builder(this)