1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 21:08:06 +01:00

Experimental:

* Fixed typo in setup.py
This commit is contained in:
compwiz18
2008-09-06 20:35:53 +00:00
parent 78b93a4b77
commit 9a846b8e43

View File

@@ -247,11 +247,7 @@ class get_translations(Command):
#msgfmt --output-file=$iden/LC_MESSAGES/wicd.mo po/$iden.po
lang_identifier = open(pofile,'r').readlines()[1].strip()[2:]
shutil.move(pofile, lang_identifier+'.po')
print 'Got',lang_identifier% sudo wicd -foe
Traceback (most recent call last):
File "/usr/lib/wicd/wicd-daemon.py", line 59, in <module>
from wicd.configmanager import ConfigManager
ImportError: No module named configmanager
print 'Got',lang_identifier
os.makedirs('translations/'+lang_identifier+'/LC_MESSAGES')
os.system('msgfmt --output-file=translations/'+lang_identifier+'/LC_MESSAGES/wicd.mo '+lang_identifier+'.po')
os.remove(lang_identifier+'.po')