deskbar-applet r2351 - in trunk: . deskbar/handlers deskbar/ui



Author: kamstrup
Date: Sun Aug 24 20:42:48 2008
New Revision: 2351
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2351&view=rev

Log:
2008-08-24  Mikkel Kamstrup Erlandsen  <kamstrup cvs gnome org>

    * deskbar/handlers/twitter.py
    * deskbar/ui/DeskbarStatusIcon.py
    Fix bug #549206 : Please add comments along with strings for localisation


Modified:
   trunk/ChangeLog
   trunk/deskbar/handlers/twitter.py
   trunk/deskbar/ui/DeskbarStatusIcon.py

Modified: trunk/deskbar/handlers/twitter.py
==============================================================================
--- trunk/deskbar/handlers/twitter.py	(original)
+++ trunk/deskbar/handlers/twitter.py	Sun Aug 24 20:42:48 2008
@@ -148,6 +148,14 @@
             error.destroy()
         
     def get_verb(self):
+        # TRANSLATORS: An example display of the below string:
+        #
+        #   (125) Post "I can eat glass"
+        #
+        # The number in the parens indicates how many characters the user 
+        # has left of the maximum message size. It should be at the start of
+        # the string as to not be hidden by ellipsation.
+        #
         return _('<small>(%(remain)s)</small> Post <i>"%(msg)s"</i>')
 
     def get_tooltip(self, text=None):

Modified: trunk/deskbar/ui/DeskbarStatusIcon.py
==============================================================================
--- trunk/deskbar/ui/DeskbarStatusIcon.py	(original)
+++ trunk/deskbar/ui/DeskbarStatusIcon.py	Sun Aug 24 20:42:48 2008
@@ -47,6 +47,8 @@
             
         def add_action(self, text, action):
             if isinstance(action, EmptyHistoryAction):
+                # TRANSLATORS: Below "Empty" is an adjective. As in 
+                #              the state of being empty
                 menuItem = DeskbarPopupMenu.Item (_("<i>Empty</i>"),
                                                   pixbuf=CATEGORIES["history"]["icon"])
                 self.__is_empty = True
@@ -158,4 +160,4 @@
     
     def setup_menu(self):
         self._menu = DeskbarPopupMenu (self._controller)
-        
\ No newline at end of file
+        



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