[gnome-tweak-tool] Use Unicode in translatable strings



commit 6ddd07bae9673be17bea8062c9c813dd26263cbc
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Nov 11 17:42:38 2016 +0100

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

 gtweak/tweaks/tweak_group_shell.py   |    2 +-
 gtweak/tweaks/tweak_group_startup.py |    2 +-
 gtweak/tweakview.py                  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_shell.py b/gtweak/tweaks/tweak_group_shell.py
index 822d231..946028c 100644
--- a/gtweak/tweaks/tweak_group_shell.py
+++ b/gtweak/tweaks/tweak_group_shell.py
@@ -71,7 +71,7 @@ class IgnoreLidSwitchTweak(GetterSetterSwitchTweak):
                                     autostart_desktop_filename = "ignore-lid-switch-tweak.desktop",
                                     exec_cmd = self._inhibitor_path)
 
-        GetterSetterSwitchTweak.__init__(self, _("Don't suspend on lid close"), **options)
+        GetterSetterSwitchTweak.__init__(self, _("Don’t suspend on lid close"), **options)
 
     def get_active(self):
         return self._sync_inhibitor()
diff --git a/gtweak/tweaks/tweak_group_startup.py b/gtweak/tweaks/tweak_group_startup.py
index 94d08b0..7ae74f9 100644
--- a/gtweak/tweaks/tweak_group_startup.py
+++ b/gtweak/tweaks/tweak_group_startup.py
@@ -45,7 +45,7 @@ class _AppChooser(Gtk.Dialog):
         self._all = {}
 
         self.entry = Gtk.SearchEntry(
-                placeholder_text=_("Search Applications..."))
+                placeholder_text=_("Search Applications…"))
         self.entry.set_width_chars(30)
         self.entry.props.activates_default=True
 
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index 0a2eaec..9575da7 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -115,7 +115,7 @@ class Window(Gtk.ApplicationWindow):
     def sidebar(self):
         left_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
         
-        self.entry = Gtk.SearchEntry(placeholder_text=_("Search Tweaks..."))
+        self.entry = Gtk.SearchEntry(placeholder_text=_("Search Tweaks…"))
         self.entry.connect("search-changed", self._on_search)
         
         self.searchbar = Gtk.SearchBar()


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