~bzr-gtk/bzr-gtk/0.95

« back to all changes in this revision

Viewing changes to olive/frontend/gtk/info.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-20 13:02:35 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060820130235-62c9c5753f5d8774
Gettext support added.

2006-08-20  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * po/hu.po: added Hungarian traslation
    * Added gettext support to all files.
    * genpot.sh: added olive-gtk.pot generator script

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    def __init__(self, gladefile, comm, dialog):
38
38
        """ Initialize the Informations window. """
39
39
        self.gladefile = gladefile
40
 
        self.glade = gtk.glade.XML(self.gladefile, 'window_info')
 
40
        self.glade = gtk.glade.XML(self.gladefile, 'window_info', 'olive-gtk')
41
41
        
42
42
        # Communication object
43
43
        self.comm = comm
482
482
    def display(self):
483
483
        """ Display the Informations window. """
484
484
        if self.notbranch:
485
 
            self.dialog.error_dialog('Directory is not a branch',
486
 
                                     'You can perform this action only in a branch.')
 
485
            self.dialog.error_dialog(_('Directory is not a branch'),
 
486
                                     _('You can perform this action only in a branch.'))
487
487
            self.close()
488
488
        else:
489
489
            self.window.show()