check is_one_dir. pass $diff_option to use_diff_cmd
remove --tr option of diff. fix bug of finding translation repository of target
die on chdir error
fix find_target_resource.
remove duplicate semicolons