Translates a line of text based on the traits passed to the Diet parser.
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.
Translates a line of text based on the traits passed to the Diet parser.
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.