projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
in dev, allow dev FE
[akkoma]
/
lib
/
pleroma
/
web
/
templates
/
twitter_api
/
remote_follow
/
follow.html.eex
diff --git
a/lib/pleroma/web/templates/twitter_api/remote_follow/follow.html.eex
b/lib/pleroma/web/templates/twitter_api/remote_follow/follow.html.eex
index 5ba192cd703d73b0680204b0316e9a91e44c26ab..e2d251faca99c206f6d3ce9ee5a4cbfb5e9650e6 100644
(file)
--- a/
lib/pleroma/web/templates/twitter_api/remote_follow/follow.html.eex
+++ b/
lib/pleroma/web/templates/twitter_api/remote_follow/follow.html.eex
@@
-1,11
+1,11
@@
<%= if @error == :error do %>
<%= if @error == :error do %>
- <h2>
Error fetching user
</h2>
+ <h2>
<%= Gettext.dpgettext("static_pages", "remote follow error", "Error fetching user") %>
</h2>
<% else %>
<% else %>
- <h2>
Remote follow
</h2>
+ <h2>
<%= Gettext.dpgettext("static_pages", "remote follow header", "Remote follow") %>
</h2>
<img height="128" width="128" src="<%= avatar_url(@followee) %>">
<p><%= @followee.nickname %></p>
<img height="128" width="128" src="<%= avatar_url(@followee) %>">
<p><%= @followee.nickname %></p>
- <%= form_for @conn, remote_follow_path(@conn, :do_follow), [as: "user"], fn f -> %>
+ <%= form_for @conn,
Routes.
remote_follow_path(@conn, :do_follow), [as: "user"], fn f -> %>
<%= hidden_input f, :id, value: @followee.id %>
<%= hidden_input f, :id, value: @followee.id %>
- <%= submit
"Authorize"
%>
+ <%= submit
Gettext.dpgettext("static_pages", "remote follow authorization button", "Authorize")
%>
<% end %>
<% end %>
<% end %>
<% end %>