commit-gnue
[Top][All Lists]
Advanced

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

gnue/forms/src GFClient.py


From: Arturas Kriukovas
Subject: gnue/forms/src GFClient.py
Date: Tue, 07 May 2002 12:46:02 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Arturas Kriukovas <address@hidden>      02/05/07 12:46:02

Modified files:
        forms/src      : GFClient.py 

Log message:
        i18n changes.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFClient.py.diff?tr1=1.40&tr2=1.41&r1=text&r2=text

Patches:
Index: gnue/forms/src/GFClient.py
diff -c gnue/forms/src/GFClient.py:1.40 gnue/forms/src/GFClient.py:1.41
*** gnue/forms/src/GFClient.py:1.40     Mon May  6 22:27:04 2002
--- gnue/forms/src/GFClient.py  Tue May  7 12:46:01 2002
***************
*** 56,68 ****
    USAGE = "gfclient [options] file" 
    COMMAND_OPTIONS = [
        [ 'user_interface', 'u', 'user_interface', 1, 'wx', 'type',  
!           'The currently supported values for <type> are ' \
            +'wx(GUI), nttsi(curses)' ],
        [ 'splash_screen','s','no_splash', 0, None, None,
!           'Disables the splash screen']
        ]
    SUMMARY = \
!      "GNUe Forms is the primary user interface to the GNU Enterprise system."
  
    # 
    # Initialize the class
--- 56,68 ----
    USAGE = "gfclient [options] file" 
    COMMAND_OPTIONS = [
        [ 'user_interface', 'u', 'user_interface', 1, 'wx', 'type',  
!           _('The currently supported values for <type> are ') \
            +'wx(GUI), nttsi(curses)' ],
        [ 'splash_screen','s','no_splash', 0, None, None,
!           _('Disables the splash screen')]
        ]
    SUMMARY = \
!      _("GNUe Forms is the primary user interface to the GNU Enterprise 
system.")
  
    # 
    # Initialize the class
***************
*** 101,107 ****
          else:
            raise IndexError
        except IndexError:
!         self.handleStartupError ("No Forms Definition File Specified.")
  
  
      # Initialize user interface (defaults to gui)
--- 101,107 ----
          else:
            raise IndexError
        except IndexError:
!         self.handleStartupError (_("No Forms Definition File Specified."))
  
  
      # Initialize user interface (defaults to gui)
***************
*** 174,188 ****
        self.handleStartupError(mesg)
  
      except IOError, mesg:
!       self.handleStartupError("Unable to open file\n\n     %s"%mesg)
  
      except GDataObjects.ConnectError, mesg:
        self.handleStartupError(\
!          "Unable to login to datasource.\n\n       %s" %mesg)
  
      except GDataObjects.ConnectionError, mesg:
        self.handleStartupError(\
!          "Error while communicating with datasource.\n\n       %s" %mesg)
  
      except GDataObjects.Error, mesg:
        self.handleStartupError(mesg)
--- 174,188 ----
        self.handleStartupError(mesg)
  
      except IOError, mesg:
!       self.handleStartupError(_("Unable to open file\n\n     %s")%mesg)
  
      except GDataObjects.ConnectError, mesg:
        self.handleStartupError(\
!          _("Unable to login to datasource.\n\n       %s") %mesg)
  
      except GDataObjects.ConnectionError, mesg:
        self.handleStartupError(\
!          _("Error while communicating with datasource.\n\n       %s") %mesg)
  
      except GDataObjects.Error, mesg:
        self.handleStartupError(mesg)



reply via email to

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