commit-gnue
[Top][All Lists]
Advanced

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

gnue/designer/src TemplateParser.py


From: Arturas Kriukovas
Subject: gnue/designer/src TemplateParser.py
Date: Wed, 03 Jul 2002 11:30:30 -0400

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Arturas Kriukovas <address@hidden>      02/07/03 11:30:30

Modified files:
        designer/src   : TemplateParser.py 

Log message:
        Prepared strings for i18n.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/src/TemplateParser.py.diff?cvsroot=OldCVS&tr1=1.13&tr2=1.14&r1=text&r2=text

Patches:
Index: gnue/designer/src/TemplateParser.py
diff -c gnue/designer/src/TemplateParser.py:1.13 
gnue/designer/src/TemplateParser.py:1.14
*** gnue/designer/src/TemplateParser.py:1.13    Fri Jun 28 00:03:38 2002
--- gnue/designer/src/TemplateParser.py Wed Jul  3 11:30:30 2002
***************
*** 59,67 ****
  
      self.wizardPage = WizardPage(self, self.panel)
  
!     self.prevButton = wxButton(self.panel, -1, '< Back')
!     self.nextButton = wxButton(self.panel, -1, 'Continue >')
!     self.cancelButton = wxButton(self.panel, -1, 'Cancel')
  
      self.nextButton.SetDefault()
  
--- 59,67 ----
  
      self.wizardPage = WizardPage(self, self.panel)
  
!     self.prevButton = wxButton(self.panel, -1, _('< Back'))
!     self.nextButton = wxButton(self.panel, -1, _('Continue >'))
!     self.cancelButton = wxButton(self.panel, -1, _('Cancel'))
  
      self.nextButton.SetDefault()
  
***************
*** 82,95 ****
  
      EVT_CLOSE(self.wizard, self.wizardPage.OnCancel)
  
!     self.title = wxStaticText(self.panel, -1, "Wizard Header", 
pos=wxPoint(10,10))
      font = self.title.GetFont()
      font.SetPointSize(int(self.title.GetFont().GetPointSize()*1.5))
      font.SetStyle(wxITALIC)
  #    font.SetWeight(wxBOLD)
      self.title.SetForegroundColour(wxColour(255,255,255))
      self.title.SetFont(font)
!     self.title2 = wxStaticText(self.panel, -1, "Wizard Header", 
pos=wxPoint(11,11))
      self.title2.SetForegroundColour(wxColour(0,0,102))
      self.title2.SetFont(font)
  
--- 82,95 ----
  
      EVT_CLOSE(self.wizard, self.wizardPage.OnCancel)
  
!     self.title = wxStaticText(self.panel, -1, _("Wizard Header"), 
pos=wxPoint(10,10))
      font = self.title.GetFont()
      font.SetPointSize(int(self.title.GetFont().GetPointSize()*1.5))
      font.SetStyle(wxITALIC)
  #    font.SetWeight(wxBOLD)
      self.title.SetForegroundColour(wxColour(255,255,255))
      self.title.SetFont(font)
!     self.title2 = wxStaticText(self.panel, -1, _("Wizard Header"), 
pos=wxPoint(11,11))
      self.title2.SetForegroundColour(wxColour(0,0,102))
      self.title2.SetFont(font)
  
***************
*** 191,199 ****
      nextY = yMargin
  
      if self.nextStep == None:
!       self.parser.nextButton.SetLabel('Finished')
      else:
!       self.parser.nextButton.SetLabel('Continue >')
  
      if self.prevStep == None:
        self.parser.prevButton.Enable(0)
--- 191,199 ----
      nextY = yMargin
  
      if self.nextStep == None:
!       self.parser.nextButton.SetLabel(_('Finished'))
      else:
!       self.parser.nextButton.SetLabel(_('Continue >'))
  
      if self.prevStep == None:
        self.parser.prevButton.Enable(0)
***************
*** 359,369 ****
      self.source = source
      self.parent = parent
  
!     self.addButton = wxButton(self, -1, "  Add >")
!     self.delButton = wxButton(self, -1, "< Remove  ")
!     self.upButton = wxButton(self, -1, "Move Up")
!     self.downButton = wxButton(self, -1, "Move Down")
!     self.selectAllButton = wxButton(self, -1, "Select All")
  
      self.addButton.SetSize(self.downButton.GetSize())
      self.delButton.SetSize(self.downButton.GetSize())
--- 359,369 ----
      self.source = source
      self.parent = parent
  
!     self.addButton = wxButton(self, -1, _("  Add >"))
!     self.delButton = wxButton(self, -1, _("< Remove  "))
!     self.upButton = wxButton(self, -1, _("Move Up"))
!     self.downButton = wxButton(self, -1, _("Move Down"))
!     self.selectAllButton = wxButton(self, -1, _("Select All"))
  
      self.addButton.SetSize(self.downButton.GetSize())
      self.delButton.SetSize(self.downButton.GetSize())



reply via email to

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