summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorblong <blong@codeaurora.org>2013-12-23 17:34:40 +0800
committerRoman Birg <roman@cyngn.com>2014-09-02 14:06:11 -0700
commit61df6467effbb5456df0b3c6f37f6884bfce35fa (patch)
tree9dd6616418c3b861b6830512566a34a4ce6f76ea /res
parent39fd6aa82682ec88d0d6a1d52a4d247dbffbb560 (diff)
downloadpackages_apps_ContactsCommon-61df6467effbb5456df0b3c6f37f6884bfce35fa.tar.gz
packages_apps_ContactsCommon-61df6467effbb5456df0b3c6f37f6884bfce35fa.tar.bz2
packages_apps_ContactsCommon-61df6467effbb5456df0b3c6f37f6884bfce35fa.zip
Add import/export contacts from/to SIM card
- add the support to import/exports contacts from/to SIM card - add the support to auto split contacts according email and phone number when export to SIM card - add the interface to copy contacts during phone and SIM card Change-Id: I8337bfa34bcffbaed3576389b3951c945eba0400
Diffstat (limited to 'res')
-rw-r--r--res/values/cm_strings.xml56
-rw-r--r--res/values/ids.xml8
-rw-r--r--res/values/strings.xml2
3 files changed, 64 insertions, 2 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index e79cadc5..c890ee58 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -37,4 +37,60 @@
<string name="fail_reason_import_vcard">I/O error,couldn\'t import vCard <xliff:g id="name">%s</xliff:g></string>
<string name="label_groups">Group</string>
+
+ <!-- Toast indicating that sharing too many contact has failed. [CHAR LIMIT=NONE] -->
+ <string name="share_failed">Too many contacts, share failed</string>
+
+ <string name="exporting">Exporting</string>
+
+ <!-- Message while reading multiple vCard files "(current number) of (total number) files"
+ The order of "current number" and "total number" cannot be changed -->
+ <string name="reading_vcard_files"><xliff:g id="current_number">%1$s</xliff:g> of <xliff:g id="total_number">%2$s</xliff:g> files</string>
+
+ <string name="progressdialog_cancel">Cancel</string>
+
+ <string name="export_failed">Export failed</string>
+
+ <string name="sim_card_full">Error, Sim Card is full.</string>
+
+ <string name="export_finished">Export finished</string>
+
+ <string name="tag_too_long">Error, Contact name is too long.</string>
+
+ <string name="export_cancelled">Export is canceled, <xliff:g id="insertCount">%s</xliff:g>items are exported</string>
+
+ <string name="export_no_phone_or_email">Export failed, <xliff:g id="name">%s</xliff:g>has not phone number or
+ email address</string>
+
+ <string name="import_from_sim_select">Choose card to import</string>
+
+ <!-- Dialog title shown when (USB) storage does not exist [CHAR LIMIT=25] -->
+ <string name="no_sdcard_title" product="nosdcard">Storage unavailable</string>
+ <!-- Dialog title shown when SD Card does not exist -->
+ <string name="no_sdcard_title" product="default">No SD card</string>
+
+ <!-- Confirmation dialog title after users selects to delete a contact. [CHAR LIMIT=25]-->
+ <string name="deleteConfirmation_title">Delete contact?</string>
+
+ <!-- Confirmation dialog contents after users selects to delete a Writable contact. -->
+ <string name="deleteConfirmation">This contact will be deleted.</string>
+
+ <!-- Warning dialog contents after users selects to delete a contact. -->
+ <string name="readOnlyContactDeleteConfirmation">This contact contains information from multiple
+ accounts. Information from read-only accounts will be hidden in your contacts lists,
+ not deleted.</string>
+
+ <!-- Warning dialog contents after users selects to delete a ReadOnly contact-->
+ <string name="readOnlyContactWarning">You can\'t delete contacts from read-only accounts,
+ but you can hide them in your contacts lists.</string>
+
+ <!-- Warning dialog contents after users selects to delete a contact with multiple Writable sources. -->
+ <string name="multipleContactDeleteConfirmation">Deleting this contact will delete information
+ from multiple accounts.</string>
+ <!-- The slot common name -->
+ <string name="slot_name">SIM</string>
+
+ <string name="copy_done">Copy done!</string>
+ <string name="copy_failure">Copy Failed!</string>
+ <string name="card_no_space">Card has no space ,some record copy failed</string>
</resources>
diff --git a/res/values/ids.xml b/res/values/ids.xml
index 093901ba..d106c0e9 100644
--- a/res/values/ids.xml
+++ b/res/values/ids.xml
@@ -45,4 +45,12 @@
<item type="id" name="tag_display_name"/>
<item type="id" name="tag_identifier"/>
<item type="id" name="tag_contact_type"/>
+
+ <!-- For ContactDeletionInteraction -->
+ <item type="id" name="dialog_delete_contact_confirmation"/>
+
+ <!-- For ContactsListActivity -->
+ <item type="id" name="dialog_readonly_contact_hide_confirmation"/>
+ <item type="id" name="dialog_readonly_contact_delete_confirmation"/>
+ <item type="id" name="dialog_multiple_contact_delete_confirmation"/>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c6b6c059..c63fb33d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -416,9 +416,7 @@ a ren't members of any other group. [CHAR LIMIT=25] -->
<string name="dialog_new_contact_account">Create contact under account</string>
<!-- Action string for selecting SIM for importing contacts -->
- <!--
<string name="import_from_sim">Import from SIM card</string>
- -->
<!-- Action string for selecting (USB) storage for importing contacts [CHAR LIMIT=30] -->
<string name="import_from_sdcard" product="default">Import from storage</string>