[gnome-system-monitor] Use Unicode in translatable strings



commit fe9b467967960c5f5c29300d6cf1a5a151b3eca8
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Nov 10 14:24:14 2016 +0100

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

 org.gnome.gnome-system-monitor.policy.in.in        |    2 +-
 src/argv.cpp                                       |    2 +-
 src/e_date.c                                       |    8 +-
 src/interface.cpp                                  |    2 +-
 src/memmaps.cpp                                    |    2 +-
 src/openfiles.cpp                                  |    2 +-
 ...rg.gnome.gnome-system-monitor.gschema.xml.in.in |  124 ++++++++++----------
 7 files changed, 71 insertions(+), 71 deletions(-)
---
diff --git a/org.gnome.gnome-system-monitor.policy.in.in b/org.gnome.gnome-system-monitor.policy.in.in
index b3486d2..0e39911 100644
--- a/org.gnome.gnome-system-monitor.policy.in.in
+++ b/org.gnome.gnome-system-monitor.policy.in.in
@@ -9,7 +9,7 @@
 
   <action id="org.gnome.gnome-system-monitor.kill">
     <_description>Kill process</_description>
-    <_message>Privileges are required to control other users' processes</_message>
+    <_message>Privileges are required to control other users’ processes</_message>
     <defaults>
       <allow_any>no</allow_any>
       <allow_inactive>no</allow_inactive>
diff --git a/src/argv.cpp b/src/argv.cpp
index a82d790..b439071 100644
--- a/src/argv.cpp
+++ b/src/argv.cpp
@@ -33,7 +33,7 @@ namespace procman
 
         Glib::OptionEntry show_version;
         show_version.set_long_name("version");
-        show_version.set_description(_("Show the application's version"));
+        show_version.set_description(_("Show the application’s version"));
 
         this->add_entry(proc_tab, this->show_processes_tab);
         this->add_entry(res_tab, this->show_resources_tab);
diff --git a/src/e_date.c b/src/e_date.c
index 3b58dea..2697e89 100644
--- a/src/e_date.c
+++ b/src/e_date.c
@@ -160,7 +160,7 @@ filter_date (time_t date)
     if (then.tm_mday == now.tm_mday &&
         then.tm_mon == now.tm_mon &&
         then.tm_year == now.tm_year) {
-        e_utf8_strftime_fix_am_pm (buf, 26, _("Today %l:%M %p"), &then);
+        e_utf8_strftime_fix_am_pm (buf, 26, _("Today %l∶%M %p"), &then);
         done = TRUE;
     }
     if (!done) {
@@ -169,7 +169,7 @@ filter_date (time_t date)
         if (then.tm_mday == yesterday.tm_mday &&
             then.tm_mon == yesterday.tm_mon &&
             then.tm_year == yesterday.tm_year) {
-            e_utf8_strftime_fix_am_pm (buf, 26, _("Yesterday %l:%M %p"), &then);
+            e_utf8_strftime_fix_am_pm (buf, 26, _("Yesterday %l∶%M %p"), &then);
             done = TRUE;
         }
     }
@@ -181,7 +181,7 @@ filter_date (time_t date)
             if (then.tm_mday == yesterday.tm_mday &&
                 then.tm_mon == yesterday.tm_mon &&
                 then.tm_year == yesterday.tm_year) {
-                e_utf8_strftime_fix_am_pm (buf, 26, _("%a %l:%M %p"), &then);
+                e_utf8_strftime_fix_am_pm (buf, 26, _("%a %l∶%M %p"), &then);
                 done = TRUE;
                 break;
             }
@@ -189,7 +189,7 @@ filter_date (time_t date)
     }
     if (!done) {
         if (then.tm_year == now.tm_year) {
-            e_utf8_strftime_fix_am_pm (buf, 26, _("%b %d %l:%M %p"), &then);
+            e_utf8_strftime_fix_am_pm (buf, 26, _("%b %d %l∶%M %p"), &then);
         } else {
             e_utf8_strftime_fix_am_pm (buf, 26, _("%b %d %Y"), &then);
         }
diff --git a/src/interface.cpp b/src/interface.cpp
index af2c922..642d360 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -182,7 +182,7 @@ create_sys_view (GsmApplication *app, GtkBuilder * builder)
     gchar *title_template;
 
     // Translators: color picker title, %s is CPU, Memory, Swap, Receiving, Sending
-    title_template = g_strdup(_("Pick a Color for '%s'"));
+    title_template = g_strdup(_("Pick a Color for “%s”"));
 
     /* The CPU BOX */
     
diff --git a/src/memmaps.cpp b/src/memmaps.cpp
index 9fe95fb..d789e7f 100644
--- a/src/memmaps.cpp
+++ b/src/memmaps.cpp
@@ -447,7 +447,7 @@ create_single_memmaps_dialog (GtkTreeModel *model, GtkTreePath *path,
     gtk_container_set_border_width (GTK_CONTAINER (dialog_box), 5);
 
     label = procman_make_label_for_mmaps_or_ofiles (
-        _("_Memory maps for process \"%s\" (PID %u):"),
+        _("_Memory maps for process “%s” (PID %u):"),
         info->name,
         info->pid);
 
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 750ea05..3c05b81 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -333,7 +333,7 @@ create_single_openfiles_dialog (GtkTreeModel *model, GtkTreePath *path,
 
 
     label = procman_make_label_for_mmaps_or_ofiles (
-        _("_Files opened by process \"%s\" (PID %u):"),
+        _("_Files opened by process “%s” (PID %u):"),
         info->name,
         info->pid);
 
diff --git a/src/org.gnome.gnome-system-monitor.gschema.xml.in.in 
b/src/org.gnome.gnome-system-monitor.gschema.xml.in.in
index 7de16f0..383377d 100644
--- a/src/org.gnome.gnome-system-monitor.gschema.xml.in.in
+++ b/src/org.gnome.gnome-system-monitor.gschema.xml.in.in
@@ -24,7 +24,7 @@
       </default>
       <_summary>Solaris mode for CPU percentage
       </_summary>
-      <_description>If TRUE, system-monitor operates in 'Solaris mode' where a task's CPU usage is divided 
by the total number of CPUs. Otherwise, it operates in 'Irix mode'.
+      <_description>If TRUE, system-monitor operates in “Solaris mode” where a task’s CPU usage is divided 
by the total number of CPUs. Otherwise, it operates in “Irix mode”.
       </_description>
     </key>
 
@@ -67,7 +67,7 @@
       </default>
       <_summary>Whether information about all file systems should be displayed
       </_summary>
-      <_description>Whether to display information about all file systems (including types like 'autofs' and 
'procfs'). Useful for getting a list of all currently mounted file systems.
+      <_description>Whether to display information about all file systems (including types like “autofs” and 
“procfs”). Useful for getting a list of all currently mounted file systems.
       </_description>
     </key>
 
@@ -173,321 +173,321 @@
     <key name="col-0-width" type="i">
       <default>225
       </default>
-      <_summary>Width of process 'Name' column
+      <_summary>Width of process “Name” column
       </_summary>
     </key>
 
     <key name="col-0-visible" type="b">
       <default>true
       </default>
-      <_summary>Show process 'Name' column on startup
+      <_summary>Show process “Name” column on startup
       </_summary>
     </key>
 
     <key name="col-1-width" type="i">
       <default>98
       </default>
-      <_summary>Width of process 'User' column
+      <_summary>Width of process “User” column
       </_summary>
     </key>
 
     <key name="col-1-visible" type="b">
       <default>true
       </default>
-      <_summary>Show process 'User' column on startup
+      <_summary>Show process “User” column on startup
       </_summary>
     </key>
 
     <key name="col-2-width" type="i">
       <default>37
       </default>
-      <_summary>Width of process 'Status' column
+      <_summary>Width of process “Status” column
       </_summary>
     </key>
 
     <key name="col-2-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Status' column on startup
+      <_summary>Show process “Status” column on startup
       </_summary>
     </key>
 
     <key name="col-3-width" type="i">
       <default>90
       </default>
-      <_summary>Width of process 'Virtual Memory' column
+      <_summary>Width of process “Virtual Memory” column
       </_summary>
     </key>
 
     <key name="col-3-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Virtual Memory' column on startup
+      <_summary>Show process “Virtual Memory” column on startup
       </_summary>
     </key>
 
     <key name="col-4-width" type="i">
       <default>90
       </default>
-      <_summary>Width of process 'Resident Memory' column
+      <_summary>Width of process “Resident Memory” column
       </_summary>
     </key>
 
     <key name="col-4-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Resident Memory' column on startup
+      <_summary>Show process “Resident Memory” column on startup
       </_summary>
     </key>
 
     <key name="col-5-width" type="i">
       <default>90
       </default>
-      <_summary>Width of process 'Writable Memory' column
+      <_summary>Width of process “Writable Memory” column
       </_summary>
     </key>
 
     <key name="col-5-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Writable Memory' column on startup
+      <_summary>Show process “Writable Memory” column on startup
       </_summary>
     </key>
 
     <key name="col-6-width" type="i">
       <default>90
       </default>
-      <_summary>Width of process 'Shared Memory' column
+      <_summary>Width of process “Shared Memory” column
       </_summary>
     </key>
 
     <key name="col-6-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Shared Memory' column on startup
+      <_summary>Show process “Shared Memory” column on startup
       </_summary>
     </key>
 
     <key name="col-7-width" type="i">
       <default>90
       </default>
-      <_summary>Width of process 'X Server Memory' column
+      <_summary>Width of process “X Server Memory” column
       </_summary>
     </key>
 
     <key name="col-7-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'X Server Memory' column on startup
+      <_summary>Show process “X Server Memory” column on startup
       </_summary>
     </key>
 
     <key name="col-8-width" type="i">
       <default>71
       </default>
-      <_summary>Width of process 'CPU %' column
+      <_summary>Width of process “CPU %” column
       </_summary>
     </key>
 
     <key name="col-8-visible" type="b">
       <default>true
       </default>
-      <_summary>Show process 'CPU %' column on startup
+      <_summary>Show process “CPU %” column on startup
       </_summary>
     </key>
 
     <key name="col-9-width" type="i">
       <default>80
       </default>
-      <_summary>Width of process 'CPU Time' column
+      <_summary>Width of process “CPU Time” column
       </_summary>
     </key>
 
     <key name="col-9-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'CPU Time' column on startup
+      <_summary>Show process “CPU Time” column on startup
       </_summary>
     </key>
 
     <key name="col-10-width" type="i">
       <default>70
       </default>
-      <_summary>Width of process 'Started' column
+      <_summary>Width of process “Started” column
       </_summary>
     </key>
 
     <key name="col-10-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Started' column on startup
+      <_summary>Show process “Started” column on startup
       </_summary>
     </key>
 
     <key name="col-11-width" type="i">
       <default>48
       </default>
-      <_summary>Width of process 'Nice' column
+      <_summary>Width of process “Nice” column
       </_summary>
     </key>
 
     <key name="col-11-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Nice' column on startup
+      <_summary>Show process “Nice” column on startup
       </_summary>
     </key>
 
     <key name="col-12-width" type="i">
       <default>60
       </default>
-      <_summary>Width of process 'PID' column
+      <_summary>Width of process “PID” column
       </_summary>
     </key>
 
     <key name="col-12-visible" type="b">
       <default>true
       </default>
-      <_summary>Show process 'PID' column on startup
+      <_summary>Show process “PID” column on startup
       </_summary>
     </key>
 
     <key name="col-13-width" type="i">
       <default>80
       </default>
-      <_summary>Width of process 'SELinux Security Context' column
+      <_summary>Width of process “SELinux Security Context” column
       </_summary>
     </key>
     <key name="col-13-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'SELinux Security Context' column on startup
+      <_summary>Show process “SELinux Security Context” column on startup
       </_summary>
     </key>
 
     <key name="col-14-width" type="i">
       <default>120
       </default>
-      <_summary>Width of process 'Command Line' column
+      <_summary>Width of process “Command Line” column
       </_summary>
     </key>
 
     <key name="col-14-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Command Line' column on startup
+      <_summary>Show process “Command Line” column on startup
       </_summary>
     </key>
 
     <key name="col-15-width" type="i">
       <default>80
       </default>
-      <_summary>Width of process 'Memory' column
+      <_summary>Width of process “Memory” column
       </_summary>
     </key>
 
     <key name="col-15-visible" type="b">
       <default>true
       </default>
-      <_summary>Show process 'Memory' column on startup
+      <_summary>Show process “Memory” column on startup
       </_summary>
     </key>
 
     <key name="col-16-width" type="i">
       <default>48
       </default>
-      <_summary>Width of process 'Waiting Channel' column
+      <_summary>Width of process “Waiting Channel” column
       </_summary>
     </key>
 
     <key name="col-16-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Waiting Channel' column on startup
+      <_summary>Show process “Waiting Channel” column on startup
       </_summary>
     </key>
 
     <key name="col-17-width" type="i">
       <default>48
       </default>
-      <_summary>Width of process 'Control Group' column
+      <_summary>Width of process “Control Group” column
       </_summary>
     </key>
 
     <key name="col-17-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Control Group' column on startup
+      <_summary>Show process “Control Group” column on startup
       </_summary>
     </key>
 
     <key name="col-18-width" type="i">
       <default>70
       </default>
-      <_summary>Width of process 'Unit' column
+      <_summary>Width of process “Unit” column
       </_summary>
     </key>
 
     <key name="col-18-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Unit' column on startup
+      <_summary>Show process “Unit” column on startup
       </_summary>
     </key>
 
     <key name="col-19-width" type="i">
       <default>41
       </default>
-      <_summary>Width of process 'Session' column
+      <_summary>Width of process “Session” column
       </_summary>
     </key>
 
     <key name="col-19-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Session' column on startup
+      <_summary>Show process “Session” column on startup
       </_summary>
     </key>
 
     <key name="col-20-width" type="i">
       <default>59
       </default>
-      <_summary>Width of process 'Seat' column
+      <_summary>Width of process “Seat” column
       </_summary>
     </key>
 
     <key name="col-20-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Seat' column on startup
+      <_summary>Show process “Seat” column on startup
       </_summary>
     </key>
 
     <key name="col-21-width" type="i">
       <default>59
       </default>
-      <_summary>Width of process 'Owner' column
+      <_summary>Width of process “Owner” column
       </_summary>
     </key>
 
     <key name="col-21-visible" type="b">
       <default>false
       </default>
-      <_summary>Show process 'Owner' column on startup
+      <_summary>Show process “Owner” column on startup
       </_summary>
     </key>
 
     <key name="col-22-width" type="i">
       <default>100
       </default>
-      <_summary>Width of process 'Priority' column
+      <_summary>Width of process “Priority” column
       </_summary>
     </key>
 
     <key name="col-22-visible" type="b">
       <default>true
       </default>
-      <_summary>Show process 'Priority' column on startup
+      <_summary>Show process “Priority” column on startup
       </_summary>
     </key>
 
@@ -518,98 +518,98 @@
     <key name="col-0-width" type="i">
       <default>100
       </default>
-      <_summary>Width of disk view 'Device' column
+      <_summary>Width of disk view “Device” column
       </_summary>
     </key>
 
     <key name="col-0-visible" type="b">
       <default>true
       </default>
-      <_summary>Show disk view 'Device' column on startup
+      <_summary>Show disk view “Device” column on startup
       </_summary>
     </key>
 
     <key name="col-1-width" type="i">
       <default>100
       </default>
-      <_summary>Width of disk view 'Directory' column
+      <_summary>Width of disk view “Directory” column
       </_summary>
     </key>
 
     <key name="col-1-visible" type="b">
       <default>true
       </default>
-      <_summary>Show disk view 'Directory' column on startup
+      <_summary>Show disk view “Directory” column on startup
       </_summary>
     </key>
 
     <key name="col-2-width" type="i">
       <default>50
       </default>
-      <_summary>Width of disk view 'Type' column
+      <_summary>Width of disk view “Type” column
       </_summary>
     </key>
 
     <key name="col-2-visible" type="b">
       <default>true
       </default>
-      <_summary>Show disk view 'Type' column on startup
+      <_summary>Show disk view “Type” column on startup
       </_summary>
     </key>
 
     <key name="col-3-width" type="i">
       <default>80
       </default>
-      <_summary>Width of disk view 'Total' column
+      <_summary>Width of disk view “Total” column
       </_summary>
     </key>
 
     <key name="col-3-visible" type="b">
       <default>true
       </default>
-      <_summary>Show disk view 'Total' column on startup
+      <_summary>Show disk view “Total” column on startup
       </_summary>
     </key>
 
     <key name="col-4-width" type="i">
       <default>80
       </default>
-      <_summary>Width of disk view 'Free' column
+      <_summary>Width of disk view “Free” column
       </_summary>
     </key>
 
     <key name="col-4-visible" type="b">
       <default>false
       </default>
-      <_summary>Show disk view 'Free' column on startup
+      <_summary>Show disk view “Free” column on startup
       </_summary>
     </key>
 
     <key name="col-5-width" type="i">
       <default>80
       </default>
-      <_summary>Width of disk view 'Available' column
+      <_summary>Width of disk view “Available” column
       </_summary>
     </key>
 
     <key name="col-5-visible" type="b">
       <default>true
       </default>
-      <_summary>Show disk view 'Available' column on startup
+      <_summary>Show disk view “Available” column on startup
       </_summary>
     </key>
 
     <key name="col-6-width" type="i">
       <default>300
       </default>
-      <_summary>Width of disk view 'Used' column
+      <_summary>Width of disk view “Used” column
       </_summary>
     </key>
 
     <key name="col-6-visible" type="b">
       <default>true
       </default>
-      <_summary>Show disk view 'Used' column on startup
+      <_summary>Show disk view “Used” column on startup
       </_summary>
     </key>
 


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