aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/ename/e-name-western-tables.h
diff options
context:
space:
mode:
authorNat Friedman <nat@src.gnome.org>2000-04-06 13:21:29 +0800
committerNat Friedman <nat@src.gnome.org>2000-04-06 13:21:29 +0800
commit3d9889baee9c5c11cd960a43c0f51c449ce35b45 (patch)
tree7ed94e8a89455a0ba446e524e15db2defc4aef28 /e-util/ename/e-name-western-tables.h
parent2e4a5463075e387151afcdf61b74202a729944db (diff)
downloadgsoc2013-evolution-3d9889baee9c5c11cd960a43c0f51c449ce35b45.tar.gz
gsoc2013-evolution-3d9889baee9c5c11cd960a43c0f51c449ce35b45.tar.zst
gsoc2013-evolution-3d9889baee9c5c11cd960a43c0f51c449ce35b45.zip
Committing this thing I wrote last year to parse names. It's cute.
svn path=/trunk/; revision=2301
Diffstat (limited to 'e-util/ename/e-name-western-tables.h')
-rw-r--r--e-util/ename/e-name-western-tables.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/e-util/ename/e-name-western-tables.h b/e-util/ename/e-name-western-tables.h
new file mode 100644
index 0000000000..369d530edc
--- /dev/null
+++ b/e-util/ename/e-name-western-tables.h
@@ -0,0 +1,53 @@
+#ifndef __E_NAME_WESTERN_TABLES_H__
+#define __E_NAME_WESTERN_TABLES_H__
+
+char *e_name_western_pfx_table[] = {
+
+ /*
+ * English.
+ */
+ "mister", "miss.", "mr.", "mrs.", "ms.",
+ "miss", "mr", "mrs", "ms", "sir",
+ "professor", "prof.", "dr", "dr.", "doctor",
+ "reverend", "president", "judge", "senator",
+ "congressman", "congresswoman",
+
+ "the honorable", "the reverend", "his holiness",
+ "his eminence",
+
+
+ /*
+ * French.
+ */
+ "monsieur", "mr.", "mademoiselle", "melle.",
+ "madame", "mme.", "professeur",
+
+ /*
+ * Spanish.
+ */
+ "senor", "senora", "senorita",
+
+ NULL};
+
+char *e_name_western_sfx_table[] = {
+
+ /*
+ * English.
+ */
+ "junior", "senior", "jr", "sr", "I", "II", "III", "IV", "V",
+ "phd", "ms", "md", "esq", "esq.", "esquire",
+
+ NULL};
+
+char *e_name_western_twopart_sfx_table[] = {
+
+ /*
+ * English.
+ */
+ "the first", "the second", "the third",
+
+ NULL};
+
+char *e_name_western_complex_last_table[] = {"van", "von", "de", NULL};
+
+#endif /* ! __E_NAME_WESTERN_TABLES_H__ */