[gnome-maps] Use Unicode in translatable strings



commit fa7f597c4bd067fad44267c0dc14b4b71ec46021
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Nov 10 13:58:53 2016 +0100

    Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772263

 data/ui/main-window.ui        |    2 +-
 data/ui/osm-account-dialog.ui |    6 +++---
 src/checkIn.js                |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/ui/main-window.ui b/data/ui/main-window.ui
index e350f79..b2449da 100644
--- a/data/ui/main-window.ui
+++ b/data/ui/main-window.ui
@@ -169,7 +169,7 @@
                         <property name="max-width-chars">45</property>
                         <property name="margin_top">10</property>
                         <property name="xalign">0</property>
-                        <property name="label" translatable="yes">Maps need an active internet connection to 
function properly, but one can't be found.</property>
+                        <property name="label" translatable="yes">Maps need an active internet connection to 
function properly, but one can’t be found.</property>
                       </object>
                     </child>
                     <child>
diff --git a/data/ui/osm-account-dialog.ui b/data/ui/osm-account-dialog.ui
index fbceca1..582b06c 100644
--- a/data/ui/osm-account-dialog.ui
+++ b/data/ui/osm-account-dialog.ui
@@ -143,7 +143,7 @@ OpenStreetMap account.</property>
                   <object class="GtkLinkButton" id="signUpLinkButton">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
-                    <property name="label" translatable="yes">Don't have an account?</property>
+                    <property name="label" translatable="yes">Don’t have an account?</property>
                     <property name="uri">https://www.openstreetmap.org/user/new?referer=gnome-maps</property>
                   </object>
                   <packing>
@@ -156,7 +156,7 @@ OpenStreetMap account.</property>
                     <property name="visible">False</property>
                     <property name="can_focus">True</property>
                     <property name="label" translatable="yes"
-                      comments="The label should contain the link to the OSM reset password page with a 
translated title">Sorry, that didn't work. Please try again, or visit
+                      comments="The label should contain the link to the OSM reset password page with a 
translated title">Sorry, that didn’t work. Please try again, or visit
 &lt;a href="https://www.openstreetmap.org/user/forgot-password"&gt;OpenStreetMap&lt;/a&gt; to reset your 
password.</property>
                     <property name="use-markup">True</property>
                   </object>
@@ -169,7 +169,7 @@ OpenStreetMap account.</property>
                   <object class="GtkLabel" id="verificationFailedLabel">
                     <property name="visible">False</property>
                     <property name="can_focus">True</property>
-                    <property name="label" translatable="yes">The verification code didn't match, please try 
again.</property>
+                    <property name="label" translatable="yes">The verification code didn’t match, please try 
again.</property>
                     <property name="use-markup">True</property>
                   </object>
                   <packing>
diff --git a/src/checkIn.js b/src/checkIn.js
index 071dac4..0830469 100644
--- a/src/checkIn.js
+++ b/src/checkIn.js
@@ -132,7 +132,7 @@ const CheckInManager = new Lang.Class({
         case CheckInDialog.Response.FAILURE_NO_PLACES:
             if (matchPlace)
                 /* Translators: %s is the place name that user wanted to check-in */
-                message = _("Cannot find \"%s\" in the social service").format(place.name);
+                message = _("Cannot find “%s” in the social service").format(place.name);
             else
                 message = _("Cannot find a suitable place to check-in in this location");
             break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]