summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2014-06-30 20:52:24 +0000
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-06-30 20:52:24 +0000
commitf5359925f5492d399190f8fed3884d9b45f46eac (patch)
tree5bb305c3b85f9efcaec35a5ff0b0763746b6e453 /res
parent8a4d46b82d447cf0f68c14f14fab2cc419789d73 (diff)
parent6b1870214493abb004c296467fc08bdbdfb7f27d (diff)
downloadandroid_packages_apps_Email-cm-11.0-XNPH33R-bacon-3628510d76.tar.gz
android_packages_apps_Email-cm-11.0-XNPH33R-bacon-3628510d76.tar.bz2
android_packages_apps_Email-cm-11.0-XNPH33R-bacon-3628510d76.zip
Merge "email: allow to remove an email account" into cm-11.0cm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505a
Diffstat (limited to 'res')
-rw-r--r--res/values/cm_strings.xml12
-rwxr-xr-xres/xml/account_settings_preferences.xml10
2 files changed, 22 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index b52549b5a..0be05c7e0 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -22,4 +22,16 @@
<string name="account_setup_options_mail_check_frequency_2hour">Every 2 hours</string>
<string name="account_setup_options_mail_check_frequency_4hour">Every 4 hours</string>
<string name="account_setup_options_mail_check_frequency_1day">Every day</string>
+
+ <!-- Account settings -->
+ <string name="account_settings">Account settings</string>
+
+ <!-- Delete account -->
+ <string name="delete_account_title">Delete account</string>
+ <string name="delete_account_summary">Delete this account and all its settings and data</string>
+ <string name="delete_account_confirmation_msg">This will delete all the settings and the emails
+ of the account <xliff:g id="account">%s</xliff:g>. This operation cannot be undone.\n\nContinue?</string>
+ <string name="deleting_account_msg">Deleting account\u2026</string>
+ <string name="delete_account_failed">Couldn\'t delete the account</string>
+
</resources>
diff --git a/res/xml/account_settings_preferences.xml b/res/xml/account_settings_preferences.xml
index 142a6c9b8..f0e6586cb 100755
--- a/res/xml/account_settings_preferences.xml
+++ b/res/xml/account_settings_preferences.xml
@@ -171,4 +171,14 @@
android:summary="@string/account_settings_retry_summary" />
</PreferenceCategory>
+ <PreferenceCategory
+ android:key="account_settings"
+ android:title="@string/account_settings">
+
+ <Preference
+ android:key="delete_account"
+ android:title="@string/delete_account_title"
+ android:summary="@string/delete_account_summary" />
+ </PreferenceCategory>
+
</PreferenceScreen>