A trait attribution is to personality, as a situational attribution is to environment.
Trait attribution is behavioral analysis that is based on the core personality of that person.
Situational attribution on the other hand is behavioral analysis that is based on the environment and circumstances that exist around that person.