diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2022-08-02 06:37:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 06:37:36 -0700 |
commit | a58795c7736ae4464646398e5089968aa32c65f3 (patch) | |
tree | bc48862eb069fe8c9a5a95049b15ea250f636d57 | |
parent | b1961a111581e9958c823087429b98f77318607e (diff) | |
parent | e6eedad6398cf37e64586cc27611a398d58121f2 (diff) | |
download | trackermap-web-a58795c7736ae4464646398e5089968aa32c65f3.tar.gz trackermap-web-a58795c7736ae4464646398e5089968aa32c65f3.tar.bz2 trackermap-web-a58795c7736ae4464646398e5089968aa32c65f3.zip |
Merge pull request #994 from lzkill/pushover-user-attributes
Adds Pushover user attributes
-rw-r--r-- | modern/src/common/attributes/useUserAttributes.js | 8 | ||||
-rw-r--r-- | web/l10n/en.json | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useUserAttributes.js b/modern/src/common/attributes/useUserAttributes.js index a100539e..81230884 100644 --- a/modern/src/common/attributes/useUserAttributes.js +++ b/modern/src/common/attributes/useUserAttributes.js @@ -5,6 +5,14 @@ export default (t) => useMemo(() => ({ name: t('attributeTelegramChatId'), type: 'string', }, + pushoverUserKey: { + name: t('attributePushoverUserKey'), + type: 'string', + }, + pushoverDeviceNames: { + name: t('attributePushoverDeviceNames'), + type: 'string', + }, 'mail.smtp.host': { name: t('attributeMailSmtpHost'), type: 'string', diff --git a/web/l10n/en.json b/web/l10n/en.json index 528c66c5..712e32ff 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -110,6 +110,8 @@ "attributeWebSelectZoom": "Web: Zoom On Select", "attributeWebMaxZoom": "Web: Maximum Zoom", "attributeTelegramChatId": "Telegram Chat ID", + "attributePushoverUserKey": "Pushover User Key", + "attributePushoverDeviceNames": "Pushover Device Names", "attributeMailSmtpHost": "Mail: SMTP Host", "attributeMailSmtpPort": "Mail: SMTP Port", "attributeMailSmtpStarttlsEnable": "Mail: SMTP STARTTLS Enable", |