0002281: Like label on gramps.glade file, to use Zip/Postal code on plugins labels (contribution from Jérôme Rapinat <romjerome@yahoo.fr>).
svn: r10888
This commit is contained in:
parent
6c7c4129a6
commit
ccef30cf3b
@ -371,7 +371,7 @@ COLS = [
|
|||||||
(_('Place title'), 1),
|
(_('Place title'), 1),
|
||||||
(_('City'), 2),
|
(_('City'), 2),
|
||||||
(_('State'), 3),
|
(_('State'), 3),
|
||||||
(_('Postal code'), 4),
|
(_('ZIP/Postal Code'), 4),
|
||||||
(_('Country'), 5)
|
(_('Country'), 5)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1188,13 +1188,13 @@ class PlacePage(BasePage):
|
|||||||
|
|
||||||
if place.main_loc:
|
if place.main_loc:
|
||||||
ml = place.main_loc
|
ml = place.main_loc
|
||||||
for val in [(_('Street'),ml.street),
|
for val in [(_('Street'), ml.street),
|
||||||
(_('City'),ml.city),
|
(_('City'), ml.city),
|
||||||
(_('Church Parish'),ml.parish),
|
(_('Church Parish'), ml.parish),
|
||||||
(_('County'),ml.county),
|
(_('County'), ml.county),
|
||||||
(_('State/Province'),ml.state),
|
(_('State/Province'), ml.state),
|
||||||
(_('Postal Code'),ml.postal),
|
(_('ZIP/Postal Code'), ml.postal),
|
||||||
(_('Country'),ml.country)]:
|
(_('Country'), ml.country)]:
|
||||||
if val[1]:
|
if val[1]:
|
||||||
of.write('\t\t\t<tr>\n')
|
of.write('\t\t\t<tr>\n')
|
||||||
of.write('\t\t\t\t<td class="ColumnAttribute">%s</td>\n' % val[0])
|
of.write('\t\t\t\t<td class="ColumnAttribute">%s</td>\n' % val[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user