Skip to content

Commit

Permalink
fix translation lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
alsadi committed Aug 15, 2011
1 parent b51dd36 commit aa24843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions othman/gtkUi.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ def quit(self,*args):

def main():
exedir=os.path.dirname(sys.argv[0])
ld=os.path.join(exedir, 'locale')
if not os.path.exists(ld): ld=os.path.join(exedir,'..','share','locale')
ld=os.path.join(exedir,'..','share','locale')
if not os.path.exists(ld): ld=os.path.join(exedir, 'locale')
gettext.install('othman', ld, unicode=0)
w=othmanUi()
gtk.main()
Expand Down

0 comments on commit aa24843

Please sign in to comment.