From 0b013d1383ed124e9f511969d458b3f8155b9720 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Wed, 27 Apr 2011 19:06:41 +0000 Subject: [PATCH] Fix so that tool tips for lat/long can be translated. svn: r17296 --- src/plugins/gramplet/EditExifMetadata.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/plugins/gramplet/EditExifMetadata.py b/src/plugins/gramplet/EditExifMetadata.py index bef684c1e..5c60e51e8 100644 --- a/src/plugins/gramplet/EditExifMetadata.py +++ b/src/plugins/gramplet/EditExifMetadata.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- #!/usr/bin/python # -*- coding: utf-8 -*- # @@ -164,12 +165,12 @@ _TOOLTIPS = { "to a Degrees, Minutes, Seconds representation."), # GPS Latitude... - "Latitude" : _("Enter the GPS Latitude Coordinates for your image,\n" - "Example: 43.722965, 43 43 22 N, 38° 38′ 03″ N, 38 38 3"), + "Latitude" : _(u"Enter the GPS Latitude Coordinates for your image,\n" + u"Example: 43.722965, 43 43 22 N, 38° 38′ 03″ N, 38 38 3"), # GPS Longitude... - "Longitude" : _("Enter the GPS Longitude Coordinates for your image,\n" - "Example: 10.396378, 10 23 46 E, 105° 6′ 6″ W, -105 6 6") }.items() + "Longitude" : _(u"Enter the GPS Longitude Coordinates for your image,\n" + u"Example: 10.396378, 10 23 46 E, 105° 6′ 6″ W, -105 6 6") }.items() # set up Exif keys for Image.exif_keys _DATAMAP = {