diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index b4b9f254..88b03687 100644 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -128,7 +128,7 @@ def _set_chbre(adher, chbre): except EnvironmentError, c: return c.args[0] + '\n' except ValueError, c: if len(c.args) == 2: - # La chambre est occup-Aée-b + # La chambre est occupée squatteur = c.args[1] aff(squatteur) arg = u'--title "Inscription adhérent" ' @@ -1562,13 +1562,13 @@ def modif_adher(adher): arg += u'"Connexion" "Changer de type de connexion(gratuit->payant)" ' if adher.compte(): changement_compte = u", compte sur zamok" else: changement_compte = u"" - arg += u'"État-civil" "Nom, prénom%s" ' % changement_compte + arg += u'"Etat-civil" "Nom, prénom%s" ' % changement_compte if adher.chbre() == 'EXT': arg += u'"Adresse" "Déménagement" ' else: arg += u'"Chambre" "Déménagement" ' arg += u'"Etudes" "Changement d\'année ou de filière" ' - arg += u'"Téléphone" "Changement de numéro de téléphone" ' + arg += u'"Telephone" "Changement de numéro de téléphone" ' if payant: arg += u'"Mail" "Créer un compte ou changer l\'adresse mail de contact" ' arg += u'"Alias" "Créer ou supprimer un alias mail" ' @@ -1591,7 +1591,7 @@ def modif_adher(adher): if res[0] == 'Etudes': set_etudes(adher) - elif res[0] == 'État-civil': + elif res[0] == 'Etat-civil': set_etat_civil(adher) elif res[0] == 'Administratif': if not set_admin(adher): @@ -1672,7 +1672,7 @@ def modif_adher(adher): break - elif res[0] == 'Téléphone': + elif res[0] == 'Telephone': while 1: arg = u'--title "Changement numéro de téléphone de de %s" ' % adher.Nom() arg += u'--inputbox "Nouveau numéro ?" 0 0 "%s" ' % adher.tel() @@ -2201,7 +2201,7 @@ if __name__ == '__main__': except SystemExit, c: if c.__str__() == '254': os.system('reset') - print "Votre session d'édition à été tuée." + print "Votre session d'édition a été tuée." exit = c except: if not debug: os.system('clear')