update french translations + code clean up