Unify the strings for Erase eSIM / eUICC
erase_sim_confirm_button & erase_euicc_data_button are the same string and with same meanings, but since the description of erase_euicc_data_button is wrong and causes translate issue, clean up erase_euicc_data_button then. Fix: 279600315 Test: Visual check on Erase eSIMs dialog Change-Id: I5dec3dd5c1e851f84dd401dddd5416a27cb1a428
This commit is contained in:
@@ -3020,8 +3020,6 @@
|
|||||||
<string name="reset_bluetooth_wifi_complete_toast">Bluetooth & Wi\u2011Fi have been reset</string>
|
<string name="reset_bluetooth_wifi_complete_toast">Bluetooth & Wi\u2011Fi have been reset</string>
|
||||||
|
|
||||||
<!-- Erase Euicc -->
|
<!-- Erase Euicc -->
|
||||||
<!-- Confirmation button of dialog to confirm resetting user's app preferences [CHAR LIMIT=NONE] -->
|
|
||||||
<string name="erase_euicc_data_button">Erase</string>
|
|
||||||
<!-- Erase Euicc dialog and SD card & phone storage settings screen, title for the menu option and checkbox to let user decide whether erase eSIM data together [CHAR LIMIT=50] -->
|
<!-- Erase Euicc dialog and SD card & phone storage settings screen, title for the menu option and checkbox to let user decide whether erase eSIM data together [CHAR LIMIT=50] -->
|
||||||
<string name="reset_esim_title">Erase eSIMs</string>
|
<string name="reset_esim_title">Erase eSIMs</string>
|
||||||
<!-- Erase Euicc dialog and SD card & phone storage settings screen, message for the checkbox to let user decide whether erase eSIM data together [CHAR LIMIT=NONE] -->
|
<!-- Erase Euicc dialog and SD card & phone storage settings screen, message for the checkbox to let user decide whether erase eSIM data together [CHAR LIMIT=NONE] -->
|
||||||
|
@@ -23,7 +23,6 @@ import android.content.Context;
|
|||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.RecoverySystem;
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
@@ -62,7 +61,7 @@ public class EraseEuiccDataDialogFragment extends InstrumentedDialogFragment imp
|
|||||||
return new AlertDialog.Builder(getActivity())
|
return new AlertDialog.Builder(getActivity())
|
||||||
.setTitle(R.string.reset_esim_title)
|
.setTitle(R.string.reset_esim_title)
|
||||||
.setMessage(R.string.reset_esim_desc)
|
.setMessage(R.string.reset_esim_desc)
|
||||||
.setPositiveButton(R.string.erase_euicc_data_button, this)
|
.setPositiveButton(R.string.erase_sim_confirm_button, this)
|
||||||
.setNegativeButton(R.string.cancel, null)
|
.setNegativeButton(R.string.cancel, null)
|
||||||
.setOnDismissListener(this)
|
.setOnDismissListener(this)
|
||||||
.create();
|
.create();
|
||||||
|
Reference in New Issue
Block a user