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:
6
setup.py
6
setup.py
@@ -247,11 +247,7 @@ class get_translations(Command):
|
|||||||
#msgfmt --output-file=$iden/LC_MESSAGES/wicd.mo po/$iden.po
|
#msgfmt --output-file=$iden/LC_MESSAGES/wicd.mo po/$iden.po
|
||||||
lang_identifier = open(pofile,'r').readlines()[1].strip()[2:]
|
lang_identifier = open(pofile,'r').readlines()[1].strip()[2:]
|
||||||
shutil.move(pofile, lang_identifier+'.po')
|
shutil.move(pofile, lang_identifier+'.po')
|
||||||
print 'Got',lang_identifier% sudo wicd -foe
|
print 'Got',lang_identifier
|
||||||
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
|
|
||||||
os.makedirs('translations/'+lang_identifier+'/LC_MESSAGES')
|
os.makedirs('translations/'+lang_identifier+'/LC_MESSAGES')
|
||||||
os.system('msgfmt --output-file=translations/'+lang_identifier+'/LC_MESSAGES/wicd.mo '+lang_identifier+'.po')
|
os.system('msgfmt --output-file=translations/'+lang_identifier+'/LC_MESSAGES/wicd.mo '+lang_identifier+'.po')
|
||||||
os.remove(lang_identifier+'.po')
|
os.remove(lang_identifier+'.po')
|
||||||
|
|||||||
Reference in New Issue
Block a user