[gnome-video-arcade] Use Unicode in translatable strings.



commit cc24c2f9f1028062f98566e5a72579a43edcdd5c
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Nov 9 09:50:50 2017 -0500

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

 data/gnome-video-arcade.builder           |   18 +++++++++---------
 data/org.gnome.VideoArcade.gschema.xml.in |    9 +++++----
 src/gva-columns.c                         |   12 ++++++------
 src/gva-main.c                            |    4 ++--
 src/gva-ui.c                              |    2 +-
 5 files changed, 23 insertions(+), 22 deletions(-)
---
diff --git a/data/gnome-video-arcade.builder b/data/gnome-video-arcade.builder
index 1aa2410..a380b9c 100644
--- a/data/gnome-video-arcade.builder
+++ b/data/gnome-video-arcade.builder
@@ -29,7 +29,7 @@
     </child>
     <child>
       <object class="GtkAction" id="play-back">
-        <property name="label" translatable="yes">Play _Back...</property>
+        <property name="label" translatable="yes">Play _Back…</property>
         <property name="tooltip" translatable="yes">Play back the selected game recording</property>
         <property name="stock_id">gtk-media-play</property>
         <signal name="activate" handler="gva_action_play_back_cb" swapped="no"/>
@@ -79,7 +79,7 @@
     </child>
     <child>
       <object class="GtkAction" id="save-errors">
-        <property name="label" translatable="yes">Save _As...</property>
+        <property name="label" translatable="yes">Save _As…</property>
         <property name="tooltip" translatable="yes">Save ROM errors to a file</property>
         <property name="stock_id">gtk-save-as</property>
         <signal name="activate" handler="gva_action_save_errors_cb" swapped="no"/>
@@ -87,7 +87,7 @@
     </child>
     <child>
       <object class="GtkAction" id="search">
-        <property name="label" translatable="yes">S_earch...</property>
+        <property name="label" translatable="yes">S_earch…</property>
         <property name="tooltip" translatable="yes">Show a custom list of games</property>
         <property name="stock_id">gtk-find</property>
         <signal name="activate" handler="gva_action_search_cb" swapped="no"/>
@@ -95,7 +95,7 @@
     </child>
     <child>
       <object class="GtkAction" id="show-play-back">
-        <property name="label" translatable="yes">Play _Back...</property>
+        <property name="label" translatable="yes">Play _Back…</property>
         <property name="tooltip" translatable="yes">Play back a previously recorded game</property>
         <property name="stock_id">gtk-media-play</property>
         <signal name="activate" handler="gva_action_show_play_back_cb" swapped="no"/>
@@ -924,7 +924,7 @@ Manufacturer, Year</property>
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
-                                            <property name="label" translatable="yes">• The colors aren't 
100% accurate.</property>
+                                            <property name="label" translatable="yes">• The colors aren’t 
100% accurate.</property>
                                             <property name="ellipsize">end</property>
                                           </object>
                                           <packing>
@@ -952,7 +952,7 @@ Manufacturer, Year</property>
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
-                                            <property name="label" translatable="yes">• The video emulation 
isn't 100% accurate.</property>
+                                            <property name="label" translatable="yes">• The video emulation 
isn’t 100% accurate.</property>
                                             <property name="ellipsize">end</property>
                                           </object>
                                           <packing>
@@ -966,7 +966,7 @@ Manufacturer, Year</property>
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
-                                            <property name="label" translatable="yes">• The sound emulation 
isn't 100% accurate.</property>
+                                            <property name="label" translatable="yes">• The sound emulation 
isn’t 100% accurate.</property>
                                             <property name="ellipsize">end</property>
                                           </object>
                                           <packing>
@@ -1008,7 +1008,7 @@ Manufacturer, Year</property>
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
-                                            <property name="label" translatable="yes">• &lt;b&gt;THIS GAME 
DOESN'T WORK.&lt;/b&gt;</property>
+                                            <property name="label" translatable="yes">• &lt;b&gt;THIS GAME 
DOESN’T WORK.&lt;/b&gt;</property>
                                             <property name="use_markup">True</property>
                                           </object>
                                           <packing>
@@ -1022,7 +1022,7 @@ Manufacturer, Year</property>
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
-                                            <property name="label" translatable="yes">• The game has 
protection which isn't fully emulated.</property>
+                                            <property name="label" translatable="yes">• The game has 
protection which isn’t fully emulated.</property>
                                           </object>
                                           <packing>
                                             <property name="expand">False</property>
diff --git a/data/org.gnome.VideoArcade.gschema.xml.in b/data/org.gnome.VideoArcade.gschema.xml.in
index e0b9c96..c9e473a 100644
--- a/data/org.gnome.VideoArcade.gschema.xml.in
+++ b/data/org.gnome.VideoArcade.gschema.xml.in
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <schemalist>
 
   <schema id="org.gnome.VideoArcade" path="/org/gnome/video-arcade/" gettext-domain="gnome-video-arcade">
@@ -6,7 +7,7 @@
       <default>['favorite','description']</default>
       <_summary>All available column names</_summary>
       <_description>List of all available column names.  The user may choose
-      to only display a subset of them (see "columns").</_description>
+      to only display a subset of them (see “columns”).</_description>
     </key>
 
     <key name="auto-save" type="b">
@@ -30,7 +31,7 @@
     <key name="favorites" type="as">
       <default>[]</default>
       <_summary>Favorite games</_summary>
-      <_description>List of the user's favorite games.</_description>
+      <_description>List of the user’s favorite games.</_description>
     </key>
 
     <key name="full-screen" type="b">
@@ -43,7 +44,7 @@
     <key name="error-file" type="s">
       <default>''</default>
       <_summary>ROM error filename</_summary>
-      <_description>Suggested filename for the ROM error "Save As" dialog.
+      <_description>Suggested filename for the ROM error “Save As” dialog.
       </_description>
     </key>
 
@@ -111,7 +112,7 @@
       <default>('default',false)</default>
       <_summary>Sort column and sort order</_summary>
       <_description>The first value is the most recently sorted column name
-      (or "default" for default sorting), and the second value is the
+      (or “default” for default sorting), and the second value is the
       sort order.  True indicates descending order; False indicates
       ascending order.</_description>
     </key>
diff --git a/src/gva-columns.c b/src/gva-columns.c
index 3c575a7..959675d 100644
--- a/src/gva-columns.c
+++ b/src/gva-columns.c
@@ -298,7 +298,7 @@ columns_show_popup_menu (GdkEventButton *event,
         label = g_strdup_printf (
                 _("Remove %s Column"), column_title);
         tooltip = g_strdup_printf (
-                _("Remove the \"%s\" column from the game list"),
+                _("Remove the “%s” column from the game list"),
                 column_title);
         g_object_set (
                 GVA_ACTION_REMOVE_COLUMN, "label",
@@ -762,7 +762,7 @@ columns_tooltip_driver_status (GtkTreeModel *model,
         /* The labels begin with a UTF-8 encoded bullet character. */
 
         /* xgettext:no-c-format */
-        text = _("• The colors aren't 100% accurate.");
+        text = _("• The colors aren’t 100% accurate.");
         widget = gtk_label_new (text);
         gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
         gtk_table_attach (
@@ -781,7 +781,7 @@ columns_tooltip_driver_status (GtkTreeModel *model,
                 gtk_widget_show (widget);
 
         /* xgettext:no-c-format */
-        text = _("• The video emulation isn't 100% accurate.");
+        text = _("• The video emulation isn’t 100% accurate.");
         widget = gtk_label_new (text);
         gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
         gtk_table_attach (
@@ -791,7 +791,7 @@ columns_tooltip_driver_status (GtkTreeModel *model,
                 gtk_widget_show (widget);
 
         /* xgettext:no-c-format */
-        text = _("• The sound emulation isn't 100% accurate.");
+        text = _("• The sound emulation isn’t 100% accurate.");
         widget = gtk_label_new (text);
         gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
         gtk_table_attach (
@@ -818,7 +818,7 @@ columns_tooltip_driver_status (GtkTreeModel *model,
         if (strcmp (driver_cocktail, "preliminary") == 0)
                 gtk_widget_show (widget);
 
-        text = _("• <b>THIS GAME DOESN'T WORK.</b>");
+        text = _("• <b>THIS GAME DOESN’T WORK.</b>");
         widget = gtk_label_new (text);
         gtk_label_set_use_markup (GTK_LABEL (widget), TRUE);
         gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
@@ -828,7 +828,7 @@ columns_tooltip_driver_status (GtkTreeModel *model,
         if (strcmp (driver_emulation, "preliminary") == 0)
                 gtk_widget_show (widget);
 
-        text = _("• The game has protection which isn't fully emulated.");
+        text = _("• The game has protection which isn’t fully emulated.");
         widget = gtk_label_new (text);
         gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
         gtk_table_attach (
diff --git a/src/gva-main.c b/src/gva-main.c
index 430c5a8..c345a84 100644
--- a/src/gva-main.c
+++ b/src/gva-main.c
@@ -239,7 +239,7 @@ gva_main_build_database (GError **error)
 
         gva_main_progress_bar_show ();
         gva_main_progress_bar_set_fraction (0.0);
-        gva_main_statusbar_push (context_id, _("Building game database..."));
+        gva_main_statusbar_push (context_id, _("Building game database…"));
 
         g_signal_connect (
                 process, "notify::progress",
@@ -299,7 +299,7 @@ gva_main_analyze_roms (GError **error)
 
         gva_main_progress_bar_show ();
         gva_main_progress_bar_set_fraction (0.0);
-        gva_main_statusbar_push (context_id, _("Analyzing ROM files..."));
+        gva_main_statusbar_push (context_id, _("Analyzing ROM files…"));
 
         timeout_id = g_timeout_add (
                 PROGRESS_BAR_PULSE_INTERVAL_MS,
diff --git a/src/gva-ui.c b/src/gva-ui.c
index 2d28fbe..95b6ff2 100644
--- a/src/gva-ui.c
+++ b/src/gva-ui.c
@@ -921,7 +921,7 @@ gva_ui_add_column_actions (GtkTreeView *view)
                 action_label = g_strdup_printf (
                         _("Add %s Column"), column_title);
                 action_tooltip = g_strdup_printf (
-                        _("Add a \"%s\" column to the game list"),
+                        _("Add a “%s” column to the game list"),
                         column_title);
 
                 action = gtk_action_new (


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