diff options
author | Dmitri Plotnikov <dplotnikov@google.com> | 2009-07-06 12:02:56 -0700 |
---|---|---|
committer | Dmitri Plotnikov <dplotnikov@google.com> | 2009-07-06 12:02:56 -0700 |
commit | 4097855e2d672b3f8e1c5c8a169efb80203bf53e (patch) | |
tree | 93b3fee3e7aed18e4dca7bda501cf0f15ad26599 /res | |
parent | a5ad551e1753086825499f1aeb6415bb986f3588 (diff) | |
download | packages_providers_ContactsProvider-4097855e2d672b3f8e1c5c8a169efb80203bf53e.zip packages_providers_ContactsProvider-4097855e2d672b3f8e1c5c8a169efb80203bf53e.tar.gz packages_providers_ContactsProvider-4097855e2d672b3f8e1c5c8a169efb80203bf53e.tar.bz2 |
ContactsProvider2: Parsing display name into structural parts.
Based on an algorithm by Ariel Gertzen.
Diffstat (limited to 'res')
-rw-r--r-- | res/values-en-rUS/strings.xml | 16 | ||||
-rw-r--r-- | res/values/strings.xml | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/res/values-en-rUS/strings.xml b/res/values-en-rUS/strings.xml index 542d811..7f4a168 100644 --- a/res/values-en-rUS/strings.xml +++ b/res/values-en-rUS/strings.xml @@ -96,6 +96,7 @@ <item>Maureen, Mo</item> <item>Maurice, Mo</item> <item>Megan, Meg</item> + <item>Michael, Mickey, Mick, Mike, Mikey</item> <item>Morris, Mo</item> <item>Nancy, Nan</item> <item>Nathan, Nat, Nate</item> @@ -138,4 +139,19 @@ <item>Yvonna, Vonna</item> <item>Zachary, Zach, Zack, Zac</item> </string-array> + <string name="common_name_prefixes"> + 1LT, 1ST, 2LT, 2ND, 3RD, ADMIRAL, CAPT, CAPTAIN, COL, CPT, DR, + GEN, GENERAL, LCDR, LT, LTC, LTG, LTJG, MAJ, MAJOR, MG, MR, + MRS, MS, PASTOR, PROF, REP, REVEREND, REV, SEN, ST + </string> + <string name="common_name_suffixes"> + B.A., BA, D.D.S., DDS, I, II, III, IV, IX, JR, M.A., M.D, MA, + MD, MS, PH.D., PHD, SR, V, VI, VII, VIII, X + </string> + <string name="common_last_name_prefixes"> + D', DE, DEL, DI, LA, LE, MC, SAN, ST, TER, VAN, VON + </string> + <string name="common_name_conjunctions"> + &, AND, OR + </string> </resources>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..90c9d5f --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <string-array name="common_nicknames"></string-array> + <string name="common_name_prefixes"></string> + <string name="common_name_suffixes"></string> + <string name="common_last_name_prefixes"></string> + <string name="common_name_conjunctions"></string> +</resources>
\ No newline at end of file |