The copyright laws apply to ANY fixed expression of original content, including slogans, sayings, phrases, etc., and regardless of the medium--so on paper, on a website or in software, or yes, on a t-shirt. The same laws and principals will apply to what you do as they would to what Stephen King does when he writes a book.