[totem] pythonconsole: Use Unicode in translatable strings



commit 22d1ea15ad7a7878d14470ad8b6638adbee352d9
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Nov 11 18:22:21 2016 +0100

    pythonconsole: Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    Also takes the opportunity to make the use of single vs. double quotation
    marks consistent within totem, as well as with other GNOME apps that use
    double quotation marks, as GNOME HIG recommends.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774286

 ...nome.totem.plugins.pythonconsole.gschema.xml.in |    2 +-
 src/plugins/pythonconsole/pythonconsole.py         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in 
b/src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in
index 43ac9c9..9afbdee 100644
--- a/src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in
+++ b/src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in
@@ -4,7 +4,7 @@
                <key name="rpdb2-password" type="s">
                        <default>''</default>
                        <summary>rpdb2 password</summary>
-                       <description>A password to protect the rpdb2 server for debugging Totem from 
unauthorized remote access. If this is empty, a default of 'totem' will be used.</description>
+                       <description>A password to protect the rpdb2 server for debugging Totem from 
unauthorized remote access. If this is empty, a default of “totem” will be used.</description>
                </key>
        </schema>
 </schemalist>
diff --git a/src/plugins/pythonconsole/pythonconsole.py b/src/plugins/pythonconsole/pythonconsole.py
index 92193b2..dc42a36 100644
--- a/src/plugins/pythonconsole/pythonconsole.py
+++ b/src/plugins/pythonconsole/pythonconsole.py
@@ -88,7 +88,7 @@ class PythonConsolePlugin (GObject.Object, Peas.Activatable):
 
             console.set_size_request (600, 400) # pylint: disable-msg=E1101
             console.eval ('print("%s" %% totem_object)' % _("You can access "\
-                "the Totem.Object through \'totem_object\' :\\n%s"), False)
+                "the Totem.Object through “totem_object” :\\n%s"), False)
 
             self.window = Gtk.Window ()
             self.window.set_title (_('Totem Python Console'))
@@ -104,7 +104,7 @@ class PythonConsolePlugin (GObject.Object, Peas.Activatable):
         msg = _("After you press OK, Totem will wait until you connect to it "\
                  "with winpdb or rpdb2. If you have not set a debugger "\
                  "password in DConf, it will use the default password "\
-                 "('totem').")
+                 "(“totem”).")
         dialog = Gtk.MessageDialog (None, 0, Gtk.MessageType.INFO,
                                     Gtk.ButtonsType.OK_CANCEL, msg)
         if dialog.run () == Gtk.ResponseType.OK:


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