From 84bf08545384a98bb340620fa9622139a7da1336 Mon Sep 17 00:00:00 2001 From: smanylov Date: Tue, 17 Feb 2026 11:27:57 +0700 Subject: [PATCH] add translate for INN input --- src/app/ui/forms/register-form.tsx | 4 ++-- src/i18n/messages/en.json | 4 +++- src/i18n/messages/ru.json | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/ui/forms/register-form.tsx b/src/app/ui/forms/register-form.tsx index e5fb574..7f96827 100644 --- a/src/app/ui/forms/register-form.tsx +++ b/src/app/ui/forms/register-form.tsx @@ -356,14 +356,14 @@ export default function RegisterForm() { diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json index b5323d6..664800b 100644 --- a/src/i18n/messages/en.json +++ b/src/i18n/messages/en.json @@ -304,6 +304,8 @@ "register-error-inn-min": "INN must contain at least 10 characters.", "register-error-inn-not-allowed-symbols": "INN contains invalid characters.", "field-filled-automatically": "The field is filled in automatically", - "inn-invalid": "Invalid INN" + "inn-invalid": "Invalid INN", + "inn-placeholder": "Enter 10 digits", + "INN": "INN" } } \ No newline at end of file diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.json index 7ca8d7c..4e34a64 100644 --- a/src/i18n/messages/ru.json +++ b/src/i18n/messages/ru.json @@ -304,6 +304,8 @@ "register-error-inn-min" : "ИНН должн содержать не менее 10 символов.", "register-error-inn-not-allowed-symbols": "ИНН содержит недопустимые символы.", "field-filled-automatically": "Поле заполняется автоматически", - "inn-invalid": "Неверный ИНН" + "inn-invalid": "Неверный ИНН", + "inn-placeholder": "Введите 10 цифр", + "INN": "ИНН" } } \ No newline at end of file