fix(bot): improve utilities reminder template flow

This commit is contained in:
2026-03-12 02:54:42 +04:00
parent ce8f0b5b93
commit e56f1194e9
4 changed files with 69 additions and 19 deletions

View File

@@ -270,7 +270,8 @@ export const enBotTranslations: BotTranslationCatalog = {
`I could not read that amount for ${categoryName}. Reply with a number in ${currency}, or send 0 / "skip".`,
templateIntro: (currency) =>
`Fill in the utility amounts below in ${currency}, then send the completed message back in this topic.`,
templateInstruction: 'Use 0 or skip for any category you want to leave empty.',
templateInstruction:
'For any category you do not want to add, leave it blank, remove the line entirely, or send 0 / "skip".',
templateInvalid:
'I could not read any utility amounts from that template. Send the filled template back with at least one amount.',
summaryTitle: (period) => `Utility charges for ${period}`,

View File

@@ -275,7 +275,7 @@ export const ruBotTranslations: BotTranslationCatalog = {
templateIntro: (currency) =>
`Заполните суммы по коммуналке ниже в ${currency}, затем отправьте заполненное сообщение обратно в этот топик.`,
templateInstruction:
'Для любой категории, которую не нужно добавлять, укажите 0 или слово «пропуск».',
'Для любой категории, которую не нужно добавлять, оставьте поле пустым, удалите строку целиком или укажите 0 / «пропуск».',
templateInvalid:
'Не удалось распознать ни одной суммы в этом шаблоне. Отправьте заполненный шаблон хотя бы с одной суммой.',
summaryTitle: (period) => `Коммунальные начисления за ${period}`,