All prosecutions for violation of county ordinances shall be brought by the county attorney in the name of the county upon complaint and warrant as in other criminal cases.