@@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-16 15:36+0300\n" +"POT-Creation-Date: 2026-01-21 13:19+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -20,7 +20,7 @@ msgstr "" "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " "(n%100>=11 && n%100<=14)? 2 : 3);\n" -#: authentication/exceptions/business_account.py:6 +#: authentication/exceptions/business_account.py:6 authentication/views.py:416 msgid "Business account not found" msgstr "Сотрудник не найден" @@ -28,17 +28,26 @@ msgstr "Сотрудник не найден" msgid "You cannot reinvite other administrators" msgstr "Вы не можете повторно приглашать администраторов" -#: authentication/exceptions/business_account.py:20 -msgid "Security staff cannot change the password of another security staff member" -msgstr "Сотрудники безопасности не могут изменять пароль другого сотрудника безопасности" +#: authentication/exceptions/business_account.py:16 +msgid "You cannot change the password of an unconfirmed e-mail user." +msgstr "Вы не можете изменить пароль неподтвержденного по e-mail пользователя." -#: authentication/exceptions/business_account.py:25 -msgid "You can only change the password for regular employees or security staff members" -msgstr "Вы можете изменять пароль только обычным сотрудникам или сотрудникам безопасности" +#: authentication/exceptions/business_account.py:21 +msgid "" +"Security staff cannot change the password of another security staff member" +msgstr "" +"Сотрудники безопасности не могут изменять пароль другого сотрудника " +"безопасности" + +#: authentication/exceptions/business_account.py:26 +msgid "" +"You can only change the password for regular employees or security staff " +"members" +msgstr "" +"Вы можете изменять пароль только обычным сотрудникам или сотрудникам " +"безопасности" #: authentication/exceptions/business_host_exceptions/access_denied.py:6 -#: authentication/services/business_account_service.py:103 -#: authentication/services/business_account_service.py:106 msgid "You do not have sufficient rights to perform this action" msgstr "У вас недостаточно прав для выполнения этого действия" @@ -99,18 +108,22 @@ msgid "Wrong password" msgstr "Неверный пароль" #: authentication/exceptions/user.py:16 +msgid "Passwords don't match" +msgstr "Пароли не совпадают" + +#: authentication/exceptions/user.py:21 msgid "User has not confirmed his email yet" msgstr "Пользователь пока не подтвердил свой email" -#: authentication/exceptions/user.py:21 +#: authentication/exceptions/user.py:26 msgid "The user cannot be registered without an email" msgstr "Пользователь не может быть зарегистрирован без email'а" -#: authentication/exceptions/user.py:26 +#: authentication/exceptions/user.py:31 msgid "User already exists" msgstr "Пользователь уже существует" -#: authentication/exceptions/user.py:31 +#: authentication/exceptions/user.py:36 msgid "Domain not found" msgstr "Домен не найден" @@ -164,7 +177,7 @@ msgstr "Дочерние Бизнес Аккаунты" #: authentication/models/business_group.py:8 ml_model/models.py:17 #: ml_model/models.py:37 ml_model/models.py:61 ml_model/models.py:268 -#: payments/models/payment_plan.py:27 tools/chats/models.py:9 +#: payments/models/payment_plan.py:28 tools/chats/models.py:9 #: tools/media/models.py:41 msgid "Title" msgstr "Название" @@ -181,8 +194,8 @@ msgstr "Бизнес Группы" #: authentication/models/email_token.py:13 authentication/models/user.py:222 #: authentication/models/user.py:223 authentication/models/user_telegram.py:22 #: authentication/models/user_vk.py:12 payments/admin.py:37 -#: payments/admin.py:98 payments/models/invoice.py:15 -#: payments/models/payment.py:26 payments/models/payment_plan.py:61 +#: payments/admin.py:97 payments/models/invoice.py:15 +#: payments/models/payment.py:26 payments/models/payment_plan.py:63 msgid "User" msgstr "Пользователь" @@ -229,8 +242,7 @@ msgid "PSRN" msgstr "ОГРН" #: authentication/models/business_host.py:69 ml_model/models.py:180 -#: payments/models/payment_plan_feature.py:18 tools/public_api/models.py:31 -#: tools/public_api/services/api_key.py:24 +#: tools/public_api/models.py:31 tools/public_api/services/api_key.py:24 msgid "Name" msgstr "Наименование" @@ -506,26 +518,14 @@ msgstr "Пользователь бизнес-аккаунта не зареги msgid "No user with this uid found" msgstr "Не найден пользователь с данным ID" -#: authentication/services/business_account_service.py:60 +#: authentication/services/business_account_service.py:54 msgid "BusinessAccount for this user doesn't exist" msgstr "Бизнес-аккаунт для данного юзера не найден" -#: authentication/services/business_account_service.py:74 +#: authentication/services/business_account_service.py:68 msgid "Invited account can either accept or reject an invitation" msgstr "Приглашенный аккаунт может принять или отклонить приглашение" -#: authentication/exceptions/user.py:16 -msgid "Passwords don't match" -msgstr "Пароли не совпадают" - -#: authentication/services/business_account_service.py:109 -msgid "You cannot change the password of an unconfirmed e-mail user." -msgstr "Вы не можете изменить пароль неподтвержденного по e-mail пользователя." - -#: authentication/services/business_host_service.py:156 -msgid "No user_email is provided" -msgstr "" - #: authentication/services/email_service.py:50 msgid "Error occured when proceed email sending" msgstr "Случилась ошибка во время отправки email" @@ -571,7 +571,7 @@ msgstr "Повторное приглашение сотруднику успе msgid "Business account password has been updated" msgstr "Пароль сотрудника успешно обновлен" -#: authentication/views.py:460 +#: authentication/views.py:467 msgid "Could not confirm email, please try again." msgstr "Невозможно подтвердить email, попробуйте позже" @@ -689,7 +689,6 @@ msgid "Slug" msgstr "Ярлык" #: ml_model/models.py:28 ml_model/models.py:80 -#: payments/models/payment_plan_feature.py:24 msgid "Category" msgstr "Категория" @@ -734,11 +733,11 @@ msgstr "Аватар" msgid "Tags" msgstr "Теги" -#: ml_model/models.py:147 +#: ml_model/models.py:147 payments/models/payment_plan_feature.py:18 msgid "Neuron Model" msgstr "Нейронная Модель" -#: ml_model/models.py:156 ml_model/models.py:402 payments/admin.py:104 +#: ml_model/models.py:156 ml_model/models.py:402 payments/admin.py:103 msgid "Model" msgstr "Модель" @@ -800,19 +799,10 @@ msgstr "Текстовый файл (Блокнот)" msgid "ZIP Archive" msgstr "ZIP архив" -#: ml_model/models.py:228 +#: ml_model/models.py:228 payments/routes/v1.py:97 msgid "Audio" msgstr "Аудио" -msgid "Chat-bots" -msgstr "Чат-боты" - -msgid "Images" -msgstr "Изображения" - -msgid "Video" -msgstr "Видео" - #: ml_model/models.py:234 ml_model/models.py:272 #: payments/models/promocode.py:41 msgid "Type" @@ -997,13 +987,13 @@ msgstr "Нет изображения для улучшения" msgid "Model data cannot be retrieved" msgstr "Невозможно получить данные модели" -#: payments/admin.py:35 payments/admin.py:76 payments/admin.py:96 +#: payments/admin.py:35 payments/admin.py:69 payments/admin.py:95 msgid "You can search by user email, exacted company name" msgstr "" "Вы можете осуществлять поиск по e-mail пользователя, точному названию " "компании" -#: payments/admin.py:40 payments/admin.py:101 +#: payments/admin.py:40 payments/admin.py:100 msgid "Missing" msgstr "Отсутствующий" @@ -1065,43 +1055,47 @@ msgid "Is corporate" msgstr "Корпоративный" #: payments/models/payment_plan.py:26 +msgid "Individual" +msgstr "Индивидуальный" + +#: payments/models/payment_plan.py:27 msgid "Is recurrent" msgstr "Рекуррентный" -#: payments/models/payment_plan.py:29 +#: payments/models/payment_plan.py:30 msgid "Duration" msgstr "Длительность" -#: payments/models/payment_plan.py:34 +#: payments/models/payment_plan.py:35 msgid "Is visible" msgstr "Видимый" -#: payments/models/payment_plan.py:52 payments/models/payment_plan.py:67 +#: payments/models/payment_plan.py:54 payments/models/payment_plan.py:69 #: payments/models/payment_plan_feature.py:16 msgid "Payment Plan" msgstr "Платежный План" -#: payments/models/payment_plan.py:53 +#: payments/models/payment_plan.py:55 msgid "Payment Plans" msgstr "Платежные Планы" -#: payments/models/payment_plan.py:69 +#: payments/models/payment_plan.py:71 msgid "Last payment at" msgstr "Последнее время платежа" -#: payments/models/payment_plan.py:70 +#: payments/models/payment_plan.py:72 msgid "Next payment at" msgstr "Следующее время платежа" -#: payments/models/payment_plan.py:72 +#: payments/models/payment_plan.py:74 msgid "Current balance" msgstr "Текущий баланс" -#: payments/models/payment_plan.py:78 +#: payments/models/payment_plan.py:80 msgid "Recurrent billing task" msgstr "Рекуррентная задача на платеж" -#: payments/models/payment_plan.py:99 payments/models/payment_plan.py:100 +#: payments/models/payment_plan.py:101 payments/models/payment_plan.py:102 msgid "User Balance" msgstr "Баланс пользователя" @@ -1121,15 +1115,15 @@ msgstr "Время (мин.)" msgid "Quantity" msgstr "Количество" -#: payments/models/payment_plan_feature.py:30 +#: payments/models/payment_plan_feature.py:24 msgid "Measurement unit" msgstr "Единица измерения" -#: payments/models/payment_plan_feature.py:37 +#: payments/models/payment_plan_feature.py:33 msgid "Payment plan feature" msgstr "Преимущество платежного плана" -#: payments/models/payment_plan_feature.py:38 +#: payments/models/payment_plan_feature.py:34 msgid "Payment plan features" msgstr "Преимущества платежного плана" @@ -1181,14 +1175,26 @@ msgstr "Платежный метод" msgid "Payment Methods" msgstr "Платежные методы" -#: payments/routes/v1.py:75 +#: payments/routes/v1.py:74 msgid "Expenses" msgstr "Затраты" -#: payments/routes/v1.py:76 +#: payments/routes/v1.py:75 msgid "Refills" msgstr "Пополнения" +#: payments/routes/v1.py:97 +msgid "Chat-bots" +msgstr "Чат-боты" + +#: payments/routes/v1.py:97 +msgid "Images" +msgstr "Изображения" + +#: payments/routes/v1.py:97 +msgid "Video" +msgstr "Видео" + #: payments/selectors/model_payment_selector.py:25 msgid "Messages for this model are not registered in a selector" msgstr "" @@ -0,0 +1,18 @@ +# Generated by Django 5.0.11 on 2026-01-21 10:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('payments', '0023_reordering_payment_plan_features'), + ] + + operations = [ + migrations.AddField( + model_name='paymentplan', + name='individual', + field=models.BooleanField(default=False, verbose_name='Individual'), + ), + ] @@ -23,6 +23,7 @@ class PaymentPlan(BaseModel): default=10, ) is_corporate = models.BooleanField(default=False, verbose_name=_('Is corporate')) + individual = models.BooleanField(default=False, verbose_name=_('Individual')) is_recurrent = models.BooleanField(default=False, verbose_name=_('Is recurrent')) title = models.CharField(verbose_name=_('Title'), max_length=120, null=True, blank=True) duration = models.CharField( @@ -50,6 +50,7 @@ class PaymentPlanAdmin(OrderedInlineModelAdminMixin, admin.ModelAdmin): 'duration', 'is_recurrent', 'is_corporate', + 'individual', 'is_visible', ] search_fields = ['price', 'tokens_per_plan']