diff --git a/templates/registration/password_reset_email.html b/templates/registration/password_reset_email.html
index a7c15b82a8..19e70a1aad 100644
--- a/templates/registration/password_reset_email.html
+++ b/templates/registration/password_reset_email.html
@@ -1,17 +1,15 @@

-
-{% trans username=user.get_username() %}
-
Forgot your password on the {{ site_name }}? Don't worry!
-To reset the password for your account "{{ username }}", click the button below.
-{% endtrans %}
+
{{ _("Forgot your password on the %(site_name)s? Don't worry!", site_name=site_name) }}
+{{ _('To reset the password for your account "%(username)s", click the button below.', username=user.get_username()) }}
-Reset password
+{{ _('Reset Password') }}
{% if SITE_ADMIN_EMAIL %}
{{ _('See you soon! If you have problems resetting your email, feel free to shoot us an email at') }}
{{ SITE_ADMIN_EMAIL }}
diff --git a/templates/submission/internal-error-message.html b/templates/submission/internal-error-message.html
index 2b2e5b0ca7..f6a1e9d9ac 100644
--- a/templates/submission/internal-error-message.html
+++ b/templates/submission/internal-error-message.html
@@ -1,9 +1,8 @@
{% if request.user == submission.user.user %}
- {% trans trimmed %}
- An internal error occurred while grading, and the {{ SITE_NAME }} administrators have been notified.
- In the meantime, try resubmitting in a few seconds.
- {% endtrans %}
+ {{ _('An internal error occurred while grading, and the %(site_name)s administrators have been notified.', site_name=SITE_NAME) }}
+
+ {{ _('In the meantime, try resubmitting in a few seconds.') }}
{% else %}
{{ _('An internal error occurred while grading.') }}
{% endif %}
@@ -15,4 +14,4 @@
{{ _('Error information') }}
{{ submission.error|highlight('pytb') }}
{% endif %}
-{% endif %}
\ No newline at end of file
+{% endif %}