diff options
author | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-01 18:48:08 -0500 |
---|---|---|
committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-01 18:48:08 -0500 |
commit | 32e4aa42d395fceb592b783cdca1268835fe41b5 (patch) | |
tree | dd4c35174884935d5834008360f25173e242e88b | |
parent | fdbf9b06e5672cf6e6038165191fae9bf01bee9f (diff) | |
download | pleroma-32e4aa42d395fceb592b783cdca1268835fe41b5.tar.gz |
Make static fe translatable
-rw-r--r-- | lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex | 2 | ||||
-rw-r--r-- | priv/gettext/static_pages.pot | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex b/lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex index 3191bf450..a14ca305e 100644 --- a/lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex +++ b/lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex @@ -5,7 +5,7 @@ <form class="pull-right collapse" method="POST" action="<%= Helpers.util_path(@conn, :remote_subscribe) %>"> <input type="hidden" name="nickname" value="<%= @user.nickname %>"> <input type="hidden" name="profile" value=""> - <button type="submit" class="collapse">Remote follow</button> + <button type="submit" class="collapse"><%= Gettext.dpgettext("static_pages", "static fe profile page remote follow button", "Remote follow") %></button> </form> <%= raw Formatter.emojify(@user.name, @user.emoji) %> | <%= link "@#{@user.nickname}@#{Endpoint.host()}", to: (@user.uri || @user.ap_id) %> diff --git a/priv/gettext/static_pages.pot b/priv/gettext/static_pages.pot index 1af6796c8..1bde0099d 100644 --- a/priv/gettext/static_pages.pot +++ b/priv/gettext/static_pages.pot @@ -353,3 +353,9 @@ msgstr "" msgctxt "mfa recover verify recovery code button" msgid "Verify" msgstr "" + +#, elixir-format +#: lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex:8 +msgctxt "static fe profile page remote follow button" +msgid "Remote follow" +msgstr "" |