mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
it's supposed to be like this
This commit is contained in:
parent
4e8fb45531
commit
e4f432858e
2 changed files with 15 additions and 3 deletions
|
@ -92,9 +92,9 @@ class CatalogScreen(DirectFrame):
|
|||
taskMgr.doMethodLater(1.0, clarabelleGreeting, 'clarabelleGreeting')
|
||||
taskMgr.doMethodLater(12.0, clarabelleHelpText1, 'clarabelleHelpText1')
|
||||
if hasattr(self, 'giftToggle'):
|
||||
self.giftToggle['state'] = DGG.NORMAL
|
||||
self.giftToggle['text'] = TTLocalizer.CatalogGiftToggleOn
|
||||
#self.__handleUDack()
|
||||
self.giftToggle['state'] = DGG.DISABLED
|
||||
self.giftToggle['text'] = TTLocalizer.CatalogGiftToggleWait
|
||||
self.__handleUDack()
|
||||
|
||||
def hide(self):
|
||||
self.ignore('CatalogItemPurchaseRequest')
|
||||
|
@ -1104,3 +1104,13 @@ class CatalogScreen(DirectFrame):
|
|||
self.showEmblems()
|
||||
self.giftToggle['text'] = TTLocalizer.CatalogGiftToggleOff
|
||||
self.update()
|
||||
|
||||
def __handleUDack(self, caller = None):
|
||||
taskMgr.remove('ackTimeOut')
|
||||
if hasattr(self, 'giftToggle') and self.giftToggle:
|
||||
self.giftToggle['state'] = DGG.NORMAL
|
||||
self.giftToggle['text'] = TTLocalizer.CatalogGiftToggleOff
|
||||
|
||||
def __handleNoAck(self, caller = None):
|
||||
if hasattr(self, 'giftToggle') and self.giftToggle:
|
||||
self.giftToggle['text'] = TTLocalizer.CatalogGiftToggleNoAck
|
|
@ -5463,6 +5463,8 @@ CatalogGiftFor = 'Buy Gift for:'
|
|||
CatalogGiftTo = 'To: %s'
|
||||
CatalogGiftToggleOn = 'Stop Gifting'
|
||||
CatalogGiftToggleOff = 'Buy Gifts'
|
||||
CatalogGiftToggleWait = 'Trying!...'
|
||||
CatalogGiftToggleNoAck = 'Unavailable'
|
||||
CatalogPurchaseItemAvailable = 'Congratulations on your new purchase! You can start using it right away.'
|
||||
CatalogPurchaseGiftItemAvailable = 'Excellent! %s can start using your gift right away.'
|
||||
CatalogPurchaseItemOnOrder = 'Congratulations! Your purchase will be delivered to your mailbox soon.'
|
||||
|
|
Loading…
Reference in a new issue