/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: Vincent Ladeuil
  • Date: 2008-05-05 16:04:32 UTC
  • mto: (487.1.1 gtk)
  • mto: This revision was merged to the branch mainline in revision 490.
  • Revision ID: v.ladeuil+lp@free.fr-20080505160432-hrhie62i03vcu3cw
Fix genpot.sh and prepare for bug #187283 fixing.

* po/olive-gtk.pot: 
Regenerated so that we can test for regressions in the "'_'
replaced by '_i18n'" modification.

* genpot.sh: 
Handle all python files.

* olive/__init__.py:
Delete coding line. It looks like an emacs coding line, it smells
like an emacs coding line, but emacs doesn't like it and it's
useless anyway.

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
21
20
 
22
21
GLADEFILENAMES = ["/usr/share/olive/olive.glade",
23
22
                  "/usr/local/share/olive/olive.glade",
45
44
 
46
45
if GLADEFILENAME is None:
47
46
    # Fail
48
 
    print _i18n('Glade file cannot be found.')
 
47
    print _('Glade file cannot be found.')
49
48
    sys.exit(1)
50
49
 
51
50
UIFILEDIR = os.path.dirname(GLADEFILENAME)
55
54
 
56
55
if not os.path.isfile(UIFILENAME):
57
56
    # Fail
58
 
    print _i18n('UI description file cannot be found.')
 
57
    print _('UI description file cannot be found.')
59
58
    sys.exit(1)
60
59
 
61
60