summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/templates/layout/email.html.eex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/templates/layout/email.html.eex')
-rw-r--r--lib/pleroma/web/templates/layout/email.html.eex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pleroma/web/templates/layout/email.html.eex b/lib/pleroma/web/templates/layout/email.html.eex
index f6dcd7f0f..5858e48b4 100644
--- a/lib/pleroma/web/templates/layout/email.html.eex
+++ b/lib/pleroma/web/templates/layout/email.html.eex
@@ -1,10 +1,10 @@
<!DOCTYPE html>
-<html lang="en">
+<html lang="<%= Pleroma.Web.Gettext.language_tag() %>">
<head>
<meta charset="utf-8">
<title><%= @email.subject %></title>
</head>
<body>
- <%= render @view_module, @view_template, assigns %>
+ <%= render Phoenix.Controller.view_module(@conn), Phoenix.Controller.view_template(@conn), assigns %>
</body>
-</html> \ No newline at end of file
+</html>