/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/guifiles.py

  • Committer: Jelmer Vernooij
  • Date: 2008-06-29 19:18:34 UTC
  • mto: This revision was merged to the branch mainline in revision 515.
  • Revision ID: jelmer@samba.org-20080629191834-ha2ecpv5szt96nge
Make sure signed testament matches repository data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
import os
18
18
import sys
19
19
 
 
20
from bzrlib.plugins.gtk import _i18n
20
21
 
21
22
GLADEFILENAMES = ["/usr/share/olive/olive.glade",
22
23
                  "/usr/local/share/olive/olive.glade",
44
45
 
45
46
if GLADEFILENAME is None:
46
47
    # Fail
47
 
    print _('Glade file cannot be found.')
 
48
    print _i18n('Glade file cannot be found.')
48
49
    sys.exit(1)
49
50
 
50
51
UIFILEDIR = os.path.dirname(GLADEFILENAME)
54
55
 
55
56
if not os.path.isfile(UIFILENAME):
56
57
    # Fail
57
 
    print _('UI description file cannot be found.')
 
58
    print _i18n('UI description file cannot be found.')
58
59
    sys.exit(1)
59
60
 
60
61