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

Added translations.py, and adapted all gtk and curses ui files to use it.

Moved the language dict functions and get_gettext to translations.py.  Also
  killed the functions and laid the dict bare in the file
Removed all instances of language[number] from wicd.
This commit is contained in:
Andrew Psaltis
2009-03-04 00:02:14 -05:00
parent 6dd0642079
commit a1169cb1df
10 changed files with 254 additions and 245 deletions

View File

@@ -162,7 +162,6 @@ class configure(Command):
self.init = '/etc/rc.d/'
else:
self.init = 'FAIL'
self.initfile = 'FAIL'
self.no_install_init = True
self.distro_detect_failed = True
print 'WARNING: Unable to detect the distribution in use. ' + \
@@ -490,16 +489,17 @@ Wicd supports wired and wireless networks, and capable of
creating and tracking profiles for both. It has a
template-based wireless encryption system, which allows the user
to easily add encryption methods used. It ships with some common
encryption types, such as WPA and WEP. Wicd will automatically
encryption types, such as WPA and WEP. Wicdl will automatically
connect at startup to any preferred network within range.
""",
author="Adam Blackburn, Dan O'Reilly",
author_email="compwiz18@users.sourceforge.net, oreilldf@gmail.com",
author_email="compwiz18@gmail.com, oreilldf@gmail.com",
url="http://wicd.net",
license="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html",
py_modules=['wicd.networking', 'wicd.misc', 'wicd.gui', 'wicd.wnettools',
'wicd.wpath', 'wicd.prefs', 'wicd.netentry', 'wicd.dbusmanager',
'wicd.logfile', 'wicd.backend', 'wicd.configmanager', 'wicd.guiutil'],
py_modules=['wicd.networking','wicd.misc','wicd.gui','wicd.wnettools',
'wicd.wpath','wicd.prefs','wicd.netentry','wicd.dbusmanager',
'wicd.logfile','wicd.backend','wicd.configmanager',
'wicd.guiutil','wicd.translations'],
ext_modules=[iwscan_ext, wpactrl_ext],
data_files=data
)