Which phrase best defines dialect?

the set of slang terms in a language

a manner of conversation that contains no idioms

rules relating spelling and pronunciation

a regional or social variant of a language