geography : avoid multiple translation and fix a bug with variable referenced before assignment
svn: r17274
This commit is contained in:
@@ -282,7 +282,7 @@ class GeoPlaces(GeoGraphyView):
|
||||
itemoption.set_title(message)
|
||||
itemoption.show()
|
||||
add_item.set_submenu(itemoption)
|
||||
modify = gtk.MenuItem(_("Edit place"))
|
||||
modify = gtk.MenuItem(_("Edit Place"))
|
||||
modify.show()
|
||||
modify.connect("activate", self.edit_place,
|
||||
event, lat, lon, prevmark)
|
||||
@@ -301,7 +301,7 @@ class GeoPlaces(GeoGraphyView):
|
||||
itemoption.set_title(message)
|
||||
itemoption.show()
|
||||
add_item.set_submenu(itemoption)
|
||||
modify = gtk.MenuItem(_("Edit place"))
|
||||
modify = gtk.MenuItem(_("Edit Place"))
|
||||
modify.show()
|
||||
modify.connect("activate", self.edit_place, event, lat, lon, prevmark)
|
||||
itemoption.append(modify)
|
||||
|
Reference in New Issue
Block a user