Skip to content

Commit 2e83d07

Browse files
robinwhittletonacabal
authored andcommitted
Add a missed time block in translated productions’ colophons
1 parent 7e5390d commit 2e83d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

se/commands/create_draft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def _create_draft(args: Namespace, plain_output: bool):
909909
colophon_xhtml = colophon_xhtml.replace("<a href=\"AUTHOR_WIKI_URL\">AUTHOR</a>", contributor_string)
910910

911911
if translators:
912-
translator_block = f"It was translated from ORIGINAL_LANGUAGE in TRANSLATION_YEAR by<br/>\n\t\t\t{_generate_contributor_string(translators, True)}.</p>"
912+
translator_block = f"It was translated from ORIGINAL_LANGUAGE in <time>TRANSLATION_YEAR</time> by<br/>\n\t\t\t{_generate_contributor_string(translators, True)}.</p>"
913913
colophon_xhtml = colophon_xhtml.replace("</p>\n\t\t\t<p>This ebook was produced for<br/>", f"<br/>\n\t\t\t{translator_block}\n\t\t\t<p>This ebook was produced for<br/>")
914914

915915
if args.pg_id:

0 commit comments

Comments
 (0)