geography : avoid multiple translation.

ie : Edit Place instead of Edit place
            Edit Place is already translated.


svn: r17273
This commit is contained in:
Serge Noiraud 2011-04-26 10:39:20 +00:00
parent bb4d6b09a9
commit 47688e85d6
5 changed files with 12 additions and 12 deletions

View File

@ -583,7 +583,7 @@ class GeoGraphyView(osmGpsMap, NavigationView):
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, mark)
itemoption.append(modify)

View File

@ -315,7 +315,7 @@ class GeoEvents(GeoGraphyView):
itemoption.set_title(message)
itemoption.show()
add_item.set_submenu(itemoption)
modify = gtk.MenuItem(_("Edit event"))
modify = gtk.MenuItem(_("Edit Event"))
modify.show()
modify.connect("activate", self.edit_event,
event, lat, lon, prevmark)
@ -334,7 +334,7 @@ class GeoEvents(GeoGraphyView):
itemoption.set_title(message)
itemoption.show()
add_item.set_submenu(itemoption)
modify = gtk.MenuItem(_("Edit event"))
modify = gtk.MenuItem(_("Edit Event"))
modify.show()
modify.connect("activate", self.edit_event,
event, lat, lon, mark)
@ -357,7 +357,7 @@ class GeoEvents(GeoGraphyView):
itemoption.set_title(message)
itemoption.show()
add_item.set_submenu(itemoption)
modify = gtk.MenuItem(_("Edit event"))
modify = gtk.MenuItem(_("Edit Event"))
modify.show()
modify.connect("activate", self.edit_event, event, lat, lon, prevmark)
itemoption.append(modify)

View File

@ -378,15 +378,15 @@ class GeoFamily(GeoGraphyView):
itemoption = gtk.Menu()
itemoption.show()
menu.set_submenu(itemoption)
modify = gtk.MenuItem(_("Edit family"))
modify = gtk.MenuItem(_("Edit Family"))
modify.show()
modify.connect("activate", self.edit_family, event, lat, lon, mark)
itemoption.append(modify)
modify = gtk.MenuItem(_("Edit person"))
modify = gtk.MenuItem(_("Edit Person"))
modify.show()
modify.connect("activate", self.edit_person, event, lat, lon, mark)
itemoption.append(modify)
modify = gtk.MenuItem(_("Edit event"))
modify = gtk.MenuItem(_("Edit Event"))
modify.show()
modify.connect("activate", self.edit_event, event, lat, lon, mark)
itemoption.append(modify)

View File

@ -363,7 +363,7 @@ class GeoPerson(GeoGraphyView):
itemoption.set_title(message)
itemoption.show()
add_item.set_submenu(itemoption)
modify = gtk.MenuItem(_("Edit event"))
modify = gtk.MenuItem(_("Edit Event"))
modify.show()
modify.connect("activate", self.edit_event,
event, lat, lon, prevmark)
@ -382,7 +382,7 @@ class GeoPerson(GeoGraphyView):
itemoption.set_title(message)
itemoption.show()
add_item.set_submenu(itemoption)
modify = gtk.MenuItem(_("Edit event"))
modify = gtk.MenuItem(_("Edit Event"))
modify.show()
modify.connect("activate", self.edit_event,
event, lat, lon, mark)
@ -405,7 +405,7 @@ class GeoPerson(GeoGraphyView):
itemoption.set_title(message)
itemoption.show()
add_item.set_submenu(itemoption)
modify = gtk.MenuItem(_("Edit event"))
modify = gtk.MenuItem(_("Edit Event"))
modify.show()
modify.connect("activate", self.edit_event, event, lat, lon, prevmark)
itemoption.append(modify)

View File

@ -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)