[gnome-software] Use Unicode in translatable strings



commit 426a95368bbe14100b0ec177dc7fea749103396c
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Mon Nov 7 11:15:27 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.software.gschema.xml |    2 +-
 src/gs-common.c                     |    2 +-
 src/gs-content-rating.c             |    2 +-
 src/gs-review-dialog.c              |    4 ++--
 src/gs-shell-details.c              |    2 +-
 src/gs-shell-overview.ui            |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/org.gnome.software.gschema.xml b/data/org.gnome.software.gschema.xml
index 05467d5..63c9369 100644
--- a/data/org.gnome.software.gschema.xml
+++ b/data/org.gnome.software.gschema.xml
@@ -22,7 +22,7 @@
     </key>
     <key name="first-run" type="b">
       <default>true</default>
-      <summary>Whether it's the very first run of GNOME Software</summary>
+      <summary>Whether it’s the very first run of GNOME Software</summary>
     </key>
     <key name="show-ratings" type="b">
       <default>false</default>
diff --git a/src/gs-common.c b/src/gs-common.c
index f844442..86425e2 100644
--- a/src/gs-common.c
+++ b/src/gs-common.c
@@ -268,7 +268,7 @@ gs_app_notify_unavailable (GsApp *app, GtkWindow *parent)
 
        gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dialog), "%s", body->str);
        /* TRANSLATORS: this is button text to not ask about non-free content again */
-       if (0) gtk_dialog_add_button (GTK_DIALOG (dialog), _("Don't Warn Again"), GTK_RESPONSE_YES);
+       if (0) gtk_dialog_add_button (GTK_DIALOG (dialog), _("Don’t Warn Again"), GTK_RESPONSE_YES);
        if (already_enabled) {
                gtk_dialog_add_button (GTK_DIALOG (dialog),
                                       /* TRANSLATORS: button text */
diff --git a/src/gs-content-rating.c b/src/gs-content-rating.c
index 0511cbc..538e907 100644
--- a/src/gs-content-rating.c
+++ b/src/gs-content-rating.c
@@ -225,7 +225,7 @@ gs_content_rating_key_value_to_str (const gchar *id, AsContentRatingValue value)
        _("Gambling on random events using tokens or credits") },
        { "money-gambling",     AS_CONTENT_RATING_VALUE_MODERATE,
        /* TRANSLATORS: content rating description */
-       _("Gambling using \"play\" money") },
+       _("Gambling using “play” money") },
        { "money-gambling",     AS_CONTENT_RATING_VALUE_INTENSE,
        /* TRANSLATORS: content rating description */
        _("Gambling using real money") },
diff --git a/src/gs-review-dialog.c b/src/gs-review-dialog.c
index f81bf28..f3cd875 100644
--- a/src/gs-review-dialog.c
+++ b/src/gs-review-dialog.c
@@ -99,11 +99,11 @@ gs_review_dialog_update_review_comment (GsReviewDialog *dialog)
        } else if (perc == 40) {
                /* TRANSLATORS: lighthearted star rating description;
                 *              Not a great application */
-               msg = _("Don't like it");
+               msg = _("Don’t like it");
        } else if (perc == 60) {
                /* TRANSLATORS: lighthearted star rating description;
                 *              A fairly-good application */
-               msg = _("It's OK");
+               msg = _("It’s OK");
        } else if (perc == 80) {
                /* TRANSLATORS: lighthearted star rating description;
                 *              A good application */
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 831360c..1f072ad 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -1397,7 +1397,7 @@ gs_shell_details_app_refine_cb (GObject *source,
            gs_app_get_state (self->app) == AS_APP_STATE_UNKNOWN) {
                g_autofree gchar *str = NULL;
 
-               str = g_strdup_printf (_("Could not find '%s'"), gs_app_get_id (self->app));
+               str = g_strdup_printf (_("Could not find “%s”"), gs_app_get_id (self->app));
                gtk_label_set_text (GTK_LABEL (self->label_failed), str);
                gs_shell_details_set_state (self, GS_SHELL_DETAILS_STATE_FAILED);
                return;
diff --git a/src/gs-shell-overview.ui b/src/gs-shell-overview.ui
index ab9e1ff..e186509 100644
--- a/src/gs-shell-overview.ui
+++ b/src/gs-shell-overview.ui
@@ -265,7 +265,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
-                            <property name="label" translatable="yes" comments="Translators: This is a 
heading for software which has been featured (&apos;picked&apos;) by the distribution.">Editor's 
Picks</property>
+                            <property name="label" translatable="yes" comments="Translators: This is a 
heading for software which has been featured (&apos;picked&apos;) by the distribution.">Editor’s 
Picks</property>
                             <property name="margin-top">0</property>
                             <property name="margin-bottom">6</property>
                             <accessibility>


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