feat: use shared Tribes gettext

Use tgettext for shared sign-in UI copy.
This commit is contained in:
2026-05-27 20:07:00 +02:00
parent b4b8c83ddb
commit 34bec7225b
+3 -1
View File
@@ -10,6 +10,8 @@ defmodule TribeOne.TribesPlugin.AetherWeb.TimelineLive do
alias Tribes.Plugin.Services.Routes
alias Tribes.Scope
import Tribes.Plugin.Gettext
@impl true
def mount(_params, _session, socket) do
feed = load_feed()
@@ -173,7 +175,7 @@ defmodule TribeOne.TribesPlugin.AetherWeb.TimelineLive do
</form>
<% else %>
<div class="rounded-box border border-dashed border-base-300 bg-base-100 p-6 text-center text-sm text-base-content/70">
Sign in to publish notes from your local identity.
{tgettext("Sign in")} to publish notes from your local identity.
</div>
<% end %>