This is completely wrong, sorry. The 1936-1939 Spanish civil war was a coup from the right-wing against the left-wing government. Of course, Catalan autonomy was an issue there too and one of the motivations for the coup, it but was nowhere near the main reason. And no, catalan independence is absolutely not at all equivalent to neo-confederate secessionism.