aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Kill <luizkill@gmail.com>2022-08-02 10:32:13 -0300
committerLuiz Kill <luizkill@gmail.com>2022-08-02 10:32:13 -0300
commite6eedad6398cf37e64586cc27611a398d58121f2 (patch)
treecd93261629cab033f6f85af46860cf91c31d2ec2
parent0ae8238eec8457c023e7b30b0bee9f0e7851dfaa (diff)
downloadtrackermap-web-e6eedad6398cf37e64586cc27611a398d58121f2.tar.gz
trackermap-web-e6eedad6398cf37e64586cc27611a398d58121f2.tar.bz2
trackermap-web-e6eedad6398cf37e64586cc27611a398d58121f2.zip
Adds Pushover user attributes
-rw-r--r--modern/src/common/attributes/useUserAttributes.js8
-rw-r--r--web/l10n/en.json2
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 2549a081..48695c91 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -108,6 +108,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",