mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 20:24:03 +00:00
feat(bot): add multi-household reminder delivery
This commit is contained in:
@@ -133,6 +133,11 @@ export const enBotTranslations: BotTranslationCatalog = {
|
||||
statementTotal: (amount, currency) => `Total: ${amount} ${currency}`,
|
||||
statementFailed: (message) => `Failed to generate statement: ${message}`
|
||||
},
|
||||
reminders: {
|
||||
utilities: (period) => `Utilities reminder for ${period}`,
|
||||
rentWarning: (period) => `Rent reminder for ${period}: payment is coming up soon.`,
|
||||
rentDue: (period) => `Rent due reminder for ${period}: please settle payment today.`
|
||||
},
|
||||
purchase: {
|
||||
sharedPurchaseFallback: 'shared purchase',
|
||||
recorded: (summary) => `Recorded purchase: ${summary}`,
|
||||
|
||||
@@ -136,6 +136,11 @@ export const ruBotTranslations: BotTranslationCatalog = {
|
||||
statementTotal: (amount, currency) => `Итого: ${amount} ${currency}`,
|
||||
statementFailed: (message) => `Не удалось построить выписку: ${message}`
|
||||
},
|
||||
reminders: {
|
||||
utilities: (period) => `Напоминание по коммунальным платежам за ${period}`,
|
||||
rentWarning: (period) => `Напоминание по аренде за ${period}: срок оплаты скоро наступит.`,
|
||||
rentDue: (period) => `Напоминание по аренде за ${period}: пожалуйста, оплатите сегодня.`
|
||||
},
|
||||
purchase: {
|
||||
sharedPurchaseFallback: 'общая покупка',
|
||||
recorded: (summary) => `Покупка сохранена: ${summary}`,
|
||||
|
||||
@@ -138,6 +138,11 @@ export interface BotTranslationCatalog {
|
||||
statementTotal: (amount: string, currency: string) => string
|
||||
statementFailed: (message: string) => string
|
||||
}
|
||||
reminders: {
|
||||
utilities: (period: string) => string
|
||||
rentWarning: (period: string) => string
|
||||
rentDue: (period: string) => string
|
||||
}
|
||||
purchase: {
|
||||
sharedPurchaseFallback: string
|
||||
recorded: (summary: string) => string
|
||||
|
||||
Reference in New Issue
Block a user