[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common/src/commdrivers/_directory Director...
From: |
Arturas Kriukovas |
Subject: |
gnue/common/src/commdrivers/_directory Director... |
Date: |
Fri, 03 May 2002 13:48:14 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Arturas Kriukovas <address@hidden> 02/05/03 13:48:14
Modified files:
common/src/commdrivers/_directory: DirectoryServer.py
Log message:
i18n changes.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/commdrivers/_directory/DirectoryServer.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gnue/common/src/commdrivers/_directory/DirectoryServer.py
diff -c gnue/common/src/commdrivers/_directory/DirectoryServer.py:1.1
gnue/common/src/commdrivers/_directory/DirectoryServer.py:1.2
*** gnue/common/src/commdrivers/_directory/DirectoryServer.py:1.1 Tue Apr
30 19:52:30 2002
--- gnue/common/src/commdrivers/_directory/DirectoryServer.py Fri May 3
13:48:14 2002
***************
*** 119,126 ****
# they are bound dynamicly
if object._type != 'RpObject':
! print "Missing Binding information. Please add binding ",\
! "information for %s " % object.binding
# care for bindings in all Services
--- 119,126 ----
# they are bound dynamicly
if object._type != 'RpObject':
! print _("Missing Binding information. Please add binding "),\
! _("information for %s ") % object.binding
# care for bindings in all Services
***************
*** 137,149 ****
(object._path,object._realbinding))
except:
raise AttributeError, \
! "GNURPC can't bind service '%s' to service '%s'" %\
(object.name,parent.name)
elif parent._type == 'RpGnuRpc':
pass
else:
raise AttributeError, \
! "GNURPC: cannot bind service '%s' to %s" %\
(object.name,parent._type)
--- 137,149 ----
(object._path,object._realbinding))
except:
raise AttributeError, \
! _("GNURPC can't bind service '%s' to service '%s'") %\
(object.name,parent.name)
elif parent._type == 'RpGnuRpc':
pass
else:
raise AttributeError, \
! _("GNURPC: cannot bind service '%s' to %s") %\
(object.name,parent._type)
***************
*** 161,167 ****
(object._path,bindto))
except:
raise AttributeError, \
! "GNURPC can't bind method '%s' to service '%s'" %\
(object.name,parent.name)
pass
else:
--- 161,167 ----
(object._path,bindto))
except:
raise AttributeError, \
! _("GNURPC can't bind method '%s' to service '%s'") %\
(object.name,parent.name)
pass
else:
***************
*** 255,264 ****
try:
return self.directory[method]['help']
except KeyError:
! return "No help available for %s" % method
else:
# TODO: Is this right? If the requested method is not available?
! self.raiseException('InvalidMethodName',
! 'Requested method does not exist')
--- 255,264 ----
try:
return self.directory[method]['help']
except KeyError:
! return _("No help available for %s") % method
else:
# TODO: Is this right? If the requested method is not available?
! self.raiseException(_('InvalidMethodName'),
! _('Requested method does not exist'))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/common/src/commdrivers/_directory Director...,
Arturas Kriukovas <=