[gnome-color-manager] Use Unicode in translatable strings



commit a1388431c4e36b6dc489c8b106d295850d83fc7d
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Mon Nov 7 10:22:45 2016 +0100

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

 src/gcm-calibrate-argyll.c |    8 ++++----
 src/gcm-calibrate-main.c   |    2 +-
 src/gcm-viewer.c           |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index 5b38326..a6bb377 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -1969,7 +1969,7 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
                } else if (g_strstr_len (line, -1, "Pattern match wasn't good enough") != NULL) {
                        /* TRANSLATORS: message, the image wasn't good enough */
                        gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
-                                                  _("The pattern match wasn't good enough. Ensure you have 
the correct type of target selected."),
+                                                  _("The pattern match wasn’t good enough. Ensure you have 
the correct type of target selected."),
                                                   GCM_CALIBRATE_UI_ERROR);
                } else if (g_strstr_len (line, -1, "Aprox. fwd matrix unexpectedly singular") != NULL ||
                           g_strstr_len (line, -1, "Inverting aprox. fwd matrix failed") != NULL) {
@@ -2079,11 +2079,11 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
                string = g_string_new ("");
 
                /* TRANSLATORS: dialog message, just follow the hardware instructions */
-               g_string_append (string, _("It looks like you've measured the wrong strip."));
+               g_string_append (string, _("It looks like you’ve measured the wrong strip."));
                g_string_append (string, "\n\n");
 
                /* TRANSLATORS: dialog message, just follow the hardware instructions */
-               g_string_append (string, _("If you've really measured the right one, it's okay, it could just 
be unusual paper."));
+               g_string_append (string, _("If you’ve really measured the right one, it’s okay, it could just 
be unusual paper."));
                g_string_append (string, "\n\n");
 
                /* push new messages into the UI */
@@ -2144,7 +2144,7 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
                g_string_append (string, "\n\n");
 
                /* TRANSLATORS: dialog message, just follow the hardware instructions */
-               g_string_append (string, _("If you make a mistake, just release the switch, and you'll get a 
chance to try again."));
+               g_string_append (string, _("If you make a mistake, just release the switch, and you’ll get a 
chance to try again."));
 
                /* push new messages into the UI */
                gcm_calibrate_set_image (GCM_CALIBRATE (calibrate_argyll), "scan-target.svg");
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index 677eb10..a9a2ed4 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -926,7 +926,7 @@ gcm_calib_setup_page_display_configure_wait (GcmCalibratePriv *priv)
        gcm_calib_add_page_para (content, _("Before calibrating the display, it is recommended to configure 
your display with the following settings to get optimal results."));
 
        /* TRANSLATORS: dialog message, preface */
-if(0)  gcm_calib_add_page_para (content, _("You may want to consult the owner's manual for your display on 
how to achieve these settings."));
+if(0)  gcm_calib_add_page_para (content, _("You may want to consult the owner’s manual for your display on 
how to achieve these settings."));
 
        /* TRANSLATORS: dialog message, bullet item */
 if(0)  gcm_calib_add_page_bullet (content, _("Reset your display to the factory defaults."));
diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
index c31c3cd..f65d9d7 100644
--- a/src/gcm-viewer.c
+++ b/src/gcm-viewer.c
@@ -1098,7 +1098,7 @@ gcm_viewer_set_profile (GcmViewerPrivate *viewer, CdProfile *profile)
        gtk_widget_set_visible (widget, created != NULL);
        if (created != NULL) {
                /* TRANSLATORS: this is the icc creation date strftime format */
-               temp = g_date_time_format (created, _("%B %e %Y, %I:%M:%S %p"));
+               temp = g_date_time_format (created, _("%B %e %Y, %I∶%M∶%S %p"));
                gtk_label_set_label (GTK_LABEL(widget), temp);
                g_free (temp);
        }


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