[gnome-initial-setup] ui: Use Unicode quotation marks and ellipses



commit da8117415f05c95d3bdc498cd243350d14cc3cfe
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Jan 27 09:52:57 2017 +0000

    ui: Use Unicode quotation marks and ellipses
    
    These look better than straight quotation marks and ellipses.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777821

 .../pages/account/um-photo-dialog.c                |    2 +-
 .../pages/account/um-realm-manager.c               |    2 +-
 gnome-initial-setup/pages/account/um-utils.c       |    8 ++++----
 .../pages/summary/gis-summary-page.ui              |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/um-photo-dialog.c 
b/gnome-initial-setup/pages/account/um-photo-dialog.c
index 79ecc74..b63ed78 100644
--- a/gnome-initial-setup/pages/account/um-photo-dialog.c
+++ b/gnome-initial-setup/pages/account/um-photo-dialog.c
@@ -261,7 +261,7 @@ skip_faces:
         y++;
 
 #ifdef HAVE_CHEESE
-        um->take_photo_menuitem = gtk_menu_item_new_with_label (_("Take a photo..."));
+        um->take_photo_menuitem = gtk_menu_item_new_with_label (_("Take a photo…"));
         gtk_menu_attach (GTK_MENU (menu), GTK_WIDGET (um->take_photo_menuitem),
                          0, ROW_SPAN - 1, y, y + 1);
         g_signal_connect (G_OBJECT (um->take_photo_menuitem), "activate",
diff --git a/gnome-initial-setup/pages/account/um-realm-manager.c 
b/gnome-initial-setup/pages/account/um-realm-manager.c
index b988f06..2cc007a 100644
--- a/gnome-initial-setup/pages/account/um-realm-manager.c
+++ b/gnome-initial-setup/pages/account/um-realm-manager.c
@@ -798,7 +798,7 @@ kinit_thread_func (GTask *task,
                 break;
         default:
                 g_task_return_new_error (task, UM_REALM_ERROR, UM_REALM_ERROR_GENERIC,
-                                         _("Couldn't connect to the %s domain: %s"),
+                                         _("Couldn’t connect to the %s domain: %s"),
                                          login->domain, krb5_get_error_message (k5, code));
                 break;
         }
diff --git a/gnome-initial-setup/pages/account/um-utils.c b/gnome-initial-setup/pages/account/um-utils.c
index 69d2f6d..85c0458 100644
--- a/gnome-initial-setup/pages/account/um-utils.c
+++ b/gnome-initial-setup/pages/account/um-utils.c
@@ -242,21 +242,21 @@ is_valid_username (const gchar *username, gchar **tip)
 
         if (!empty && (in_use || too_long || !valid)) {
                 if (in_use) {
-                        *tip = g_strdup_printf (_("A user with the username '%s' already exists."),
+                        *tip = g_strdup_printf (_("A user with the username ‘%s’ already exists."),
                                                username);
                 }
                 else if (too_long) {
                         *tip = g_strdup_printf (_("The username is too long."));
                 }
                 else if (username[0] == '-') {
-                        *tip = g_strdup (_("The username cannot start with a '-'."));
+                        *tip = g_strdup (_("The username cannot start with a ‘-’."));
                 }
                 else {
-                        *tip = g_strdup (_("The username should only consist of lower and upper case letters 
from a-z, digits and any of characters '.', '-' and '_'."));
+                        *tip = g_strdup (_("The username should only consist of lower and upper case letters 
from a-z, digits and any of characters ‘.’, ‘-’ and ‘_’."));
                 }
         }
         else {
-                *tip = g_strdup (_("This will be used to name your home folder and can't be changed."));
+                *tip = g_strdup (_("This will be used to name your home folder and can’t be changed."));
         }
 
         return valid;
diff --git a/gnome-initial-setup/pages/summary/gis-summary-page.ui 
b/gnome-initial-setup/pages/summary/gis-summary-page.ui
index 8b7c311..7dc5adc 100644
--- a/gnome-initial-setup/pages/summary/gis-summary-page.ui
+++ b/gnome-initial-setup/pages/summary/gis-summary-page.ui
@@ -61,7 +61,7 @@
             <child>
               <object class="GtkLabel" id="title">
                 <property name="visible">True</property>
-                <property name="label" translatable="yes">You're ready to go!</property>
+                <property name="label" translatable="yes">You’re ready to go!</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                   <attribute name="scale" value="1.8"/>


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