[scripts] Going to utf-8

This commit is contained in:
Pierre-Elliott Bécue 2013-05-04 19:19:36 +02:00
parent c4a19a88ed
commit a1bf0a4547
54 changed files with 676 additions and 573 deletions

View file

@ -1,9 +1,9 @@
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
# -*- coding: utf-8 -*-
"""
etat_imprimante.py
Récupère, filtre et formate l'état actuel de l'imprimante
Récupère, filtre et formate l'état actuel de l'imprimante
Copyright (c) 2006, 2007, 2008, 2009 by Cr@ns (http://www.crans.org)
@ -28,7 +28,7 @@ def etat_canon():
'printing(4)\nrunning(2)' : u'Impression en cours',
'other(1)\ndown(5)' : u"Imprimante hors-service",
'other(1)\nrunning(2)' : u'Imprimante en veille',
'warmup(5)\nrunning(2)' : u'Préchauffage',
'warmup(5)\nrunning(2)' : u'Préchauffage',
'idle(3)\nwarning(3)' : u'Imprimante fonctionnelle',
'printing(4)\nwarning(3)' : u'Impression en cours'
}
@ -53,15 +53,15 @@ def etat_canon():
def etat_laserjet():
""" Renvoie une liste des differents ecrans actuels du display de l'imprimante """
_dico = {
u"READY": u"Prête",
u"PrÁt": u"Prêt",
u"READY": u"Prête",
u"PrÁt": u"Prêt",
u"Pr menus, appuy \x1e": u"",
u"Powersave activÅ": u"En veille",
u"Verification": u"Vérification imprimante",
u"Powersave activÅ": u"En veille",
u"Verification": u"Vérification imprimante",
u"imprimante": u"",
u"PrÅchauffage": u"Préchauffage",
u"PrÅchauffage": u"Préchauffage",
u"Traitement de la": u"Impression en cours",
u"tÀche du bac 4": u"",
u"tÀche du bac 4": u"",
u"COMMANDER CARTOUCHE": u"",
u"COMMANDER KIT NETTOY": u"",
u"COMMANDER FOURNIT.": u"",