def pre_commit(sender, translation, **kwargs): run_pre_commit_script(translation.subproject, translation, translation.get_filename())
def pre_commit(sender, translation, **kwargs): run_pre_commit_script( translation.subproject, translation, translation.get_filename() )
def pre_commit(sender, translation, **kwargs): run_pre_commit_script( translation.component, translation, translation.get_filename() )