You can shorten this with a loop:
```mako
% for template_name in ["metadata-videolist-entry", "file-upload"]:
<script type="text/template" id="${template_name}">
  <%static:include path="js/transcripts/${template_name}.underscore" />
</script>
% endfor
% for template_name in ["transcripts-found", "transcripts-uploaded", "transcripts_use_existing", "transcripts-not-found", "transcripts-replace", "transcripts-import" "transcripts-choose"]:
<script type="text/template" id="${template_name}">
  <%static:include path="js/transcripts/messages/${template_name}.underscore" />
</script>
% endfor
```

It would be shorter if all the template files were in the same directory, instead of being split across two directories.