You've already forked tribes-plugin-aether
forked from tribes/tribes-plugin-template
feat: use shared Tribes gettext
Use tgettext for shared sign-in UI copy.
This commit is contained in:
@@ -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 %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user