language problem
Status: Beta
Brought to you by:
morgan_greywolf
ink check works only if the default language is english.
the script search for string in english (yellow magenta etc. etc.). so, for example, in italian only the magenta ink level is show, because also in italian magenta is 'magenta' as in english. btu yellow, cyan and black bar don't show the ink level.
obviously starting the script with 'LANG=En stylus-toolbox' fix the problem.
Logged In: YES
user_id=1103162
Originator: NO
This is easy to fix, just open stylus-toolbox.py and add the following to the import list:
import gettext
Then under the refresh window function around line 247 after def(... add this:
gettext.bindtextdomain('gutenprint')
gettext.textdomain('gutenprint')
After that around line 274 look for this:
if y=='Black':
and change it into this
if y==gettext.gettext('Black'):
do the same for Cyan, Magenta, Yellow and Light. Save and Make Install.
Logged In: NO
Targetted fix for 1.0rc1.
Logged In: NO
Targetted fix for 1.0rc1.