$def with (work) $ i18n_strings = { $ "empty_excerpt": _("Please provide an excerpt."), $ "over_wordcount": _("That excerpt is too long.") $ }
$_("If there are particular (short) passages you feel represent the book well, please feel free to transcribe them here.")
$_("For example:") 23, xi or 433-434
$_('This excerpt is the first sentence of the book.')
$_("Maximum length is 2000 characters. No HTML allowed.") 2000
$_("Add an optional note.")

$_("Excerpts so far...")

$for i, excerpt in enumerate(work.excerpts):
[x]
$for line in excerpt.excerpt.split('\n'): $line

$if excerpt.pages: $_("From page") $excerpt.pages. $if excerpt.author: $excerpt.author.displayname $_("noted:") $else: $_("An anonymous note:") "$excerpt.comment"