Function translate
Translates a line of text based on the traits passed to the Diet parser.
string translate(TRAITS...)
(
string text
);
The input text may contain string interpolations of the form #{...}
or
!{...}
, where the contents form an arbitrary D expression. The
translation function is required to pass these through unmodified.