From ff9a3a8e920a44faca28cd2d5721715248f0521a Mon Sep 17 00:00:00 2001 From: Vladimir Rubin Date: Sat, 14 Dec 2024 00:33:01 +0200 Subject: [PATCH] trans: Translate Register and Log in kinda forgot about those --- .../components/layouts/root.html.heex | 4 ++-- priv/gettext/default.pot | 22 ++++++++++++++----- priv/gettext/en/LC_MESSAGES/default.po | 22 ++++++++++++++----- priv/gettext/ru/LC_MESSAGES/default.po | 22 +++++++++++++------ 4 files changed, 49 insertions(+), 21 deletions(-) diff --git a/lib/exmr_web/components/layouts/root.html.heex b/lib/exmr_web/components/layouts/root.html.heex index 41529b3..1286acf 100644 --- a/lib/exmr_web/components/layouts/root.html.heex +++ b/lib/exmr_web/components/layouts/root.html.heex @@ -48,7 +48,7 @@ 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" > - Register + {gettext("Register")}
  • @@ -56,7 +56,7 @@ 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" > - Log in + {gettext("Log in")}
  • <% end %> diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 53b473c..2d64c9a 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -31,7 +31,7 @@ msgstr "" msgid "Built using Phoenix LiveView, Ecto, and TailwindCSS by @vavakado" 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 msgid "Edit" msgstr "" @@ -57,7 +57,7 @@ msgstr "" msgid "New Exam" 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 msgid "Remove" msgstr "" @@ -82,12 +82,12 @@ msgstr "" msgid "Success!" 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 msgid "Today" 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 msgid "Tomorrow" msgid_plural "%{count} days left" @@ -212,14 +212,24 @@ msgstr "" msgid "Saving..." 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 msgid "Yesterday" msgid_plural "%{count} days passed" msgstr[0] "" 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 msgid "Tommorow" 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 "" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index ac311cc..43eca18 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -31,7 +31,7 @@ msgstr "" msgid "Built using Phoenix LiveView, Ecto, and TailwindCSS by @vavakado" 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 msgid "Edit" msgstr "" @@ -57,7 +57,7 @@ msgstr "" msgid "New Exam" 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 msgid "Remove" msgstr "" @@ -82,12 +82,12 @@ msgstr "" msgid "Success!" 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 msgid "Today" 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 msgid "Tomorrow" msgid_plural "%{count} days left" @@ -212,14 +212,24 @@ msgstr "" msgid "Saving..." 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 msgid "Yesterday" msgid_plural "%{count} days passed" msgstr[0] "" 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 msgid "Tommorow" 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 "" diff --git a/priv/gettext/ru/LC_MESSAGES/default.po b/priv/gettext/ru/LC_MESSAGES/default.po index d79c99d..0b2f75b 100644 --- a/priv/gettext/ru/LC_MESSAGES/default.po +++ b/priv/gettext/ru/LC_MESSAGES/default.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: unnamed project\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 \n" "Language-Team: Russian\n" "Language: ru\n" @@ -42,7 +42,7 @@ msgstr "" "Создано с использованием Phoenix LiveView, Ecto и TailwindCSS в исполнении " "@vavakado" -#: lib/exmr_web/live/exam_live/index.html.heex:44 +#: lib/exmr_web/live/exam_live/index.html.heex:43 msgid "Edit" msgstr "Изменить" @@ -63,7 +63,7 @@ msgstr "Держитесь, пока мы не вернемся в строй" msgid "New Exam" msgstr "Новый экзамен" -#: lib/exmr_web/live/exam_live/index.html.heex:51 +#: lib/exmr_web/live/exam_live/index.html.heex:50 msgid "Remove" msgstr "Удалить" @@ -83,11 +83,11 @@ msgstr "Сортировать по предмету" msgid "Success!" msgstr "Успех!" -#: lib/exmr_web/live/exam_live/index.html.heex:31 +#: lib/exmr_web/live/exam_live/index.html.heex:30 msgid "Today" msgstr "Сегодня" -#: lib/exmr_web/live/exam_live/index.html.heex:33 +#: lib/exmr_web/live/exam_live/index.html.heex:32 msgid "Tomorrow" msgid_plural "%{count} days left" msgstr[0] "%{count} день остался" @@ -194,13 +194,21 @@ msgstr "Сохранить экзамен" msgid "Saving..." msgstr "Сохранение..." -#: lib/exmr_web/live/exam_live/index.html.heex:34 +#: lib/exmr_web/live/exam_live/index.html.heex:33 msgid "Yesterday" msgid_plural "%{count} days passed" msgstr[0] "%{count} день прошёл" msgstr[1] "%{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" 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 "Зарегестрироваться"