[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/forms/src GFInstance.py GFKeyMapper.py GFT...
From: |
Arturas Kriukovas |
Subject: |
gnue/forms/src GFInstance.py GFKeyMapper.py GFT... |
Date: |
Tue, 07 May 2002 13:24:14 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Arturas Kriukovas <address@hidden> 02/05/07 13:24:13
Modified files:
forms/src : GFInstance.py GFKeyMapper.py GFTrigger.py
Log message:
i18n changes.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFInstance.py.diff?tr1=1.48&tr2=1.49&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFKeyMapper.py.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFTrigger.py.diff?tr1=1.56&tr2=1.57&r1=text&r2=text
Patches:
Index: gnue/forms/src/GFInstance.py
diff -c gnue/forms/src/GFInstance.py:1.48 gnue/forms/src/GFInstance.py:1.49
*** gnue/forms/src/GFInstance.py:1.48 Sat May 4 12:45:08 2002
--- gnue/forms/src/GFInstance.py Tue May 7 13:24:13 2002
***************
*** 330,336 ****
try:
count = abs(int(event.data))-1
except ValueError:
! message = "Invalid numeric value entered."
else:
message = self._form.jumpRecord(count)
--- 330,336 ----
try:
count = abs(int(event.data))-1
except ValueError:
! message = _("Invalid numeric value entered.")
else:
message = self._form.jumpRecord(count)
***************
*** 362,368 ****
message.show()
else:
# If above loop didn't cause function to return then exit
! self.dispatchEvent(GFEvent('exitApplication','Current data is saved'))
return
--- 362,368 ----
message.show()
else:
# If above loop didn't cause function to return then exit
! self.dispatchEvent(GFEvent('exitApplication',_('Current data is
saved')))
return
***************
*** 373,381 ****
#
def deleteRecord(self, event):
if self._form.readonly:
! self.dispatchEvent(GFEvent('formALERT','Form is readonly'))
elif self._form._currentBlock.restrictDelete:
! self.dispatchEvent(GFEvent('formALERT','Block does not allow delete'));
else:
self._form.deleteRecord()
self.updateRecordStatus()
--- 373,381 ----
#
def deleteRecord(self, event):
if self._form.readonly:
! self.dispatchEvent(GFEvent('formALERT',_('Form is readonly')))
elif self._form._currentBlock.restrictDelete:
! self.dispatchEvent(GFEvent('formALERT',_('Block does not allow
delete')));
else:
self._form.deleteRecord()
self.updateRecordStatus()
***************
*** 389,397 ****
if not self._form.endEditing():
return
if self._form.readonly:
! self.dispatchEvent(GFEvent('formALERT','Form is readonly'))
elif self._form._currentBlock.restrictInsert:
! self.dispatchEvent(GFEvent('formALERT','Block does not allow insert'));
else:
self._form.newRecord()
self._entryUpdated()
--- 389,397 ----
if not self._form.endEditing():
return
if self._form.readonly:
! self.dispatchEvent(GFEvent('formALERT',_('Form is readonly')))
elif self._form._currentBlock.restrictInsert:
! self.dispatchEvent(GFEvent('formALERT',_('Block does not allow
insert')));
else:
self._form.newRecord()
self._entryUpdated()
***************
*** 512,518 ****
if not self._form.endEditing():
return
if hasattr(self._form._currentBlock,"master"):
! messageBox = GFMsgBox(self, "Query from detail blocks currently not
supported")
messageBox.show()
return
message = self._form.prepQuery()
--- 512,518 ----
if not self._form.endEditing():
return
if hasattr(self._form._currentBlock,"master"):
! messageBox = GFMsgBox(self, _("Query from detail blocks currently not
supported"))
messageBox.show()
return
message = self._form.prepQuery()
Index: gnue/forms/src/GFKeyMapper.py
diff -c gnue/forms/src/GFKeyMapper.py:1.7 gnue/forms/src/GFKeyMapper.py:1.8
*** gnue/forms/src/GFKeyMapper.py:1.7 Fri Mar 1 00:28:40 2002
--- gnue/forms/src/GFKeyMapper.py Tue May 7 13:24:13 2002
***************
*** 108,118 ****
key = ord(key)
else:
raise InvalidKeystrokeName, \
! "Invalid keystroke id '%s' in keymap for '%s'" % (key,event)
if base is None:
raise InvalidKeystrokeName, \
! "Invalid keystroke combination '%s' in keymap for '%s'" % \
(dict[event],event)
usermap[(base, shifted, ctrl, meta)] = string.upper(event)
--- 108,118 ----
key = ord(key)
else:
raise InvalidKeystrokeName, \
! _("Invalid keystroke id '%s' in keymap for '%s'") % (key,event)
if base is None:
raise InvalidKeystrokeName, \
! _("Invalid keystroke combination '%s' in keymap for '%s'") % \
(dict[event],event)
usermap[(base, shifted, ctrl, meta)] = string.upper(event)
Index: gnue/forms/src/GFTrigger.py
diff -c gnue/forms/src/GFTrigger.py:1.56 gnue/forms/src/GFTrigger.py:1.57
*** gnue/forms/src/GFTrigger.py:1.56 Sun Apr 14 01:13:04 2002
--- gnue/forms/src/GFTrigger.py Tue May 7 13:24:13 2002
***************
*** 82,88 ****
else:
GDebug.printMesg(10, "No triggers to fire")
else:
! print "Invalid trigger ",key
#
# GFTrigger
--- 82,88 ----
else:
GDebug.printMesg(10, "No triggers to fire")
else:
! print _("Invalid trigger "),key
#
# GFTrigger
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/forms/src GFInstance.py GFKeyMapper.py GFT...,
Arturas Kriukovas <=