Skip to content

Commit d8877a1

Browse files
committed
refactor: use translation function for newsletter label in account create template
1 parent a7a2c70 commit d8877a1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

openlibrary/templates/account/create.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,7 @@ <h1 class="ol-signup-hero__title">$_("Sign Up")</h1>
7777

7878
<div class="ol-signup-form__checkbox">
7979
<input type="checkbox" id="ia_newsletter" name="ia_newsletter"/>
80-
<label for="ia_newsletter">
81-
I want to receive news, announcements, and resources from the
82-
<a href="https://archive.org/">Internet Archive</a>,
83-
the non-profit that runs Open Library.
84-
</label>
80+
<label for="ia_newsletter">$:_('I want to receive news, announcements, and resources from the <a href="https://archive.org/">Internet Archive</a>, the non-profit that runs Open Library.')</label>
8581
</div>
8682
<div id="rpd-checkbox" class="ol-signup-form__checkbox">
8783
$:form.pd_request.render() <label for="pd_request">$:form.pd_request.description</label>

0 commit comments

Comments
 (0)