Make static fe translatable
authorTusooa Zhu <tusooa@kazv.moe>
Tue, 1 Mar 2022 23:48:08 +0000 (18:48 -0500)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Wed, 29 Jun 2022 19:45:05 +0000 (20:45 +0100)
lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex
priv/gettext/static_pages.pot

index 3191bf45045cb8359f58fb2425292343eebf1a05..a14ca305efe3feff17467d3306f8cbba74a8a658 100644 (file)
@@ -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) %>
index 1af6796c845039a3f024e71ce2f3d3e6eecd7676..1bde0099db6348ed322c0c1652108dfac4a7f900 100644 (file)
@@ -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 ""