Merge "Update strings of clear app data dialog" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f6eb111b91
@@ -4758,11 +4758,13 @@
|
|||||||
<!-- Manage applications, individual application screen, confirmation dialog title. Displays when user selects to "Clear data". -->
|
<!-- Manage applications, individual application screen, confirmation dialog title. Displays when user selects to "Clear data". -->
|
||||||
<string name="clear_data_dlg_title">Delete app data?</string>
|
<string name="clear_data_dlg_title">Delete app data?</string>
|
||||||
<!-- Manage applications, individual application screen, confirmation dialog message. Displays when user selects to "Clear data". It warns the user of the consequences of clearing the data for an app. -->
|
<!-- Manage applications, individual application screen, confirmation dialog message. Displays when user selects to "Clear data". It warns the user of the consequences of clearing the data for an app. -->
|
||||||
<string name="clear_data_dlg_text">This app\u2019s data will be permanently deleted. This includes files, settings, databases, and other app data.</string>
|
<string name="clear_data_dlg_text">This app\u2019s data, including files and settings, will be permanently deleted from this device</string>
|
||||||
<!-- Manage applications, individual application screen, confirmation dialog button. Displays when user selects to "Clear data". Goes through with the clearing of the data. -->
|
<!-- Manage applications, individual application screen, confirmation dialog button. -->
|
||||||
<string name="dlg_ok">OK</string>
|
<string name="dlg_ok">OK</string>
|
||||||
<!-- Manage applications, individual application screen, confirmation dialog button. Displays when user selects to "Clear data". -->
|
<!-- Manage applications, individual application screen, confirmation dialog button. Displays when user selects to "Clear data". -->
|
||||||
<string name="dlg_cancel">Cancel</string>
|
<string name="dlg_cancel">Cancel</string>
|
||||||
|
<!-- Manage applications, individual application screen, confirmation dialog button. Displays when user selects to "Clear data". Goes through with the clearing of the data. [CHAR LIMIT=25] -->
|
||||||
|
<string name="dlg_delete">Delete</string>
|
||||||
<!-- Manage applications, individual application dialog box title. Shown when the user somehow got into a state where it wants to manage some app that isn't found. -->
|
<!-- Manage applications, individual application dialog box title. Shown when the user somehow got into a state where it wants to manage some app that isn't found. -->
|
||||||
<string name="app_not_found_dlg_title"></string>
|
<string name="app_not_found_dlg_title"></string>
|
||||||
<!-- Manage applications, individual application dialog box message. Shown when the user somehow got into a state where it wants to manage some app that isn't found. -->
|
<!-- Manage applications, individual application dialog box message. Shown when the user somehow got into a state where it wants to manage some app that isn't found. -->
|
||||||
|
|||||||
@@ -491,7 +491,8 @@ public class AppStorageSettings extends AppInfoWithHeader
|
|||||||
return new AlertDialog.Builder(getActivity())
|
return new AlertDialog.Builder(getActivity())
|
||||||
.setTitle(getActivity().getText(R.string.clear_data_dlg_title))
|
.setTitle(getActivity().getText(R.string.clear_data_dlg_title))
|
||||||
.setMessage(getActivity().getText(R.string.clear_data_dlg_text))
|
.setMessage(getActivity().getText(R.string.clear_data_dlg_text))
|
||||||
.setPositiveButton(R.string.dlg_ok, new DialogInterface.OnClickListener() {
|
.setPositiveButton(R.string.dlg_delete,
|
||||||
|
new DialogInterface.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
// Clear user data here
|
// Clear user data here
|
||||||
initiateClearUserData();
|
initiateClearUserData();
|
||||||
|
|||||||
Reference in New Issue
Block a user