Compare commits

...

3 commits

Author SHA1 Message Date
f18fc0ab63
chore: bump to 0.2.0
All checks were successful
Checks / check (push) Successful in -4m26s
Build and Push Docker Image / Build and Push Image (push) Successful in -3m52s
i finally remembered that with each feat commit you're supposed to bump
the minor, not the patch. so i bumped to 0.2.0
2024-12-14 00:35:26 +02:00
41c67fe35e
style: remove "Phoenix Framework" from tab title 2024-12-14 00:34:04 +02:00
ff9a3a8e92
trans: Translate Register and Log in
kinda forgot about those
2024-12-14 00:33:01 +02:00
5 changed files with 52 additions and 24 deletions

View file

@ -4,8 +4,8 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="csrf-token" content={get_csrf_token()} /> <meta name="csrf-token" content={get_csrf_token()} />
<.live_title suffix=" · Phoenix Framework"> <.live_title>
{assigns[:page_title] || "Exmr"} {assigns[:page_title] || "ExMR"}
</.live_title> </.live_title>
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} /> <link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
<script> <script>
@ -48,7 +48,7 @@
href={~p"/users/register"} href={~p"/users/register"}
class="text-[0.8125rem] leading-6 text-zinc-900 font-semibold hover:text-zinc-700 dark:text-zinc-300 dark:hover:text-zinc-100" class="text-[0.8125rem] leading-6 text-zinc-900 font-semibold hover:text-zinc-700 dark:text-zinc-300 dark:hover:text-zinc-100"
> >
Register {gettext("Register")}
</.link> </.link>
</li> </li>
<li> <li>
@ -56,7 +56,7 @@
href={~p"/users/log_in"} href={~p"/users/log_in"}
class="text-[0.8125rem] leading-6 text-zinc-900 font-semibold hover:text-zinc-700 dark:text-zinc-300 dark:hover:text-zinc-100" class="text-[0.8125rem] leading-6 text-zinc-900 font-semibold hover:text-zinc-700 dark:text-zinc-300 dark:hover:text-zinc-100"
> >
Log in {gettext("Log in")}
</.link> </.link>
</li> </li>
<% end %> <% end %>

View file

@ -4,7 +4,7 @@ defmodule Exmr.MixProject do
def project do def project do
[ [
app: :exmr, app: :exmr,
version: "0.1.4", version: "0.2.0",
elixir: "~> 1.14", elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()), elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,

View file

@ -31,7 +31,7 @@ msgstr ""
msgid "Built using Phoenix LiveView, Ecto, and TailwindCSS by @vavakado" msgid "Built using Phoenix LiveView, Ecto, and TailwindCSS by @vavakado"
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:44 #: lib/exmr_web/live/exam_live/index.html.heex:43
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
@ -57,7 +57,7 @@ msgstr ""
msgid "New Exam" msgid "New Exam"
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:51 #: lib/exmr_web/live/exam_live/index.html.heex:50
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
@ -82,12 +82,12 @@ msgstr ""
msgid "Success!" msgid "Success!"
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:31 #: lib/exmr_web/live/exam_live/index.html.heex:30
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Today" msgid "Today"
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:33 #: lib/exmr_web/live/exam_live/index.html.heex:32
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Tomorrow" msgid "Tomorrow"
msgid_plural "%{count} days left" msgid_plural "%{count} days left"
@ -212,14 +212,24 @@ msgstr ""
msgid "Saving..." msgid "Saving..."
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:34 #: lib/exmr_web/live/exam_live/index.html.heex:33
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Yesterday" msgid "Yesterday"
msgid_plural "%{count} days passed" msgid_plural "%{count} days passed"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: lib/exmr_web/live/exam_live/index.html.heex:32 #: lib/exmr_web/live/exam_live/index.html.heex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Tommorow" msgid "Tommorow"
msgstr "" msgstr ""
#: lib/exmr_web/components/layouts/root.html.heex:59
#, elixir-autogen, elixir-format
msgid "Log in"
msgstr ""
#: lib/exmr_web/components/layouts/root.html.heex:51
#, elixir-autogen, elixir-format
msgid "Register"
msgstr ""

View file

@ -31,7 +31,7 @@ msgstr ""
msgid "Built using Phoenix LiveView, Ecto, and TailwindCSS by @vavakado" msgid "Built using Phoenix LiveView, Ecto, and TailwindCSS by @vavakado"
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:44 #: lib/exmr_web/live/exam_live/index.html.heex:43
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
@ -57,7 +57,7 @@ msgstr ""
msgid "New Exam" msgid "New Exam"
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:51 #: lib/exmr_web/live/exam_live/index.html.heex:50
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
@ -82,12 +82,12 @@ msgstr ""
msgid "Success!" msgid "Success!"
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:31 #: lib/exmr_web/live/exam_live/index.html.heex:30
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Today" msgid "Today"
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:33 #: lib/exmr_web/live/exam_live/index.html.heex:32
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Tomorrow" msgid "Tomorrow"
msgid_plural "%{count} days left" msgid_plural "%{count} days left"
@ -212,14 +212,24 @@ msgstr ""
msgid "Saving..." msgid "Saving..."
msgstr "" msgstr ""
#: lib/exmr_web/live/exam_live/index.html.heex:34 #: lib/exmr_web/live/exam_live/index.html.heex:33
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Yesterday" msgid "Yesterday"
msgid_plural "%{count} days passed" msgid_plural "%{count} days passed"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: lib/exmr_web/live/exam_live/index.html.heex:32 #: lib/exmr_web/live/exam_live/index.html.heex:31
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "Tommorow" msgid "Tommorow"
msgstr "" msgstr ""
#: lib/exmr_web/components/layouts/root.html.heex:59
#, elixir-autogen, elixir-format
msgid "Log in"
msgstr ""
#: lib/exmr_web/components/layouts/root.html.heex:51
#, elixir-autogen, elixir-format
msgid "Register"
msgstr ""

View file

@ -13,7 +13,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: unnamed project\n" "Project-Id-Version: unnamed project\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: 2024-12-12 18:19+0200\n" "PO-Revision-Date: 2024-12-14 00:27+0200\n"
"Last-Translator: Vladimir Rubin <vavakado@proton.me>\n" "Last-Translator: Vladimir Rubin <vavakado@proton.me>\n"
"Language-Team: Russian\n" "Language-Team: Russian\n"
"Language: ru\n" "Language: ru\n"
@ -42,7 +42,7 @@ msgstr ""
"Создано с использованием Phoenix LiveView, Ecto и TailwindCSS в исполнении " "Создано с использованием Phoenix LiveView, Ecto и TailwindCSS в исполнении "
"@vavakado" "@vavakado"
#: lib/exmr_web/live/exam_live/index.html.heex:44 #: lib/exmr_web/live/exam_live/index.html.heex:43
msgid "Edit" msgid "Edit"
msgstr "Изменить" msgstr "Изменить"
@ -63,7 +63,7 @@ msgstr "Держитесь, пока мы не вернемся в строй"
msgid "New Exam" msgid "New Exam"
msgstr "Новый экзамен" msgstr "Новый экзамен"
#: lib/exmr_web/live/exam_live/index.html.heex:51 #: lib/exmr_web/live/exam_live/index.html.heex:50
msgid "Remove" msgid "Remove"
msgstr "Удалить" msgstr "Удалить"
@ -83,11 +83,11 @@ msgstr "Сортировать по предмету"
msgid "Success!" msgid "Success!"
msgstr "Успех!" msgstr "Успех!"
#: lib/exmr_web/live/exam_live/index.html.heex:31 #: lib/exmr_web/live/exam_live/index.html.heex:30
msgid "Today" msgid "Today"
msgstr "Сегодня" msgstr "Сегодня"
#: lib/exmr_web/live/exam_live/index.html.heex:33 #: lib/exmr_web/live/exam_live/index.html.heex:32
msgid "Tomorrow" msgid "Tomorrow"
msgid_plural "%{count} days left" msgid_plural "%{count} days left"
msgstr[0] "%{count} день остался" msgstr[0] "%{count} день остался"
@ -194,13 +194,21 @@ msgstr "Сохранить экзамен"
msgid "Saving..." msgid "Saving..."
msgstr "Сохранение..." msgstr "Сохранение..."
#: lib/exmr_web/live/exam_live/index.html.heex:34 #: lib/exmr_web/live/exam_live/index.html.heex:33
msgid "Yesterday" msgid "Yesterday"
msgid_plural "%{count} days passed" msgid_plural "%{count} days passed"
msgstr[0] "%{count} день прошёл" msgstr[0] "%{count} день прошёл"
msgstr[1] "%{count} дня прошло" msgstr[1] "%{count} дня прошло"
msgstr[2] "%{count} дней прошло" msgstr[2] "%{count} дней прошло"
#: lib/exmr_web/live/exam_live/index.html.heex:32 #: lib/exmr_web/live/exam_live/index.html.heex:31
msgid "Tommorow" msgid "Tommorow"
msgstr "Завтра" msgstr "Завтра"
#: lib/exmr_web/components/layouts/root.html.heex:59
msgid "Log in"
msgstr "Зайти в аккаунт"
#: lib/exmr_web/components/layouts/root.html.heex:51
msgid "Register"
msgstr "Зарегестрироваться"