[network-manager-iodine] Use Unicode in translatable strings



commit 042eef92fa5b074886ffbc82f6fb564e9f14f54d
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Mon Oct 3 21:43:54 2016 +0200

    Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html

 auth-dialog/main.c      |    2 +-
 src/nm-iodine-service.c |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 56d26dc..6c27470 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -167,7 +167,7 @@ get_secrets (const char *vpn_uuid,
        }
 
        prompt = g_strdup_printf (_("You need to authenticate to access the "
-                                                               "Virtual Private Network '%s'."), vpn_name);
+                                                               "Virtual Private Network “%s”."), vpn_name);
 
        /* In external_ui mode, we don't actually show the dialog.
         *Instead we pass back everything that is needed to build it */
diff --git a/src/nm-iodine-service.c b/src/nm-iodine-service.c
index 89023d4..abac37b 100644
--- a/src/nm-iodine-service.c
+++ b/src/nm-iodine-service.c
@@ -130,7 +130,7 @@ validate_one_property (const char *key, const char *value, gpointer user_data)
                        g_set_error (info->error,
                                     NM_VPN_PLUGIN_ERROR,
                                     NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS,
-                                    _("invalid integer property '%s' or out of range "
+                                    _("invalid integer property “%s” or out of range "
                                       "[%d -> %d]"),
                                     key, prop.int_min, prop.int_max);
                        break;
@@ -141,14 +141,14 @@ validate_one_property (const char *key, const char *value, gpointer user_data)
                        g_set_error (info->error,
                                     NM_VPN_PLUGIN_ERROR,
                                     NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS,
-                                    _("invalid boolean property '%s' (not yes or no)"),
+                                    _("invalid boolean property “%s” (not yes or no)"),
                                     key);
                        break;
                default:
                        g_set_error (info->error,
                                     NM_VPN_PLUGIN_ERROR,
                                     NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS,
-                                    _("unhandled property '%s' type %s"),
+                                    _("unhandled property “%s” type %s"),
                                     key, g_type_name (prop.type));
                        break;
                }
@@ -162,7 +162,7 @@ validate_one_property (const char *key, const char *value, gpointer user_data)
                g_set_error (info->error,
                             NM_VPN_PLUGIN_ERROR,
                             NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS,
-                            _("property '%s' invalid or not supported"),
+                            _("property “%s” invalid or not supported"),
                             key);
        }
 }


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