From 64ba41c5fdd18612a375de545c16c4ec21345cd8 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Sat, 7 Apr 2012 13:12:54 +0000 Subject: [PATCH] geography view plugin: fix l10n call when wrong osmgpsmap version reported (parameters should be substituted only AFTER _() is called) svn: r19263 --- src/plugins/view/geography.gpr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/view/geography.gpr.py b/src/plugins/view/geography.gpr.py index a9aedb4cc..716d8c81c 100644 --- a/src/plugins/view/geography.gpr.py +++ b/src/plugins/view/geography.gpr.py @@ -34,7 +34,7 @@ try : OSMGPSMAP = False import sys print >> sys.stderr, _("WARNING: osmgpsmap module not loaded. " - "osmgpsmap must be >= 0.7.0. yours is %s" % osmgpsmap.__version__ ) + "osmgpsmap must be >= 0.7.0. yours is %s") % osmgpsmap.__version__ except: OSMGPSMAP = False import sys