Bug#5477; Applies to this one also as the same translation issuesw were in here.

svn: r18693
This commit is contained in:
Rob G. Healey 2012-01-03 17:04:22 +00:00
parent cb48eab652
commit 3345867097

View File

@ -2497,7 +2497,7 @@ class BasePage(object):
trow = Html("tr") + ( trow = Html("tr") + (
Html("th", _("Number"), class_ ="ColumnRowLabel", inline =True), Html("th", _("Number"), class_ ="ColumnRowLabel", inline =True),
Html("th", _("Name"), class_ ="ColumnName", inline =True) Html("th", _("Title"), class_ ="ColumnName", inline =True)
) )
thead += trow thead += trow
@ -2615,19 +2615,19 @@ class IndividualListPage(BasePage):
# show surname and first name # show surname and first name
trow += Html("th", _("Surname"), class_ = "ColumnSurname", inline = True) trow += Html("th", _("Surname"), class_ = "ColumnSurname", inline = True)
trow += Html("th", _("Name"), class_ = "ColumnName", inline = True) trow += Html("th", _("Given Name"), class_ = "ColumnName", inline = True)
if showbirth: if showbirth:
trow += Html("th", BIRTH, class_ = "ColumnBirth", inline = True) trow += Html("th", _("Birth"), class_ = "ColumnDate", inline = True)
if showdeath: if showdeath:
trow += Html("th", DEATH, class_ = "ColumnDeath", inline = True) trow += Html("th", _("Death"), class_ = "ColumnDate", inline = True)
if showpartner: if showpartner:
trow += Html("th", _PARTNER, class_ = "ColumnPartner", inline = True) trow += Html("th", _("Partner"), class_ = "ColumnPartner", inline = True)
if showparents: if showparents:
trow += Html("th", PARENTS, class_ = "ColumnParents", inline = True) trow += Html("th", _("Parents"), class_ = "ColumnParents", inline = True)
tbody = Html("tbody") tbody = Html("tbody")
table += tbody table += tbody
@ -2808,19 +2808,19 @@ class SurnamePage(BasePage):
thead += trow thead += trow
# Name Column # Name Column
trow += Html("th", _("Name"), class_ = "ColumnName", inline = True) trow += Html("th", _("Given Name"), class_ = "ColumnName", inline = True)
if showbirth: if showbirth:
trow += Html("th", BIRTH, class_ = "ColumnBirth", inline = True) trow += Html("th", _("Birth"), class_ = "ColumnDate", inline = True)
if showdeath: if showdeath:
trow += Html("th", DEATH, class_ = "ColumnDeath", inline = True) trow += Html("th", _("Death"), class_ = "ColumnDate", inline = True)
if showpartner: if showpartner:
trow += Html("th", _PARTNER, class_ = "ColumnPartner", inline = True) trow += Html("th", _("Partner"), class_ = "ColumnPartner", inline = True)
if showparents: if showparents:
trow += Html("th", PARENTS, class_ = "ColumnParents", inline = True) trow += Html("th", _("Parents"), class_ = "ColumnParents", inline = True)
# begin table body # begin table body
tbody = Html("tbody") tbody = Html("tbody")
@ -4653,13 +4653,13 @@ class MediaListPage(BasePage):
tbody += trow tbody += trow
media_data_row = [ media_data_row = [
[index, "RowLabel"], [index, "ColumnRowLabel"],
[self.media_ref_link(handle, title), "Name"], [self.media_ref_link(handle, title), "ColumnName"],
[_dd.display(media.get_date_object() ), "Date"], [_dd.display(media.get_date_object() ), "ColumnDate"],
[media.get_mime_type(), "Mime"] ] [media.get_mime_type(), "ColumnMime"] ]
trow.extend( trow.extend(
Html("td", data, class_ =colclass) Html("td", data, class_ = colclass)
for data, colclass in media_data_row for data, colclass in media_data_row
) )
index += 1 index += 1
@ -6445,13 +6445,13 @@ class AddressBookListPage(BasePage):
thead += trow thead += trow
trow.extend( trow.extend(
Html("th", label, class_="Column" + colclass, inline=True) Html("th", label, class_= colclass, inline = True)
for (label, colclass) in [ for (label, colclass) in [
[" ", "RowLabel"], [" ", "ColumnRowLabel"],
[_("Name"), "Name"], [_("Full Name"), "ColumnName"],
[_("Address"), "Address"], [_("Address"), "ColumnAddress"],
[_("Residence"), "Residence"], [_("Residence"), "ColumnResidence"],
[_("Web Links"), "WebLinks"] ] [_("Web Links"), "ColumnWebLinks"] ]
) )
tbody = Html("tbody") tbody = Html("tbody")
@ -6485,13 +6485,13 @@ class AddressBookListPage(BasePage):
tbody += trow tbody += trow
trow.extend( trow.extend(
Html("td", data or " ", class_="Column" + colclass, inline = True) Html("td", data or " ", class_= colclass, inline = True)
for (colclass, data) in [ for (colclass, data) in [
["RowLabel", index], ["ColumnRowLabel", index],
["Name", self.addressbook_link(person_handle)], ["ColumnName", self.addressbook_link(person_handle)],
["Address", address], ["ColumnAddress", address],
["Residence", residence], ["ColumnResidence", residence],
["WebLinks", weblinks] ] ["ColumnWebLinks", weblinks] ]
) )
index += 1 index += 1