[gnome-disk-utility] Use Unicode in translatable strings



commit da914653c6d6aefb302b2ad0e0248fe299c83807
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Nov 10 13:31:28 2016 +0100

    Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774201

 src/disk-image-mounter/main.c        |    6 +++---
 src/disks/gduwindow.c                |    2 +-
 src/disks/ui/edit-crypttab-dialog.ui |    2 +-
 src/disks/ui/edit-fstab-dialog.ui    |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/disk-image-mounter/main.c b/src/disk-image-mounter/main.c
index 8d6a50c..1df674b 100644
--- a/src/disk-image-mounter/main.c
+++ b/src/disk-image-mounter/main.c
@@ -92,7 +92,7 @@ do_filechooser (void)
 
   /* Add a RO check button that defaults to RO */
   ro_checkbutton = gtk_check_button_new_with_mnemonic (_("Set up _read-only mount"));
-  gtk_widget_set_tooltip_markup (ro_checkbutton, _("If checked, the mount will be read-only. This is useful 
if you don't want the underlying disk image to be modified"));
+  gtk_widget_set_tooltip_markup (ro_checkbutton, _("If checked, the mount will be read-only. This is useful 
if you don’t want the underlying disk image to be modified"));
   gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ro_checkbutton), !opt_writable);
   gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (dialog), TRUE);
   gtk_file_chooser_set_extra_widget (GTK_FILE_CHOOSER (dialog), ro_checkbutton);
@@ -189,14 +189,14 @@ main (int argc, char *argv[])
 
       if (filename == NULL)
         {
-          show_error (_("Cannot open `%s' - maybe the volume isn't mounted?"), uri);
+          show_error (_("Cannot open “%s” — maybe the volume isn’t mounted?"), uri);
           goto done_with_image;
         }
 
       fd = open (filename, opt_writable ? O_RDWR : O_RDONLY);
       if (fd == -1)
         {
-          show_error (_("Error opening `%s': %m"), filename);
+          show_error (_("Error opening “%s”: %m"), filename);
           goto done_with_image;
         }
 
diff --git a/src/disks/gduwindow.c b/src/disks/gduwindow.c
index b3d1eab..a3682fd 100644
--- a/src/disks/gduwindow.c
+++ b/src/disks/gduwindow.c
@@ -1789,7 +1789,7 @@ get_job_progress_text (GduWindow *window,
            *              The second %s is the total amount of bytes to process (ex. "8.5 GB").
            *              The third %s is the estimated amount of time remaining including speed (if known) 
(ex. "1 minute remaining", "5 minutes remaining (42.3 MB/s)", "Less than a minute remaining").
            */
-          s = g_strdup_printf (_("%s of %s – %s"), s2, s3, s);
+          s = g_strdup_printf (_("%s of %s — %s"), s2, s3, s);
           g_free (tmp);
           g_free (s3);
           g_free (s2);
diff --git a/src/disks/ui/edit-crypttab-dialog.ui b/src/disks/ui/edit-crypttab-dialog.ui
index f05084d..29a9401 100644
--- a/src/disks/ui/edit-crypttab-dialog.ui
+++ b/src/disks/ui/edit-crypttab-dialog.ui
@@ -176,7 +176,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="has_tooltip">True</property>
-                    <property name="tooltip_markup" translatable="yes">The name to use for the unlocked 
device - the device is set up as the name prefixed with &lt;b&gt;/dev/mapper&lt;/b&gt;/</property>
+                    <property name="tooltip_markup" translatable="yes">The name to use for the unlocked 
device — the device is set up as the name prefixed with &lt;b&gt;/dev/mapper&lt;/b&gt;/</property>
                     <property name="hexpand">True</property>
                     <property name="invisible_char">●</property>
                     <property name="invisible_char_set">True</property>
diff --git a/src/disks/ui/edit-fstab-dialog.ui b/src/disks/ui/edit-fstab-dialog.ui
index dbe0b8c..70f97f6 100644
--- a/src/disks/ui/edit-fstab-dialog.ui
+++ b/src/disks/ui/edit-fstab-dialog.ui
@@ -107,8 +107,8 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="has_tooltip">True</property>
-                    <property name="tooltip_markup" translatable="yes">The &lt;b&gt;special device 
file&lt;/b&gt; - use symlinks in the &lt;b&gt;/dev/disk&lt;/b&gt; hierarchy to control the scope of the 
entry</property>
-                    <property name="tooltip_text" translatable="yes">The special device file - use symlinks 
in the /dev/disk hierarchy to control the scope of the entry</property>
+                    <property name="tooltip_markup" translatable="yes">The &lt;b&gt;special device 
file&lt;/b&gt; — use symlinks in the &lt;b&gt;/dev/disk&lt;/b&gt; hierarchy to control the scope of the 
entry</property>
+                    <property name="tooltip_text" translatable="yes">The special device file — use symlinks 
in the /dev/disk hierarchy to control the scope of the entry</property>
                     <property name="entry_text_column">0</property>
                   </object>
                   <packing>


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