Make remote follow pages translatable

This commit is contained in:
Tusooa Zhu 2022-02-21 18:42:25 -05:00
commit a867107437
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
7 changed files with 18 additions and 17 deletions

View file

@ -5,6 +5,7 @@
defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
use Pleroma.Web, :view
import Phoenix.HTML.Form
alias Pleroma.Web.Gettext
defdelegate avatar_url(user), to: Pleroma.User
end

View file

@ -7,6 +7,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilView do
import Phoenix.HTML.Form
alias Pleroma.Config
alias Pleroma.Web.Endpoint
alias Pleroma.Web.Gettext
def status_net_config(instance) do
"""