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



commit 9c7f3bb9a752b9302f42aeefbadaee4279cb89fe
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   |    3 ++-
 gtweak/tweaks/tweak_group_startup.py |    3 ++-
 gtweak/tweakview.py                  |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_shell.py b/gtweak/tweaks/tweak_group_shell.py
index 822d231..3662da5 100644
--- a/gtweak/tweaks/tweak_group_shell.py
+++ b/gtweak/tweaks/tweak_group_shell.py
@@ -1,3 +1,4 @@
+# This Python file uses the following encoding: utf-8
 # This file is part of gnome-tweak-tool.
 #
 # Copyright (c) 2011 John Stowers
@@ -71,7 +72,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..7c7cf26 100644
--- a/gtweak/tweaks/tweak_group_startup.py
+++ b/gtweak/tweaks/tweak_group_startup.py
@@ -1,3 +1,4 @@
+# This Python file uses the following encoding: utf-8
 # This file is part of gnome-tweak-tool.
 #
 # Copyright (c) 2011 John Stowers
@@ -45,7 +46,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..5452540 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -1,3 +1,4 @@
+# This Python file uses the following encoding: utf-8
 # This file is part of gnome-tweak-tool.
 #
 # Copyright (c) 2011 John Stowers
@@ -115,7 +116,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]