Salammpa,
It is quite normal here to train the replacement when you are going on vacation.Don't worry about your job. It is your skills and attitude that matters most. If the company values you they will not terminate you . Otherwise if the situation is as metioned above ,realize they does not deserve you. Important note , the person who gives sustenance is almighty not your employer.