From 30715bbafb7ff3815484964c7368c78f9ced8f7e Mon Sep 17 00:00:00 2001 From: geekiot Date: Sat, 8 Nov 2025 18:57:08 +0500 Subject: [PATCH] Update [localization]: update locales & add new ru phrases --- src/locales/en/LC_MESSAGES/messages.po | 26 ++++++++++---- src/locales/ru/LC_MESSAGES/messages.po | 48 +++++++++++++++++++------- 2 files changed, 54 insertions(+), 20 deletions(-) diff --git a/src/locales/en/LC_MESSAGES/messages.po b/src/locales/en/LC_MESSAGES/messages.po index e3667b5..8488ffb 100644 --- a/src/locales/en/LC_MESSAGES/messages.po +++ b/src/locales/en/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2025-11-08 17:57+0500\n" +"POT-Creation-Date: 2025-11-08 18:50+0500\n" "PO-Revision-Date: 2025-10-19 17:54+0500\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -18,6 +18,14 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.17.0\n" +#: src/bot/handlers/unverified/callbacks/language.py:25 +msgid "unverified choose language menu" +msgstr "" + +#: src/bot/handlers/unverified/callbacks/language.py:52 +msgid "unverified choose language successfully template" +msgstr "" + #: src/bot/handlers/unverified/callbacks/menu.py:32 msgid "verification choose role menu" msgstr "" @@ -94,27 +102,31 @@ msgstr "" msgid "university members command menu" msgstr "" -#: src/bot/utils/keyboards/__init__.py:24 +#: src/bot/utils/keyboards/__init__.py:25 msgid "start verification button" msgstr "" -#: src/bot/utils/keyboards/__init__.py:35 +#: src/bot/utils/keyboards/__init__.py:29 +msgid "choose language button" +msgstr "" + +#: src/bot/utils/keyboards/__init__.py:58 msgid "student" msgstr "" -#: src/bot/utils/keyboards/__init__.py:39 +#: src/bot/utils/keyboards/__init__.py:62 msgid "teacher" msgstr "" -#: src/bot/utils/keyboards/__init__.py:51 +#: src/bot/utils/keyboards/__init__.py:74 msgid "verification finish button" msgstr "" -#: src/bot/utils/keyboards/__init__.py:55 +#: src/bot/utils/keyboards/__init__.py:78 msgid "verification reset button" msgstr "" -#: src/bot/utils/keyboards/__init__.py:70 +#: src/bot/utils/keyboards/__init__.py:93 msgid "verified menu button" msgstr "" diff --git a/src/locales/ru/LC_MESSAGES/messages.po b/src/locales/ru/LC_MESSAGES/messages.po index 2d6d3d9..9fcbf80 100644 --- a/src/locales/ru/LC_MESSAGES/messages.po +++ b/src/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2025-11-08 17:57+0500\n" +"POT-Creation-Date: 2025-11-08 18:50+0500\n" "PO-Revision-Date: 2025-10-19 15:07+0500\n" "Last-Translator: FULL NAME \n" "Language: ru\n" @@ -19,6 +19,14 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.17.0\n" +#: src/bot/handlers/unverified/callbacks/language.py:25 +msgid "unverified choose language menu" +msgstr "Добро пожаловать в меню выбора языка." + +#: src/bot/handlers/unverified/callbacks/language.py:52 +msgid "unverified choose language successfully template" +msgstr "Язык успешно выбран: {}" + #: src/bot/handlers/unverified/callbacks/menu.py:32 msgid "verification choose role menu" msgstr "Выберите вашу роль в УрФУ." @@ -37,11 +45,15 @@ msgstr "Процесс верификации был отменен." #: src/bot/handlers/unverified/callbacks/menu.py:123 msgid "verification successfully bound message" -msgstr "Верификация успешно завершена.\nТеперь вы можете пользоваться меню - /menu" +msgstr "" +"Верификация успешно завершена.\n" +"Теперь вы можете пользоваться меню - /menu" #: src/bot/handlers/unverified/callbacks/menu.py:129 msgid "verification status error template" -msgstr "Не удалось завершить верификацию.\nОшибка: {}" +msgstr "" +"Не удалось завершить верификацию.\n" +"Ошибка: {}" #: src/bot/handlers/unverified/commands/menu.py:27 msgid "verification enter full name again message" @@ -53,7 +65,7 @@ msgstr "Пожалуйста, введите ваш {}." #: src/bot/handlers/unverified/commands/menu.py:38 msgid "student id" -msgstr "номер вашего студенческого" +msgstr "номер студенческого" #: src/bot/handlers/unverified/commands/menu.py:40 msgid "teacher id" @@ -77,11 +89,15 @@ msgstr "Пожалуйста, введите корректный номер г #: src/bot/handlers/unverified/commands/menu.py:111 msgid "verification info enter end menu" -msgstr "Вы успешно ввели все необходимые данные.\nЧто теперь?" +msgstr "" +"Вы успешно ввели все необходимые данные.\n" +"Что теперь?" #: src/bot/handlers/unverified/commands/menu.py:122 msgid "unverified user hello menu" -msgstr "Привет-привет. Кажется мы с тобой раньше не видились. Или к твой Telegram аккаунт не связан с преподавателем/студентом УрФУ." +msgstr "" +"Привет-привет. Кажется мы с тобой раньше не видились. Или к твой Telegram " +"аккаунт не связан с преподавателем/студентом УрФУ." #: src/bot/handlers/verified/callbacks/menu.py:20 msgid "university members call menu" @@ -89,32 +105,38 @@ msgstr "Вызов этого меню доступен только для по #: src/bot/handlers/verified/commands/help.py:16 msgid "help command check user lang template" -msgstr "Это тестовое меню для помощи.\nЯ помогать пока не могу, но могу сказать, какой у тебя язык: {}" +msgstr "" +"Это тестовое меню для помощи.\n" +"Я помогать пока не могу, но могу сказать, какой у тебя язык: {}" #: src/bot/handlers/verified/commands/menu.py:16 msgid "university members command menu" msgstr "Это меню доступно только для подтверженных пользователей." -#: src/bot/utils/keyboards/__init__.py:24 +#: src/bot/utils/keyboards/__init__.py:25 msgid "start verification button" msgstr "Начать верификацию" -#: src/bot/utils/keyboards/__init__.py:35 +#: src/bot/utils/keyboards/__init__.py:29 +msgid "choose language button" +msgstr "Выбрать язык" + +#: src/bot/utils/keyboards/__init__.py:58 msgid "student" msgstr "Студент" -#: src/bot/utils/keyboards/__init__.py:39 +#: src/bot/utils/keyboards/__init__.py:62 msgid "teacher" msgstr "Преподаватель" -#: src/bot/utils/keyboards/__init__.py:51 +#: src/bot/utils/keyboards/__init__.py:74 msgid "verification finish button" msgstr "Завершить" -#: src/bot/utils/keyboards/__init__.py:55 +#: src/bot/utils/keyboards/__init__.py:78 msgid "verification reset button" msgstr "Отмена" -#: src/bot/utils/keyboards/__init__.py:70 +#: src/bot/utils/keyboards/__init__.py:93 msgid "verified menu button" msgstr "Меню"