fix path in translation.py
This commit is contained in:
parent
ef7c64acf2
commit
8257f5d5fa
1 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Dedicated to Yann
|
# Initially written by Nikos Kouremenos
|
||||||
|
# Dedicated to Yann Le Boulanger
|
||||||
|
# Usage: './translations.py [help] [stats] [update]'
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
@ -28,7 +30,8 @@ def show_help():
|
||||||
|
|
||||||
def update_pot():
|
def update_pot():
|
||||||
os.system('intltool-extract --type=gettext/glade ../src/gtkgui.glade')
|
os.system('intltool-extract --type=gettext/glade ../src/gtkgui.glade')
|
||||||
os.system('xgettext -k_ -kN_ -o gajim.pot ../src/*.py ../src/common/*.py ../src/gtkgui.glade.h')
|
os.system('xgettext -k_ -kN_ -o ../gajim.pot ../src/*.py ../src/common/*.py ../src/gtkgui.glade.h')
|
||||||
|
print 'gajim.pot was updated successfully'
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if os.path.basename(os.getcwd()) != 'scripts':
|
if os.path.basename(os.getcwd()) != 'scripts':
|
||||||
|
|
Loading…
Add table
Reference in a new issue