geography view plugin: fix l10n call when wrong osmgpsmap version reported
(parameters should be substituted only AFTER _() is called) svn: r19263
This commit is contained in:
parent
10b88a5cc0
commit
64ba41c5fd
@ -34,7 +34,7 @@ try :
|
|||||||
OSMGPSMAP = False
|
OSMGPSMAP = False
|
||||||
import sys
|
import sys
|
||||||
print >> sys.stderr, _("WARNING: osmgpsmap module not loaded. "
|
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:
|
except:
|
||||||
OSMGPSMAP = False
|
OSMGPSMAP = False
|
||||||
import sys
|
import sys
|
||||||
|
Loading…
Reference in New Issue
Block a user