Sorry, let me know if I got it right.
What you think is happening is that Catalonia wants to depart from Spain because of the corruption inherited from the dictatorship? Exotic yet interesting interpretation, erroneous nevertheless. No, “Catalonia” wasn’t criticizing the Spanish establishment or political system. And there has been some very important corruption cases in Catalonia, involving the biggest now pro independence party there.