Fixed so that Replace '%(map)s' by => works in translation.

svn: r17289
This commit is contained in:
Peter Landgren 2011-04-27 06:28:41 +00:00
parent 8e9ffb2eb3
commit c8b4d59ddb

View File

@ -272,9 +272,9 @@ class GeoGraphyView(osmGpsMap, NavigationView):
menu.append(add_item) menu.append(add_item)
map_name = constants.map_title[config.get("geography.map_service")] map_name = constants.map_title[config.get("geography.map_service")]
title = _("Replace '%(map)s' by =>" % { title = _("Replace '%(map)s' by =>") % {
'map' : map_name 'map' : map_name
}) }
add_item = gtk.MenuItem(title) add_item = gtk.MenuItem(title)
add_item.show() add_item.show()
menu.append(add_item) menu.append(add_item)