[evolution-activesync/wip/piotrdrag/unicode-typography: 3/3] Use Unicode in translatable strings



commit 9ed0906653a934dab580c8da001fec436659d077
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Nov 13 16:41:24 2016 +0100

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

 eas-daemon/libeas/eas-connection.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/eas-daemon/libeas/eas-connection.c b/eas-daemon/libeas/eas-connection.c
index 006cab7..50dbb0b 100644
--- a/eas-daemon/libeas/eas-connection.c
+++ b/eas-daemon/libeas/eas-connection.c
@@ -1289,7 +1289,7 @@ isResponseValid (SoupMessage *msg, gboolean multipart, GError **error)
                g_set_error (error,
                             EAS_CONNECTION_ERROR,
                             EAS_CONNECTION_ERROR_REPROVISION,
-                            _("HTTP request failed: %d - %s"),
+                            _("HTTP request failed: %d — %s"),
                             msg->status_code, msg->reason_phrase);
                return VALID_12_1_REPROVISION;
        }
@@ -1300,7 +1300,7 @@ isResponseValid (SoupMessage *msg, gboolean multipart, GError **error)
                g_set_error (error,
                             EAS_CONNECTION_ERROR,
                             EAS_CONNECTION_ERROR_FAILED,
-                            _("HTTP request failed: %d - %s"),
+                            _("HTTP request failed: %d — %s"),
                             msg->status_code, msg->reason_phrase);
                return INVALID;
        }
@@ -1519,7 +1519,7 @@ autodiscover_soup_cb (SoupSession *session, SoupMessage *msg, gpointer data)
                g_set_error (&error,
                             EAS_CONNECTION_ERROR,
                             EAS_CONNECTION_ERROR_FAILED,
-                            _("Status code: %d - Response from server"),
+                            _("Status code: %d — Response from server"),
                             status);
                goto failed;
        }
@@ -2502,7 +2502,7 @@ eas_connection_cancel_request(EasConnection* cnc,
                ret = FALSE;
                g_set_error (error, EAS_CONNECTION_ERROR,
                             EAS_CONNECTION_ERROR_BADARG,
-                            _("Request with id %d not in queue; can't cancel"),
+                            _("Request with id %d not in queue; can’t cancel"),
                             request_id);
        }
        QUEUE_UNLOCK (cnc);
@@ -2630,7 +2630,7 @@ eas_connection_fetch_server_protocols (EasConnection *cnc, GError **error)
                g_set_error (error,
                             EAS_CONNECTION_ERROR,
                             EAS_CONNECTION_ERROR_FAILED,
-                            _("HTTP request failed: %d - %s"),
+                            _("HTTP request failed: %d — %s"),
                             msg->status_code, msg->reason_phrase);
                ret = FALSE;
                goto cleanup;


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