Yes—for practical purposes, Kung Fu Panda and Kung Fu Panda: Legendary Warriors for the DS and Wii refer to the same game.
"Legendary Warriors" is simply the title used for the handheld and Wii release, so you're getting the same adventure either way.