commit-gnue
[Top][All Lists]
Advanced

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

gnue/common/src GBaseApp.py


From: Arturas Kriukovas
Subject: gnue/common/src GBaseApp.py
Date: Fri, 03 May 2002 11:37:35 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Arturas Kriukovas <address@hidden>      02/05/03 11:37:34

Modified files:
        common/src     : GBaseApp.py 

Log message:
        Corrected missed strings for i18n.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GBaseApp.py.diff?tr1=1.16&tr2=1.17&r1=text&r2=text

Patches:
Index: gnue/common/src/GBaseApp.py
diff -c gnue/common/src/GBaseApp.py:1.16 gnue/common/src/GBaseApp.py:1.17
*** gnue/common/src/GBaseApp.py:1.16    Fri May  3 11:17:18 2002
--- gnue/common/src/GBaseApp.py Fri May  3 11:37:34 2002
***************
*** 74,80 ****
      try:
        
gettext.install('gnue',GConfig.getInstalledBase('install_prefix')+'/translations')
      except IOError:
!       sys.stderr.write('Unable to load locale information falling back to 
dummy _()\n')    
        import __builtin__
        __builtin__.__dict__['_'] = lambda string:string
  
--- 74,80 ----
      try:
        
gettext.install('gnue',GConfig.getInstalledBase('install_prefix')+'/translations')
      except IOError:
!       sys.stderr.write('Unable to load locale information falling back to 
default English language translations.\n')    
        import __builtin__
        __builtin__.__dict__['_'] = lambda string:string
  
***************
*** 231,237 ****
    #  Display version information for this application
    #
    def printVersion(self): 
!     print "\n%s\nVersion %s\n" % (self.NAME, self.VERSION)
  
    #
    #  Display version information for this program
--- 231,237 ----
    #  Display version information for this application
    #
    def printVersion(self): 
!     print _("\n%s\nVersion %s\n") % (self.NAME, self.VERSION)
  
    #
    #  Display version information for this program



reply via email to

[Prev in Thread] Current Thread [Next in Thread]