2007-05-10 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: fix privacy settings * src/GrampsDb/_WriteXML.py: fix privacy settings * src/LdsUtils.py: updated temple codes * src/DbLoader.py: try to handle default directory better * src/LdsOrd.py: Update from bug tracker (#925) submitted by robocoder svn: r8460
This commit is contained in:
parent
7b413ad8f6
commit
cba30529cd
@ -1,3 +1,9 @@
|
|||||||
|
2007-05-10 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/GrampsDb/_ReadXML.py: fix privacy settings
|
||||||
|
* src/GrampsDb/_WriteXML.py: fix privacy settings
|
||||||
|
* src/LdsUtils.py: updated temple codes
|
||||||
|
* src/DbLoader.py: try to handle default directory better
|
||||||
|
|
||||||
2007-05-10 Benny Malengier <bm@cage.ugent.be>
|
2007-05-10 Benny Malengier <bm@cage.ugent.be>
|
||||||
* src/GrampsDb/_ReadXML.py: partly fix #1053, import privacy of person, family,
|
* src/GrampsDb/_ReadXML.py: partly fix #1053, import privacy of person, family,
|
||||||
media, source, place and repo correct. Still to do: sourceref and lds_ordinance
|
media, source, place and repo correct. Still to do: sourceref and lds_ordinance
|
||||||
@ -7,6 +13,7 @@
|
|||||||
* src/DataViews/_PedigreeView.py: Some rendering fixes for RTL locales
|
* src/DataViews/_PedigreeView.py: Some rendering fixes for RTL locales
|
||||||
|
|
||||||
2007-05-09 Don Allingham <don@gramps-project.org>
|
2007-05-09 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/LdsOrd.py: Update from bug tracker (#925) submitted by robocoder
|
||||||
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_name_aka): patch submitted
|
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_name_aka): patch submitted
|
||||||
on bug tracker for AKA parameter missing (#1034)
|
on bug tracker for AKA parameter missing (#1034)
|
||||||
|
|
||||||
|
@ -513,12 +513,12 @@ def get_default_dir():
|
|||||||
default_dir += os.path.sep
|
default_dir += os.path.sep
|
||||||
if len(default_dir)<=1:
|
if len(default_dir)<=1:
|
||||||
default_dir = Config.get(Config.RECENT_IMPORT_DIR)
|
default_dir = Config.get(Config.RECENT_IMPORT_DIR)
|
||||||
if len(default_dir)<=1:
|
if not default_dir or len(default_dir)<=1:
|
||||||
default_dir = Config.get(Config.RECENT_EXPORT_DIR)
|
default_dir = Config.get(Config.RECENT_EXPORT_DIR)
|
||||||
if len(default_dir)<=1:
|
if not default_dir or len(default_dir)<=1:
|
||||||
default_dir = '~/'
|
default_dir = os.path.expanduser('~/')
|
||||||
else:
|
else:
|
||||||
default_dir = "~/"
|
default_dir = os.path.expanduser("~/")
|
||||||
return default_dir
|
return default_dir
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -677,6 +677,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
gramps_id = self.map_pid(attrs['ref'])
|
gramps_id = self.map_pid(attrs['ref'])
|
||||||
self.placeobj = self.find_place_by_gramps_id(gramps_id)
|
self.placeobj = self.find_place_by_gramps_id(gramps_id)
|
||||||
|
self.placeobj.private = bool(attrs.get("priv"))
|
||||||
|
|
||||||
def start_placeobj(self,attrs):
|
def start_placeobj(self,attrs):
|
||||||
gramps_id = self.map_pid(attrs['id'])
|
gramps_id = self.map_pid(attrs['id'])
|
||||||
@ -896,6 +897,8 @@ class GrampsParser(UpdateCallback):
|
|||||||
self.person = self.find_person_by_gramps_id(new_id)
|
self.person = self.find_person_by_gramps_id(new_id)
|
||||||
|
|
||||||
self.person.private = bool(attrs.get("priv"))
|
self.person.private = bool(attrs.get("priv"))
|
||||||
|
self.person.private = bool(attrs.get("priv"))
|
||||||
|
|
||||||
# Old and new markers: complete=1 and marker=word both have to work
|
# Old and new markers: complete=1 and marker=word both have to work
|
||||||
if attrs.get('complete'): # this is only true for complete=1
|
if attrs.get('complete'): # this is only true for complete=1
|
||||||
self.person.marker.set(RelLib.MarkerType.COMPLETE)
|
self.person.marker.set(RelLib.MarkerType.COMPLETE)
|
||||||
@ -974,7 +977,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
url = RelLib.Url()
|
url = RelLib.Url()
|
||||||
url.path = attrs["href"]
|
url.path = attrs["href"]
|
||||||
url.set_description(attrs.get("description",''))
|
url.set_description(attrs.get("description",''))
|
||||||
url.privacy = bool(attrs.get('priv'))
|
url.private = bool(attrs.get('priv'))
|
||||||
url.type.set_from_xml_str(attrs['type'])
|
url.type.set_from_xml_str(attrs['type'])
|
||||||
if self.person:
|
if self.person:
|
||||||
self.person.add_url(url)
|
self.person.add_url(url)
|
||||||
@ -999,6 +1002,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
# Here we need to support old format of <family type="Married">
|
# Here we need to support old format of <family type="Married">
|
||||||
if attrs.has_key('type'):
|
if attrs.has_key('type'):
|
||||||
self.family.type.set_from_xml_str(attrs["type"])
|
self.family.type.set_from_xml_str(attrs["type"])
|
||||||
|
self.family.private = bool(attrs.get("priv"))
|
||||||
|
|
||||||
# Old and new markers: complete=1 and marker=word both have to work
|
# Old and new markers: complete=1 and marker=word both have to work
|
||||||
if attrs.get('complete'): # this is only true for complete=1
|
if attrs.get('complete'): # this is only true for complete=1
|
||||||
@ -1106,6 +1110,8 @@ class GrampsParser(UpdateCallback):
|
|||||||
|
|
||||||
self.source_ref.ref = handle
|
self.source_ref.ref = handle
|
||||||
self.source_ref.confidence = int(attrs.get("conf",self.conf))
|
self.source_ref.confidence = int(attrs.get("conf",self.conf))
|
||||||
|
self.source_ref.private = bool(attrs.get("priv"))
|
||||||
|
|
||||||
if self.photo:
|
if self.photo:
|
||||||
self.photo.add_source_reference(self.source_ref)
|
self.photo.add_source_reference(self.source_ref)
|
||||||
elif self.ord:
|
elif self.ord:
|
||||||
@ -1142,7 +1148,6 @@ class GrampsParser(UpdateCallback):
|
|||||||
self.source.set_gramps_id(gramps_id)
|
self.source.set_gramps_id(gramps_id)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self.source = self.find_source_by_gramps_id(gramps_id)
|
self.source = self.find_source_by_gramps_id(gramps_id)
|
||||||
|
|
||||||
self.source.private = bool(attrs.get("priv"))
|
self.source.private = bool(attrs.get("priv"))
|
||||||
|
|
||||||
def start_reporef(self,attrs):
|
def start_reporef(self,attrs):
|
||||||
@ -1191,6 +1196,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
self.object.set_gramps_id(gramps_id)
|
self.object.set_gramps_id(gramps_id)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self.object = self.find_object_by_gramps_id(gramps_id)
|
self.object = self.find_object_by_gramps_id(gramps_id)
|
||||||
|
self.object.private = bool(attrs.get("priv"))
|
||||||
|
|
||||||
# GRAMPS LEGACY: src, mime, and description attributes
|
# GRAMPS LEGACY: src, mime, and description attributes
|
||||||
# now belong to the <file> tag. Here we are supporting
|
# now belong to the <file> tag. Here we are supporting
|
||||||
@ -1213,7 +1219,6 @@ class GrampsParser(UpdateCallback):
|
|||||||
self.repo.set_gramps_id(gramps_id)
|
self.repo.set_gramps_id(gramps_id)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self.repo = self.find_repository_by_gramps_id(gramps_id)
|
self.repo = self.find_repository_by_gramps_id(gramps_id)
|
||||||
|
|
||||||
self.repo.private = bool(attrs.get("priv"))
|
self.repo.private = bool(attrs.get("priv"))
|
||||||
|
|
||||||
def stop_people(self,*tag):
|
def stop_people(self,*tag):
|
||||||
|
@ -614,7 +614,9 @@ class XmlWriter(UpdateCallback):
|
|||||||
|
|
||||||
sp = " " * index
|
sp = " " * index
|
||||||
sp2 = " " * (index+1)
|
sp2 = " " * (index+1)
|
||||||
self.g.write('%s<lds_ord type="%s">\n' % (sp,name))
|
|
||||||
|
priv = conf_priv(ord)
|
||||||
|
self.g.write('%s<lds_ord type="%s"%s>\n' % (sp,name,priv))
|
||||||
dateobj = ord.get_date_object()
|
dateobj = ord.get_date_object()
|
||||||
if dateobj and not dateobj.is_empty():
|
if dateobj and not dateobj.is_empty():
|
||||||
self.write_date(dateobj,index+1)
|
self.write_date(dateobj,index+1)
|
||||||
@ -643,13 +645,17 @@ class XmlWriter(UpdateCallback):
|
|||||||
d = source_ref.get_date_object()
|
d = source_ref.get_date_object()
|
||||||
q = source_ref.get_confidence_level()
|
q = source_ref.get_confidence_level()
|
||||||
self.g.write(" " * index)
|
self.g.write(" " * index)
|
||||||
|
|
||||||
|
priv = conf_priv(source_ref)
|
||||||
|
|
||||||
if p == "" and c == "" and t == "" and d.is_empty() and q == 2:
|
if p == "" and c == "" and t == "" and d.is_empty() and q == 2:
|
||||||
self.g.write('<sourceref hlink="%s"/>\n' % ("_"+source.get_handle()))
|
self.g.write('<sourceref hlink="%s"%s/>\n' % ("_"+source.get_handle(), priv))
|
||||||
else:
|
else:
|
||||||
if q == 2:
|
if q == 2:
|
||||||
self.g.write('<sourceref hlink="%s">\n' % ("_"+source.get_handle()))
|
self.g.write('<sourceref hlink="%s"%s>\n' % ("_"+source.get_handle(), priv))
|
||||||
else:
|
else:
|
||||||
self.g.write('<sourceref hlink="%s" conf="%d">\n' % ("_"+source.get_handle(),q))
|
self.g.write('<sourceref hlink="%s" conf="%d"%s>\n' % (
|
||||||
|
"_"+source.get_handle(),q, priv))
|
||||||
self.write_line("spage",p,index+1)
|
self.write_line("spage",p,index+1)
|
||||||
self.write_text("scomments",c,index+1)
|
self.write_text("scomments",c,index+1)
|
||||||
self.write_text("stext",t,index+1)
|
self.write_text("stext",t,index+1)
|
||||||
|
@ -20,148 +20,153 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
|
||||||
#Updated LDS Temple Codes from:
|
|
||||||
#http://www.geocities.com/rgpassey/temple/abclist.htm
|
|
||||||
#Confirmed against Temple Codes list recieved from Raliegh Temple
|
|
||||||
#Last update: 1/12/02
|
|
||||||
#-------------------------------------------------------------------------
|
|
||||||
temples = (
|
temples = (
|
||||||
# Temple Name , Code , [Old Codes...]
|
# Temple Name , Code , [Old Codes...]
|
||||||
("Aba, Nigeria" , "ABA", ),
|
("Aba, Nigeria" , "ABA", ),
|
||||||
("Accra, Ghana" , "ACCRA", ),
|
("Accra, Ghana" , "ACCRA", ),
|
||||||
("Adelaide, Australia" , "ADELA", ),
|
("Adelaide, Australia" , "ADELA", ),
|
||||||
("Albuquerque, New Mexico" , "ALBUQ", ),
|
("Albuquerque, New Mexico" , "ALBUQ", ),
|
||||||
("Anchorage, Alaska" , "ANCHO", ),
|
("Anchorage, Alaska" , "ANCHO", ),
|
||||||
("Apia, Samoa" , "APIA", "AP"),
|
("Apia, Samoa" , "APIA", "SAMOA", "AP"),
|
||||||
("Asuncion, Paraguay" , "ASUNC", ),
|
("Asuncion, Paraguay" , "ASUNC", ),
|
||||||
("Atlanta, Georgia" , "ATLAN", "AT"),
|
("Atlanta, Georgia" , "ATLAN", "AT"),
|
||||||
("Baton Rouge, Louisiana" , "BROUG", ),
|
("Baton Rouge, Louisiana" , "BROUG", ),
|
||||||
("Bern, Switzerland" , "SWISS", "SW"),
|
("Bern, Switzerland" , "SWISS", "SW"),
|
||||||
("Billings, Montana" , "BILLI", ),
|
("Billings, Montana" , "BILLI", ),
|
||||||
("Birmingham, Alabama" , "BIRMI", ),
|
("Birmingham, Alabama" , "BIRMI", ),
|
||||||
("Bismarck, North Dakota" , "BISMA", ),
|
("Bismarck, North Dakota" , "BISMA", ),
|
||||||
("Bogota, Columbia" , "BOGOT", "BG"),
|
("Bogota, Columbia" , "BOGOT", "BG"),
|
||||||
("Boise, Idaho" , "BOISE", "BO"),
|
("Boise, Idaho" , "BOISE", "BO"),
|
||||||
("Boston, Massachusetts" , "BOSTO", ),
|
("Boston, Massachusetts" , "BOSTO", ),
|
||||||
("Bountiful, Utah" , "BOUNT", ),
|
("Bountiful, Utah" , "BOUNT", ),
|
||||||
("Brisban, Australia" , "BRISB", ),
|
("Brisbane, Australia" , "BRISB", ),
|
||||||
("Buenos Aires, Argentina" , "BAIRE", "BA"),
|
("Buenos Aires, Argentina" , "BAIRE", "BA"),
|
||||||
("Campinas, Brazil" , "CAMPI", ),
|
("Campinas, Brazil" , "CAMPI", ),
|
||||||
("Caracas, Venezuela" , "CARAC", ),
|
("Caracas, Venezuela" , "CARAC", ),
|
||||||
("Cardston, Alberta" , "ALBER", "AL", "ALBR"),
|
("Cardston, Alberta" , "ALBER", "AL", "ALBR"),
|
||||||
("Chicago, Illinois" , "CHICA", "CH"),
|
("Cebu, Philippines" , "CEBU", ),
|
||||||
("Ciudad Juarez, Chihuahua" , "CIUJU", ),
|
("Chicago, Illinois" , "CHICA", "CH"),
|
||||||
("Cochabamba, Boliva" , "COCHA", ),
|
("Ciudad Juarez, Mexico" , "CIUJU", ),
|
||||||
("Colonia Juarez, Chihuahua" , "COLJU", ),
|
("Cochabamba, Boliva" , "COCHA", ),
|
||||||
("Columbia, South Carolina" , "COLSC", ),
|
("Colonia Juarez, Chihuahua, Mexico" , "COLJU", ),
|
||||||
("Columbia River, Washington" , "CRIVE", ),
|
("Columbia, South Carolina" , "COLSC", ),
|
||||||
("Columbus, Ohio" , "COLUM", ),
|
("Columbia River, Washington" , "CRIVE", ),
|
||||||
("Copenhagen, Denmark" , "COPEN", ),
|
("Columbus, Ohio" , "COLUM", ),
|
||||||
("Curitiba, Brazil" , "CURIT", ),
|
("Copenhagen, Denmark" , "COPEN", ),
|
||||||
("Manhattan, New York" , "MANHA", ),
|
("Curitiba, Brazil" , "CURIT", ),
|
||||||
("Panama City, Panama" , "PCITY", ),
|
("Dallas, Texas" , "DALLA", "DA"),
|
||||||
("Dallas, Texas" , "DALLA", "DA"),
|
("Denver, Colorado" , "DENVE", "DV"),
|
||||||
("Denver, Colorado" , "DENVE", "DV"),
|
("Detroit, Michigan" , "DETRO", ),
|
||||||
("Detroit, Michigan" , "DETRO", ),
|
("Draper, Utah" , "DRAPE", ),
|
||||||
("Edmonton, Alberta" , "EDMON", ),
|
("Edmonton, Alberta" , "EDMON", ),
|
||||||
("Frankfurt, Germany" , "FRANK", "FR"),
|
("Frankfurt, Germany" , "FRANK", "FR"),
|
||||||
("Fresno, California" , "FRESN", ),
|
("Freiberg, Germany" , "FREIB", "FD"),
|
||||||
("Freiberg, Germany" , "FREIB", "FD"),
|
("Fresno, California" , "FRESN", ),
|
||||||
("Fukuoka, Japan" , "FUKUO", ),
|
("Fukuoka, Japan" , "FUKUO", ),
|
||||||
("Guadalajara, Jalisco" , "GUADA", ),
|
("Guadalajara, Mexico" , "GUADA", ),
|
||||||
("Guatamala City, Guatamala" , "GUATE", "GA"),
|
("Guatemala City, Guatemala" , "GUATE", "GA", "GU"),
|
||||||
("Guayaquil, Ecuador" , "GUAYA", "GY"),
|
("Guayaquil, Ecuador" , "GUAYA", "GY"),
|
||||||
("Halifax, Noca Scotia" , "HALIF", ),
|
("Halifax, Nova Scotia" , "HALIF", ),
|
||||||
("Hamilton, New Zealand" , "NZEAL", "NZ"),
|
("Hamilton, New Zealand" , "NZEAL", "NZ"),
|
||||||
("Harrison, New York" , "NYORK", ),
|
("Harrison, New York" , "HARRI", "NYORK"),
|
||||||
("Hartford, Connecticut" , "HARTF", ),
|
("Hartford, Connecticut" , "HARTF", ),
|
||||||
("Helsinki, Finland" , "HELSI", ),
|
("Helsinki, Finland" , "HELSI", ),
|
||||||
("Hermosillo, Sonora" , "HERMO", ),
|
("Hermosillo, Sonora, Mexico" , "HERMO", ),
|
||||||
("Hong Kong, China" , "HKONG", ),
|
("Hong Kong, China" , "HKONG", ),
|
||||||
("Houston, Texas" , "HOUST", ),
|
("Houston, Texas" , "HOUST", ),
|
||||||
("Idaho Falls, Idaho" , "IFALL", ),
|
("Idaho Falls, Idaho" , "IFALL", "IF"),
|
||||||
("Johannesburg, South Africa" , "JOHAN", "JO"),
|
("Johannesburg, South Africa" , "JOHAN", "JO"),
|
||||||
("Jordan River, Utah" , "JRIVE", "JR"),
|
("Jordan River, Utah" , "JRIVE", "JR"),
|
||||||
("Kialua Kona, Hawaii" , "KONA", ),
|
("Kona, Hawaii" , "KONA", ),
|
||||||
("Kiev, Ukraine" , "KIEV", ),
|
("Kiev, Ukraine" , "KIEV", ),
|
||||||
("Laie, Hawaii" , "HAWAI", "HA"),
|
("Kirtland, Ohio" , "KIRTL", ),
|
||||||
("Las Vegas, Nevada" , "LVEGA", "LV"),
|
("Laie, Hawaii" , "HAWAI", "HA"),
|
||||||
("Lima, Peru" , "LIMA" , "LI"),
|
("Las Vegas, Nevada" , "LVEGA", "LV"),
|
||||||
("Logan, Utah" , "LOGAN", "LG"),
|
("Lima, Peru" , "LIMA" , "LI"),
|
||||||
("London, England" , "LONDO", "LD"),
|
("Logan, Utah" , "LOGAN", "LG"),
|
||||||
("Los Angeles, California" , "LANGE", "LA"),
|
("London, England" , "LONDO", "LD"),
|
||||||
("Louisville, Kentucky" , "LOUIS", ),
|
("Los Angeles, California" , "LANGE", "LA"),
|
||||||
("Lubbock, Texas" , "LUBBO", ),
|
("Louisville, Kentucky" , "LOUIS", ),
|
||||||
("Madrid, Spain" , "MADRI", ),
|
("Lubbock, Texas" , "LUBBO", ),
|
||||||
("Manila, Philippines" , "MANIL", "MA"),
|
("Madrid, Spain" , "MADRI", ),
|
||||||
("Manti, Utah" , "MANTI", "MT"),
|
("Manhattan, New York" , "MANHA", ),
|
||||||
("Medford, Oregon" , "MEDFO", ),
|
("Manila, Philippines" , "MANIL", "MA"),
|
||||||
("Melbourne, Australia" , "MELBO", ),
|
("Manti, Utah" , "MANTI", "MT"),
|
||||||
("Melphis, Tennessee" , "MEMPH", ),
|
("Medford, Oregon" , "MEDFO", ),
|
||||||
("Merida, Yucatan" , "MERID", ),
|
("Melbourne, Australia" , "MELBO", ),
|
||||||
("Mesa, Arizona" , "ARIZO", "AZ"),
|
("Memphis, Tennessee" , "MEMPH", ),
|
||||||
("Mexico City, Mexico" , "MEXIC", "MX"),
|
("Merida, Mexico" , "MERID", ),
|
||||||
("Monterrey, Nuevo Leon" , "MONTE", ),
|
("Mesa, Arizona" , "ARIZO", "AZ"),
|
||||||
("Montevideo, Uruguay" , "MNTVD", ),
|
("Mexico City, Mexico" , "MEXIC", "MX"),
|
||||||
("Monticello, Utah" , "MONTI", ),
|
("Monterrey, Mexico" , "MONTE", ),
|
||||||
("Montreal, Quebec" , "MONTR", ),
|
("Montevideo, Uruguay" , "MNTVD", ),
|
||||||
("Mt. Timpanogos, Utah" , "MTIMP", ),
|
("Monticello, Utah" , "MONTI", ),
|
||||||
("Nashville, Tennessee" , "NASHV", ),
|
("Montreal, Quebec" , "MONTR", ),
|
||||||
("Nauvoo, Illinois" , "NAUVO", ),
|
("Mt. Timpanogos, Utah" , "MTIMP", ),
|
||||||
("Nauvoo, Illinois (New)," , "NAUV2", ),
|
("Nashville, Tennessee" , "NASHV", ),
|
||||||
("Newport Beach, California" , "NBEAC", ),
|
("Nauvoo, Illinois" , "NAUVO", "NV"),
|
||||||
("Nuku'alofa, Tonga" , "NUKUA", "TG"),
|
("Nauvoo, Illinois (New)" , "NAUV2", ),
|
||||||
("Oakland, California" , "OAKLA", "OK"),
|
("Newport Beach, California" , "NBEAC", ),
|
||||||
("Oaxaca, Oaxaca" , "OAKAC", ),
|
("Nuku'alofa, Tonga" , "NUKUA", "TG"),
|
||||||
("Ogden, Utah" , "OGDEN", "OG"),
|
("Oakland, California" , "OAKLA", "OK"),
|
||||||
("Oklahoma City, Oklahoma" , "OKLAH", ),
|
("Oaxaca, Mexico" , "OAXAC", ),
|
||||||
("Orlando, Florida" , "ORLAN", ),
|
("Ogden, Utah" , "OGDEN", "OG"),
|
||||||
("Palmayra, New York" , "PALMY", ),
|
("Oklahoma City, Oklahoma" , "OKLAH", ),
|
||||||
("Papeete, Tahiti" , "PAPEE", "TA"),
|
("Oquirrh Mountain, Utah" , "OMOUN", ),
|
||||||
("Perth, Australia" , "PERTH", ),
|
("Orlando, Florida" , "ORLAN", ),
|
||||||
("Portland, Oregon" , "PORTL", "PT"),
|
("Palmyra, New York" , "PALMY", ),
|
||||||
("Porto Alegre, Brazil" , "PALEG", ),
|
("Panama City, Panama" , "PANAM", ),
|
||||||
("Preston, England" , "PREST", ),
|
("Papeete, Tahiti" , "PAPEE", "TA"),
|
||||||
("Provo, Utah" , "PROVO", "PV"),
|
("Perth, Australia" , "PERTH", ),
|
||||||
("Raleigh, North Carolina" , "RALEI", ),
|
("Portland, Oregon" , "PORTL", "PT"),
|
||||||
("Recife, Brazil" , "RECIF", ),
|
("Porto Alegre, Brazil" , "PALEG", ),
|
||||||
("Redlands, California" , "REDLA", ),
|
("Preston, England" , "PREST", ),
|
||||||
("Regina, Saskatchewan" , "REGIN", ),
|
("Provo, Utah" , "PROVO", "PV"),
|
||||||
("Reno, Nevada" , "RENO", ),
|
("Quetzaltenango, Guatemala" , "QUETZ", ),
|
||||||
("Sacramento, California" , "SACRA", ),
|
("Raleigh, North Carolina" , "RALEI", ),
|
||||||
("St. George, Utah" , "SGEOR", "SG"),
|
("Recife, Brazil" , "RECIF", ),
|
||||||
("St. Louis, Missouri" , "SLOUI", ),
|
("Redlands, California" , "REDLA", ),
|
||||||
("St. Paul, Minnesota" , "SPMIN", ),
|
("Regina, Saskatchewan" , "REGIN", ),
|
||||||
("Salt Lake City, Utah" , "SLAKE", "SL"),
|
("Reno, Nevada" , "RENO", ),
|
||||||
("San Diego, California" , "SDIEG", "SA"),
|
("Rexburg, Idaho" , "REXBU", ),
|
||||||
("San Antonio, Texas" , "SANTO", ),
|
("Sacramento, California" , "SACRA", ),
|
||||||
("San Jose, Costa Rica" , "SJOSE", ),
|
("St. George, Utah" , "SGEOR", "SG"),
|
||||||
("Santiago, Chile" , "SANTI", "SN"),
|
("St. Louis, Missouri" , "SLOUI", ),
|
||||||
|
("St. Paul, Minnesota" , "SPMIN", ),
|
||||||
|
("Salt Lake City, Utah" , "SLAKE", "SL"),
|
||||||
|
("San Antonio, Texas" , "SANTO", ),
|
||||||
|
("San Diego, California" , "SDIEG", "SA"),
|
||||||
|
("San Jose, Costa Rica" , "SJOSE", ),
|
||||||
|
("Santiago, Chile" , "SANTI", "SN"),
|
||||||
("Santo Domingo, Dominican Republic" , "SDOMI", ),
|
("Santo Domingo, Dominican Republic" , "SDOMI", ),
|
||||||
("Sao Paulo, Brazil" , "SPAUL", "SP"),
|
("Sao Paulo, Brazil" , "SPAUL", "SP"),
|
||||||
("Seattle, Washington" , "SEATT", "SE"),
|
("Seattle, Washington" , "SEATT", "SE"),
|
||||||
("Seoul, South Korea" , "SEOUL", "SO"),
|
("Seoul, South Korea" , "SEOUL", "SO"),
|
||||||
("Snowflake, Arizona" , "SNOWF", ),
|
("Snowflake, Arizona" , "SNOWF", ),
|
||||||
("Spokane, Washington" , "SPOKA", ),
|
("Spokane, Washington" , "SPOKA", ),
|
||||||
("Stockholm, Sweden" , "STOCK", "ST"),
|
("Stockholm, Sweden" , "STOCK", "ST"),
|
||||||
("Suva, Fiji" , "SUVA", ),
|
("Suva, Fiji" , "SUVA", ),
|
||||||
("Sydney, Australia" , "SYDNE", "SD"),
|
("Sydney, Australia" , "SYDNE", "SD"),
|
||||||
("Taipei, Taiwan" , "TAIPE", "TP"),
|
("Taipei, Taiwan" , "TAIPE", "TP"),
|
||||||
("Tampico, Tamaulipas" , "TAMPI", ),
|
("Tampico, Mexico" , "TAMPI", ),
|
||||||
("The Hague, Netherlands" , "HAGUE", ),
|
("Tegucigalpa, Honduras" , "TEGUC", ),
|
||||||
("Tokyo, Japan" , "TOKYO", "TK"),
|
("The Hague, Netherlands" , "HAGUE", ),
|
||||||
("Toronto, Ontario" , "TORNO", "TR"),
|
("Tokyo, Japan" , "TOKYO", "TK"),
|
||||||
("Tuxtla Gutierrez, Chiapas" , "TGUTI", ),
|
("Toronto, Ontario" , "TORON", "TORNO", "TR"),
|
||||||
("Vera Cruz, Vera Cruz" , "VERAC", ),
|
("Tuxtla Gutierrez, Mexico" , "TGUTI", ),
|
||||||
("Vernal, Utah" , "VERNA", ),
|
("Twin Falls, Idaho" , "TFALL", "TWINF"),
|
||||||
("Villahermosa, Tabasco" , "VILLA", ),
|
("Vancouver, British Columbia" , "VANCO", ),
|
||||||
("Washington, D.C." , "WASHI", "WA"),
|
("Veracruz, Mexico" , "VERAC", ),
|
||||||
("Winter Quarters, Nebraska" , "WINTE", ),
|
("Vernal, Utah" , "VERNA", ),
|
||||||
|
("Villahermosa, Mexico" , "VILLA", ),
|
||||||
|
("Washington, D.C." , "WASHI", "WA"),
|
||||||
|
("Winter Quarters, Nebraska" , "WINTE", "WQUAR"),
|
||||||
|
|
||||||
#Other Places, Not temples.
|
# Other places. Not temples.
|
||||||
("Endowment House" , "EHOUS", "EH"),
|
("Endowment House" , "EHOUS", "EH"),
|
||||||
("President's Office" , "POFFI", ),
|
("President's Office" , "POFFI", "PO"),
|
||||||
|
("Historian's Office" , "HOFFI", "HO"),
|
||||||
|
("Other" , "OTHER", ),
|
||||||
)
|
)
|
||||||
|
|
||||||
temple_codes = {}
|
temple_codes = {}
|
||||||
|
@ -161,7 +161,6 @@ class LdsOrd(SecondaryObject, SourceBase, NoteBase,
|
|||||||
@rtype: list
|
@rtype: list
|
||||||
"""
|
"""
|
||||||
return [self.temple]
|
return [self.temple]
|
||||||
#return [self.temple,self.get_date()]
|
|
||||||
|
|
||||||
def get_text_data_child_list(self):
|
def get_text_data_child_list(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user