[processing] fixed wrong call to self.tr from static method
[processing] minor code cleaning