@imbAF My point is that that is
one version to use the term. It's not the one I prefer, since the special properties of "gauge symmetries" are not because they depend on spacetime but because they are related to a redundancy in the choice of variables for the given action/Lagrangian/Hamiltonian. See
this answer of mine for an approach to "gauge transformations" in terms of first-class constraints