[gnome-tweak-tool] Translate 'Session restart needed' warning window



commit c3f044e481b6abfc80c4ab585734684968e08c58
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Wed Mar 30 12:01:02 2016 +0200

    Translate 'Session restart needed' warning window
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764355

 gtweak/utils.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtweak/utils.py b/gtweak/utils.py
index a291e89..39f8833 100644
--- a/gtweak/utils.py
+++ b/gtweak/utils.py
@@ -324,14 +324,14 @@ class Notification:
 @singleton
 class LogoutNotification:
     def __init__(self):
-        if Notify.is_initted() or Notify.init("GNOME Tweak Tool"):
+        if Notify.is_initted() or Notify.init(_("GNOME Tweak Tool")):
             self.notification = Notify.Notification.new(
-                                "Configuration changes require restart",
-                                "Your session needs to be restarted for settings to take effect",
+                                _("Configuration changes require restart"),
+                                _("Your session needs to be restarted for settings to take effect"),
                                 'gnome-tweak-tool')
             self.notification.add_action(
                                 "restart",
-                                "Restart Session",
+                                _("Restart Session"),
                                 self._logout, None, None)
             self.notification.set_hint(
                                 "desktop-entry",


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