[gnome-todo] unscheduled: fix translations



commit 46c579cddc56031cd58c88e16db299654d1cba52
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Oct 5 22:15:02 2016 -0300

    unscheduled: fix translations
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770224

 .../unscheduled-panel/__init__.py                  |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/unscheduled-panel/unscheduled-panel/__init__.py 
b/plugins/unscheduled-panel/unscheduled-panel/__init__.py
index 667f538..63269f6 100644
--- a/plugins/unscheduled-panel/unscheduled-panel/__init__.py
+++ b/plugins/unscheduled-panel/unscheduled-panel/__init__.py
@@ -30,7 +30,7 @@ from gettext import gettext as _
 class UnscheduledPanel(Gtk.Box, Gtd.Panel):
 
     menu = GObject.Property(type=Gio.Menu, default=None)
-    name = GObject.Property(type=str, default=_("unscheduled-panel"))
+    name = GObject.Property(type=str, default="unscheduled-panel")
     title = GObject.Property(type=str, default=_("Unscheduled"))
 
     def __init__(self):
@@ -82,8 +82,10 @@ class UnscheduledPanel(Gtk.Box, Gtd.Panel):
 
     def do_get_panel_title(self):
         if self.task_counter == 0:
+            # Translators: 'Unscheduled' as in 'Unscheduled tasks'
             return _("Unscheduled")
         else:
+            # Translators: 'Unscheduled' as in 'Unscheduled tasks'
             return _("Unscheduled (%d)" % self.task_counter)
 
 class UnscheduledPanelPlugin(GObject.Object, Gtd.Activatable):


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