commit-gnue
[Top][All Lists]
Advanced

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

gnue/common/src GServerApp.py GTypecast.py


From: Arturas Kriukovas
Subject: gnue/common/src GServerApp.py GTypecast.py
Date: Fri, 03 May 2002 13:38:16 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Arturas Kriukovas <address@hidden>      02/05/03 13:38:16

Modified files:
        common/src     : GServerApp.py GTypecast.py 

Log message:
        i18n changes.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GServerApp.py.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GTypecast.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gnue/common/src/GServerApp.py
diff -c gnue/common/src/GServerApp.py:1.5 gnue/common/src/GServerApp.py:1.6
*** gnue/common/src/GServerApp.py:1.5   Wed May  1 20:18:21 2002
--- gnue/common/src/GServerApp.py       Fri May  3 13:38:16 2002
***************
*** 42,50 ****
    def __init__(self, connections=None, application=None):
      self.COMMAND_OPTIONS.append (
           [ 'foreground','Z','no-detach',0,0, None,
!            'Do not send the server into the background. For a POSIX system, '
!            'this option keeps the server process from forking and detaching '
!            'from its controlling terminal.'],
      )
      GBaseApp.__init__(self, connections, application)
  
--- 42,50 ----
    def __init__(self, connections=None, application=None):
      self.COMMAND_OPTIONS.append (
           [ 'foreground','Z','no-detach',0,0, None,
!            _('Do not send the server into the background. For a POSIX system, 
')
!            _('this option keeps the server process from forking and detaching 
')
!            _('from its controlling terminal.')],
      )
      GBaseApp.__init__(self, connections, application)
  
Index: gnue/common/src/GTypecast.py
diff -c gnue/common/src/GTypecast.py:1.2 gnue/common/src/GTypecast.py:1.3
*** gnue/common/src/GTypecast.py:1.2    Wed Apr 17 15:09:17 2002
--- gnue/common/src/GTypecast.py        Fri May  3 13:38:16 2002
***************
*** 137,143 ****
    try:
      v = int("%s" % value)
      if v < 0: 
!       raise TypecastError, "Whole numbers must be positive or 0" 
      return v
    except ValueError:
      raise TypecastError
--- 137,143 ----
    try:
      v = int("%s" % value)
      if v < 0: 
!       raise TypecastError, _("Whole numbers must be positive or 0")
      return v
    except ValueError:
      raise TypecastError



reply via email to

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