yes, but if you damaged the wire with a metal spade, you could have burnt out the transformer, though only 15% probable, as well as damaging the wire.
Usually lights fail where splices are made. They use either large wire nuts filled with antioxidant or square, screw together splicers that stab into the wires.
Usually outside lights are 20 or 50 watts each, A normal transformer is either 250, or 500 watts, and usually there are multiple feeds to strings of lights to where the farthest away are set to a higher voltage... So most likely there are only 4 or 5 on a leg together, if the whole leg is out, it could be as simple as resetting a breaker within the transformer. (usually on the lower side or the bottom, it would be a round button that pops out when it trips, you just push it in. If it still trips then you have a fault in the line, or a bad breaker).
To test a line for faults, remove all light bulbs on the leg and test for continuity between the two wires (removed from transformer) Light bulbs will read continuity, but the leg should not if you pull all bulbs out.
If you find that you have a short,
Go to the middle of the circuit and divide it, test continuity in each direction, narrow down your search to a small area this way, (if the fault isn't immediately visible, it could take hours to find a small pierce where moist soil creates the connection).
Usually the feeder wire is unbroken, and the lights have their own wire that splices into the feeder. Just locate the wire from the first light and pull it up until you get to the junction. When you're done you can re-bury it easily.