mirror of
https://github.com/gryf/wicd.git
synced 2025-12-21 21:38:06 +01:00
Fixed setup.py translations installation and made wicd-daemon.py +x
This commit is contained in:
12
setup.py
12
setup.py
@@ -463,14 +463,10 @@ try:
|
|||||||
print 'Using pid path', os.path.basename(wpath.pidfile)
|
print 'Using pid path', os.path.basename(wpath.pidfile)
|
||||||
print 'Language support for',
|
print 'Language support for',
|
||||||
for language in os.listdir('translations/'):
|
for language in os.listdir('translations/'):
|
||||||
if not language.startswith('.'):
|
print language,
|
||||||
codes = language.split('_')
|
data.append((wpath.translations + language + '/LC_MESSAGES/',
|
||||||
short_language = language
|
['translations/' + language + '/LC_MESSAGES/wicd.mo']))
|
||||||
if codes[0].lower() == codes[1].lower():
|
print
|
||||||
short_language = codes[0].lower()
|
|
||||||
print short_language,
|
|
||||||
data.append((wpath.translations + short_language + '/LC_MESSAGES/',
|
|
||||||
['translations/' + language + '/LC_MESSAGES/wicd.mo']))
|
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print str(e)
|
print str(e)
|
||||||
print '''Error setting up data array. This is normal if
|
print '''Error setting up data array. This is normal if
|
||||||
|
|||||||
0
wicd/wicd-daemon.py
Executable file → Normal file
0
wicd/wicd-daemon.py
Executable file → Normal file
Reference in New Issue
Block a user