[libcryptui] Use Unicode in translatable strings



commit 3d70ba7fe1f83d118fd615878498fa644031fc64
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Oct 6 23:12:39 2016 +0200

    Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    Signed-off-by: Stef Walter <stefw gnome org>
     * Kept ASCII strings for command line cases in C locale.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772531

 daemon/seahorse-gpgme-generate.c |    4 ++--
 daemon/seahorse-gpgme-source.c   |    6 +++---
 daemon/seahorse-service-crypto.c |    2 +-
 daemon/seahorse-util.c           |    4 ++--
 libcryptui/cryptui-key-chooser.c |    2 +-
 libegg/egg-datetime.c            |    2 +-
 libegg/eggdesktopfile.c          |    4 ++--
 7 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/daemon/seahorse-gpgme-generate.c b/daemon/seahorse-gpgme-generate.c
index 81d6e28..33395d3 100644
--- a/daemon/seahorse-gpgme-generate.c
+++ b/daemon/seahorse-gpgme-generate.c
@@ -75,7 +75,7 @@ completion_handler (SeahorseOperation *op, gpointer data)
     GError *error = NULL;
     if (!seahorse_operation_is_successful (op)) {
         seahorse_operation_copy_error (op, &error);
-        seahorse_util_handle_error (error, _("Couldn't generate PGP key"));
+        seahorse_util_handle_error (error, _("Couldn’t generate PGP key"));
         g_clear_error (&error);
     }
 }
@@ -145,7 +145,7 @@ void seahorse_gpgme_generate_key (SeahorseGpgmeSource *sksrc, const gchar *name,
                                              pass, type, bits, expires, &gerr);
 
         if (!GPG_IS_OK (gerr)) {
-            seahorse_gpgme_handle_error (gerr, _("Couldn't generate key"));
+            seahorse_gpgme_handle_error (gerr, _("Couldn’t generate key"));
         } else {
             seahorse_progress_show (op, _("Generating key"), TRUE);
             seahorse_operation_watch (op, (SeahorseDoneFunc)completion_handler, NULL, NULL, NULL);
diff --git a/daemon/seahorse-gpgme-source.c b/daemon/seahorse-gpgme-source.c
index 24d0cff..e19090e 100644
--- a/daemon/seahorse-gpgme-source.c
+++ b/daemon/seahorse-gpgme-source.c
@@ -96,9 +96,9 @@ passphrase_get (gconstpointer dummy, const gchar *passphrase_hint,
     
     if (split_uid && split_uid[0] && split_uid[1]) {
         if (flags & SEAHORSE_PASS_NEW) 
-            label = g_strdup_printf (_("Enter new passphrase for '%s'"), split_uid[1]);
+            label = g_strdup_printf (_("Enter new passphrase for “%s”"), split_uid[1]);
         else 
-            label = g_strdup_printf (_("Enter passphrase for '%s'"), split_uid[1]);
+            label = g_strdup_printf (_("Enter passphrase for “%s”"), split_uid[1]);
     } else {
         if (flags & SEAHORSE_PASS_NEW) 
             label = g_strdup (_("Enter new passphrase"));
@@ -759,7 +759,7 @@ seahorse_load_operation_start (SeahorseGpgmeSource *psrc, const gchar **pattern,
     }
     
     seahorse_operation_mark_start (SEAHORSE_OPERATION (lop));
-    seahorse_operation_mark_progress (SEAHORSE_OPERATION (lop), _("Loading Keys..."), 0.0);
+    seahorse_operation_mark_progress (SEAHORSE_OPERATION (lop), _("Loading Keys…"), 0.0);
     
     /* Run one iteration of the handler */
     keyload_handler (lop);
diff --git a/daemon/seahorse-service-crypto.c b/daemon/seahorse-service-crypto.c
index 0918f4c..f5c70bc 100644
--- a/daemon/seahorse-service-crypto.c
+++ b/daemon/seahorse-service-crypto.c
@@ -239,7 +239,7 @@ notify_signatures (const gchar* data, gpgme_verify_result_t status)
        default:
                if (!GPG_IS_OK (status->signatures->status))
                        seahorse_gpgme_handle_error (status->signatures->status, 
-                                                    _("Couldn't verify signature."));
+                                                    _("Couldn’t verify signature."));
                return;
        };
 
diff --git a/daemon/seahorse-util.c b/daemon/seahorse-util.c
index 8511287..f5abafc 100644
--- a/daemon/seahorse-util.c
+++ b/daemon/seahorse-util.c
@@ -762,13 +762,13 @@ seahorse_util_uris_package (const gchar* package, const char** uris)
     }
     
     if (!r) {
-        seahorse_util_handle_error (err, _("Couldn't run file-roller"));
+        seahorse_util_handle_error (err, _("Couldn’t run file-roller"));
         g_clear_error (&err);
         return FALSE;
     }
     
     if(!(WIFEXITED(status) && WEXITSTATUS(status) == 0)) {
-        seahorse_util_show_error(NULL, _("Couldn't package files"), 
+        seahorse_util_show_error(NULL, _("Couldn’t package files"), 
                                  _("The file-roller process did not complete successfully"));
         return FALSE;
     }
diff --git a/libcryptui/cryptui-key-chooser.c b/libcryptui/cryptui-key-chooser.c
index c4a4f39..c2706f7 100644
--- a/libcryptui/cryptui-key-chooser.c
+++ b/libcryptui/cryptui-key-chooser.c
@@ -285,7 +285,7 @@ construct_signer (CryptUIKeyChooser *chooser, GtkBox *box)
     /* TODO: HIG and beautification */
         
     if (!(chooser->priv->mode & CRYPTUI_KEY_CHOOSER_MUSTSIGN))
-        none_option = _("None (Don't Sign)");
+        none_option = _("None (Don’t Sign)");
 
     /* The Sign combo */
     ckstore = cryptui_key_store_new (chooser->priv->ckset, TRUE, none_option);
diff --git a/libegg/egg-datetime.c b/libegg/egg-datetime.c
index 24aae92..771d830 100644
--- a/libegg/egg-datetime.c
+++ b/libegg/egg-datetime.c
@@ -319,7 +319,7 @@ egg_datetime_class_init (EggDateTimeClass *klass)
    g_object_class_install_property (o_class, ARG_DISPLAY_MODE, pspec);
    pspec = g_param_spec_boolean ("lazy",
                   _("Lazy mode"),
-                  _("Lazy mode doesn't normalize entered date and time values"),
+                  _("Lazy mode doesn’t normalize entered date and time values"),
                   FALSE,
                   G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
    g_object_class_install_property (o_class, ARG_LAZY, pspec);
diff --git a/libegg/eggdesktopfile.c b/libegg/eggdesktopfile.c
index 942db5f..f4e313c 100644
--- a/libegg/eggdesktopfile.c
+++ b/libegg/eggdesktopfile.c
@@ -184,7 +184,7 @@ egg_desktop_file_new_from_key_file (GKeyFile    *key_file,
        {
          g_set_error (error, EGG_DESKTOP_FILE_ERROR,
                       EGG_DESKTOP_FILE_ERROR_INVALID,
-                      _("Unrecognized desktop file Version '%s'"), version);
+                      _("Unrecognized desktop file Version “%s”"), version);
          g_free (version);
          g_key_file_free (key_file);
          return NULL;
@@ -1379,7 +1379,7 @@ egg_desktop_file_launch (EggDesktopFile *desktop_file,
        {
          g_set_error (error, EGG_DESKTOP_FILE_ERROR,
                       EGG_DESKTOP_FILE_ERROR_NOT_LAUNCHABLE,
-                      _("Can't pass document URIs to a 'Type=Link' desktop entry"));
+                      _("Can’t pass document URIs to a “Type=Link” desktop entry"));
          return FALSE;
        }         
 


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