Make password reset pages translatable
[akkoma] / lib / pleroma / web / templates / twitter_api / password / reset_failed.html.eex
index 4ed4ac8bce314effb5bc9c09f79ea790faa3ac07..774e3462aa4e82301145ed76204c428c92382f07 100644 (file)
@@ -1,2 +1,6 @@
-<h2>Password reset failed</h2>
-<h3><a href="<%= Pleroma.Web.Endpoint.url() %>">Homepage</a></h3>
+<h2><%= Gettext.dpgettext("static_pages", "password reset failed message", "Password reset failed") %></h2>
+<h3>
+  <a href="<%= Pleroma.Web.Endpoint.url() %>">
+    <%= Gettext.dpgettext("static_pages", "password reset failed homepage link", "Homepage") %>
+  </a>
+</h3>