[ontv] Avoid splitting translatable strings



commit 9587e74d689737243788aa79b056187afadc3bd1
Author: Olof Kindgren <olki src gnome org>
Date:   Tue Aug 31 18:26:48 2010 +0200

    Avoid splitting translatable strings
    
    Closes:bgo#586862

 ontv/ontv_core.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/ontv/ontv_core.py b/ontv/ontv_core.py
index c91cb5a..c8dd07f 100644
--- a/ontv/ontv_core.py
+++ b/ontv/ontv_core.py
@@ -117,21 +117,21 @@ class OnTVCore:
             xmltv_assistant.show()
         else:
             self.xmltvfile.connect("downloading", self.__xmltvfile_activity,
-                                   (_("Downloading"),))
+                                   _("Downloading TV Listings..."))
             self.xmltvfile.connect("downloading-done",
                                    self.__xmltvfile_downloading_done)
             self.xmltvfile.connect("sorting", self.__xmltvfile_activity,
-                                   (_("Sorting"),))
+                                   _("Sorting TV Listings..."))
             self.xmltvfile.connect("sorting-done",
                                    self.__xmltvfile_sorting_done)
             self.xmltvfile.connect("loading", self.__xmltvfile_activity,
-                                   (_("Loading"),))
+                                   _("Loading TV Listings..."))
             self.xmltvfile.connect("loading-done",
                                    self.__xmltvfile_loading_done)
             self.xmltvfile.load()
 
     def __xmltvfile_activity(self, xmltvfile, activity):
-        self.cb_status(_("%s TV Listings...") % activity)
+        self.cb_status(activity)
 
     def __xmltvfile_downloading_done(self, xmltvfile, pid, condition):
         self.cb_status(None)



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