Put back Titlecase versions of strings to be translated

This commit is contained in:
prculley 2016-09-06 10:10:47 -05:00
parent 8d989cc6f6
commit a9a259ebd0

View File

@ -154,19 +154,21 @@ class CSVParser:
self.place_types[custom_type] = 0 self.place_types[custom_type] = 0
self.place_types[custom_type.lower()] = 0 self.place_types[custom_type.lower()] = 0
column2label = { column2label = {
"surname": ("lastname", "last_name", "surname", _("surname")), "surname": ("lastname", "last_name", "surname", _("surname"),
_("Surname")),
"firstname": ("firstname", "first_name", "given_name", "given", "firstname": ("firstname", "first_name", "given_name", "given",
"given name", _("given name"), _("given")), "given name", _("given name"), _("given"),
_("Given"), _("Given name")),
"callname": ("call name", _("Call name"), "callname", "call_name", "callname": ("call name", _("Call name"), "callname", "call_name",
"call", _("call")), "call", _("Call"), _("call")),
"title": ("title", _("title"), _("Person or Place|title")), "title": ("title", _("title"), _("Person or Place|title")),
"prefix": ("prefix", _("prefix")), "prefix": ("prefix", _("prefix"), _("Prefix")),
"suffix": ("suffix", _("suffix")), "suffix": ("suffix", _("suffix"), _("Suffix")),
"gender": ("gender", _("gender")), "gender": ("gender", _("gender"), _("Gender")),
"source": ("source", _("source")), "source": ("source", _("source"), _("Source")),
"note": ("note", _("note")), "note": ("note", _("note"), _("Note")),
"birthplace": ("birthplace", "birth_place", "birth place", "birthplace": ("birthplace", "birth_place", "birth place",
_("birth place")), _("birth place"), _("Birth place")),
"birthplace_id": ("birthplaceid", "birth_place_id", "birthplace_id": ("birthplaceid", "birth_place_id",
"birth place id", _("birth place id"), "birth place id", _("birth place id"),
"birthplace_id"), "birthplace_id"),
@ -202,24 +204,26 @@ class CSVParser:
_("death cause")), _("death cause")),
"grampsid": (_("Gramps ID"), "grampsid", "id", "gramps_id", "grampsid": (_("Gramps ID"), "grampsid", "id", "gramps_id",
"gramps id"), "gramps id"),
"person": ("person", _("person")), "person": ("person", _("person"), _("Person")),
# ---------------------------------- # ----------------------------------
"child": ("child", _("child")), "child": ("child", _("child"), _("Child")),
"family": ("family", _("family")), "family": ("family", _("family"), _("Family")),
# ---------------------------------- # ----------------------------------
"wife": ("mother", _("mother"), "wife", _("wife"), "wife": ("mother", _("mother"), _("Mother"),
"wife", _("wife"), _("Wife"),
"parent2", _("parent2")), "parent2", _("parent2")),
"husband": ("father", _("father"), "husband", _("husband"), "husband": ("father", _("father"), _("Father"),
"husband", _("husband"), _("Husband"),
"parent1", _("parent1")), "parent1", _("parent1")),
"marriage": ("marriage", _("marriage")), "marriage": ("marriage", _("marriage"), _("Marriage")),
"date": ("date", _("date")), "date": ("date", _("date"), _("Date")),
"place": ("place", _("place")), "place": ("place", _("place"), _("Place")),
"place_id": ("place id", "place_id", "placeid", _("place id")), "place_id": ("place id", "place_id", "placeid", _("place id")),
"name": ("name", _("name")), "name": ("name", _("name"), _("Name")),
"type": ("type", _("type")), "type": ("type", _("type"), _("Type")),
"latitude": ("latitude", _("latitude")), "latitude": ("latitude", _("latitude")),
"longitude": ("longitude", _("longitude")), "longitude": ("longitude", _("longitude")),
"code": ("code", _("code")), "code": ("code", _("code"), _("Code")),
"enclosed_by": ("enclosed by", _("enclosed by"), "enclosed_by": ("enclosed by", _("enclosed by"),
"enclosed_by", _("enclosed_by"), "enclosedby") "enclosed_by", _("enclosed_by"), "enclosedby")
} }