[gnome-packagekit] Use Unicode in translatable strings



commit ee2e5ac485952ade65e7dc33841a15490e4894a7
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Tue Dec 6 17:42:41 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#c1

 data/org.gnome.packagekit.gschema.xml |    4 ++--
 src/gpk-enum.c                        |    2 +-
 src/gpk-task.c                        |    2 +-
 src/gpk-update-viewer.c               |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/org.gnome.packagekit.gschema.xml b/data/org.gnome.packagekit.gschema.xml
index 65f4ec3..9d671ee 100644
--- a/data/org.gnome.packagekit.gschema.xml
+++ b/data/org.gnome.packagekit.gschema.xml
@@ -42,13 +42,13 @@
     </key>
     <key name="show-all-packages" type="b">
       <default>false</default>
-      <summary>Show the 'All Packages' group menu</summary>
+      <summary>Show the “All Packages” group menu</summary>
       <description>Show the all packages menu item. This takes a long time to populate on most backends and 
is not generally required by end users.</description>
     </key>
     <key name="search-mode" enum="org.gnome.packagekit.SearchType">
       <default>'details'</default>
       <summary>The search mode used by default</summary>
-      <description>The search mode used by default. Options are "name", "details", or "file".</description>
+      <description>The search mode used by default. Options are “name”, “details”, or “file”.</description>
     </key>
     <key name="repo-show-details" type="b">
       <default>false</default>
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index 4f15fae..09a1118 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -577,7 +577,7 @@ gpk_error_enum_to_localised_message (PkErrorEnum code)
                         "The package file could be corrupt, or not a proper package.");
                break;
        case PK_ERROR_ENUM_PACKAGE_INSTALL_BLOCKED:
-               text = _("Installation of this package prevented by your packaging system's configuration.");
+               text = _("Installation of this package prevented by your packaging system’s configuration.");
                break;
        case PK_ERROR_ENUM_PACKAGE_CORRUPT:
                text = _("The package that was downloaded is corrupt and needs to be downloaded again.");
diff --git a/src/gpk-task.c b/src/gpk-task.c
index 343a932..ab903ec 100644
--- a/src/gpk-task.c
+++ b/src/gpk-task.c
@@ -290,7 +290,7 @@ gpk_task_media_change_question (PkTask *task, guint request, PkResults *results)
 
        name = gpk_media_type_enum_to_localised_text (media_type);
        /* TRANSLATORS: dialog body, explains to the user that they need to insert a disk to continue. The 
first replacement is DVD, CD etc */
-       message = g_strdup_printf (_("Additional media is required. Please insert the %s labeled '%s' to 
continue."), name, media_text);
+       message = g_strdup_printf (_("Additional media is required. Please insert the %s labeled “%s” to 
continue."), name, media_text);
 
        priv->current_window = GTK_WINDOW (gtk_message_dialog_new (priv->parent_window,
                                                                   GTK_DIALOG_MODAL | 
GTK_DIALOG_DESTROY_WITH_PARENT,
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index b274401..5d76a7f 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -2678,7 +2678,7 @@ gpk_update_viewer_get_distro_upgrades_cb (PkClient *client, GAsyncResult *res, g
        /* only display last (newest) distro */
        widget = GTK_WIDGET(gtk_builder_get_object (builder, "label_upgrade"));
        /* TRANSLATORS: new distro available, e.g. F9 to F10 */
-       text = g_strdup_printf (_("New distribution upgrade release '%s' is available"), summary);
+       text = g_strdup_printf (_("New distribution upgrade release “%s” is available"), summary);
        text_format = g_strdup_printf ("<b>%s</b>", text);
        gtk_label_set_label (GTK_LABEL(widget), text_format);
 


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