Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/common/attributes/useDeviceAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ export default (t) => useMemo(() => ({
name: t('attributeDeviceInactivityPeriod'),
type: 'number',
},
enablePositionForwarding: {
name: t('attributeDeviceAllowPositionForwarding'),
type: 'boolean',
},
enableEventForwarding: {
name: t('attributeDeviceAllowEventForwarding'),
type: 'boolean',
},
}), [t]);
2 changes: 2 additions & 0 deletions src/resources/l10n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@
"attributeDeviceImage": "Device Image",
"attributeDeviceInactivityStart": "Device Inactivity Start",
"attributeDeviceInactivityPeriod": "Device Inactivity Period",
"attributeDeviceAllowPositionForwarding": "Forward Device Positions",
"attributeDeviceAllowEventForwarding": "Forward Device Events",
Comment on lines +134 to +135
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename it here as well. And the test should probably match.

"attributeProcessingCopyAttributes": "Processing: Copy Attributes",
"attributeColor": "Color",
"attributeWebLiveRouteLength": "Web: Live Route Length",
Expand Down