From 2a4c6cfcb5d9dc12faa3333b2e3999356294e2dc Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 17 Jul 2022 08:20:25 -0700 Subject: Telegram chat id attribute --- modern/src/common/attributes/useUserAttributes.js | 4 ++++ web/l10n/en.json | 1 + 2 files changed, 5 insertions(+) diff --git a/modern/src/common/attributes/useUserAttributes.js b/modern/src/common/attributes/useUserAttributes.js index 56dee060..a100539e 100644 --- a/modern/src/common/attributes/useUserAttributes.js +++ b/modern/src/common/attributes/useUserAttributes.js @@ -1,6 +1,10 @@ import { useMemo } from 'react'; export default (t) => useMemo(() => ({ + telegramChatId: { + name: t('attributeTelegramChatId'), + type: 'string', + }, 'mail.smtp.host': { name: t('attributeMailSmtpHost'), type: 'string', diff --git a/web/l10n/en.json b/web/l10n/en.json index 16d02655..6269d9e2 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -106,6 +106,7 @@ "attributeWebLiveRouteLength": "Web: Live Route Length", "attributeWebSelectZoom": "Web: Zoom On Select", "attributeWebMaxZoom": "Web: Maximum Zoom", + "attributeTelegramChatId": "Telegram Chat ID", "attributeMailSmtpHost": "Mail: SMTP Host", "attributeMailSmtpPort": "Mail: SMTP Port", "attributeMailSmtpStarttlsEnable": "Mail: SMTP STARTTLS Enable", -- cgit v1.2.3