feat: add i18n #3

Merged
vavakado merged 7 commits from i18n into main 2024-12-12 18:56:59 +02:00
2 changed files with 8 additions and 4 deletions
Showing only changes of commit 094b0f0324 - Show all commits

View file

@ -1,10 +1,14 @@
<.header> <.header>
<%= gettext("Listing Exams") %> <%= gettext("Listing Exams") %>
<div> <div>
<button phx-click="sort" phx-value-by="subject" class="font-light"><%= gettext("Sort by Subject") %></button> <button phx-click="sort" phx-value-by="subject" class="font-light">
<%= gettext("Sort by Subject") %>
</button>
<a>|</a> <a>|</a>
<button phx-click="sort" phx-value-by="date" class="font-light"><%= gettext("Sort by Date") %></button> <button phx-click="sort" phx-value-by="date" class="font-light">
<%= gettext("Sort by Date") %>
</button>
</div> </div>
<:actions> <:actions>
<.link patch={~p"/exams/new"}> <.link patch={~p"/exams/new"}>