Does not work after locale change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Decibel Audio Player |
Fix Released
|
Low
|
Anonym25712 |
Bug Description
I just noticed that Decibel does not work after the locale is changed.
This is due to the fact that internally translated strings are used as dictionary keys in (at least) src/modules/
PREFS_DEFAULT_
...
...
}
In German _('Title') == 'Titel', which gets saved as part of the 'columns-
If I then change the locale to English (for example, by executing Decibel in my local Git repository with no generated .mo files), the following piece of code fails:
visible = tools.prefs.
columns = (('#', [(pixbufRdr, gtk.gdk.Pixbuf), (txtRRdr, TYPE_INT)], (ROW_NUM, ROW_TIT), False, visible['#']),
...
visible[
This leaves Decibel in a broken state.
Fixed on trunk.