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:
@@ -67,9 +67,10 @@ from optparse import OptionParser
|
||||
|
||||
CURSES_REVNO=wpath.curses_revision
|
||||
|
||||
language = misc.get_language_list_gui()
|
||||
# We need 'Connecting' without the '...'
|
||||
language['connecting']=misc.get_language_list_tray()['connecting']
|
||||
# Fix strings in wicd-curses
|
||||
from wicd.translations import language
|
||||
for i in language.keys():
|
||||
language[i] = language[i].decode('utf8')
|
||||
|
||||
########################################
|
||||
##### SUPPORT CLASSES
|
||||
|
||||
Reference in New Issue
Block a user