[gnome-bluetooth] settings: Use Unicode in translatable strings



commit feb9e2a34a57afd435dc62d3db5909259b32548c
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Mon Nov 7 13:39:14 2016 +0100

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

 lib/bluetooth-settings-obexpush.c |    2 +-
 lib/bluetooth-settings-widget.c   |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/lib/bluetooth-settings-obexpush.c b/lib/bluetooth-settings-obexpush.c
index e4788a4..803dc32 100644
--- a/lib/bluetooth-settings-obexpush.c
+++ b/lib/bluetooth-settings-obexpush.c
@@ -142,7 +142,7 @@ show_notification (const char *filename)
 
        display = g_filename_display_basename (filename);
        /* Translators: %s is the name of the filename received */
-       notification_text = g_strdup_printf(_("You received \"%s\" via Bluetooth"), display);
+       notification_text = g_strdup_printf(_("You received “%s” via Bluetooth"), display);
        g_free (display);
        notification = notify_notification_new (_("You received a file"),
                                                notification_text,
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index e4760e9..0d805be 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -915,10 +915,10 @@ create_callback (GObject      *source_object,
                if (g_strcmp0 (dbus_error, "org.bluez.Error.AuthenticationCanceled") != 0) {
                        //FIXME show an error?
                        /* translators:
-                        * The '%s' is the device name, for example:
-                        * Setting up 'Sony Bluetooth Headset' failed
+                        * The “%s” is the device name, for example:
+                        * Setting up “Sony Bluetooth Headset” failed
                         */
-                       //text = g_strdup_printf(_("Setting up '%s' failed"), target_name);
+                       //text = g_strdup_printf(_("Setting up “%s” failed"), target_name);
 
                        g_warning ("Setting up %s failed: %s", path, error->message);
 
@@ -1238,7 +1238,7 @@ update_visibility (BluetoothSettingsWidget *self)
                g_free (path);
 
                /* translators: first %s is the name of the computer, for example:
-                * Visible as “Bastien Nocera's Computer” followed by the
+                * Visible as “Bastien Nocera’s Computer” followed by the
                 * location of the Downloads folder.*/
                label = g_strdup_printf (_("Visible as “%s” and available for Bluetooth file transfers. 
Transferred files are placed in the <a href=\"%s\">Downloads</a> folder."), name, uri);
                g_free (uri);
@@ -1267,7 +1267,7 @@ show_confirm_dialog (BluetoothSettingsWidget *self,
 
        dialog = gtk_message_dialog_new (GTK_WINDOW (priv->properties_dialog), GTK_DIALOG_MODAL,
                                         GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE,
-                                        _("Remove '%s' from the list of devices?"), name);
+                                        _("Remove “%s” from the list of devices?"), name);
        g_object_set (G_OBJECT (dialog), "secondary-text",
                      _("If you remove the device, you will have to set it up again before next use."),
                      NULL);


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