mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-22 10:33:24 +00:00
add localized labels for activity log types in useActivityLogFilters
add missing activity log types in filters
This commit is contained in:
@@ -20,20 +20,26 @@ export function useActivityLogFilters () {
|
||||
type: FIELD_TYPE.SELECT,
|
||||
operators: FIELD_OPERATORS.SELECT,
|
||||
options: [{
|
||||
label: 'Agent login',
|
||||
label: t('activityLog.type.agentLogin'),
|
||||
value: 'agent_login'
|
||||
}, {
|
||||
label: 'Agent logout',
|
||||
label: t('activityLog.type.agentLogout'),
|
||||
value: 'agent_logout'
|
||||
}, {
|
||||
label: 'Agent away',
|
||||
label: t('activityLog.type.agentAway'),
|
||||
value: 'agent_away'
|
||||
}, {
|
||||
label: 'Agent away reassigned',
|
||||
label: t('activityLog.type.agentAwayReassigned'),
|
||||
value: 'agent_away_reassigned'
|
||||
}, {
|
||||
label: 'Agent online',
|
||||
label: t('activityLog.type.agentOnline'),
|
||||
value: 'agent_online'
|
||||
}, {
|
||||
label: t('activityLog.type.agentPasswordSet'),
|
||||
value: 'agent_password_set'
|
||||
}, {
|
||||
label: t('activityLog.type.agentRolePermissionsChanged'),
|
||||
value: 'agent_role_permissions_changed'
|
||||
}]
|
||||
},
|
||||
}))
|
||||
|
||||
@@ -21,6 +21,13 @@
|
||||
"globals.terms.actor": "Actor | Actors",
|
||||
"globals.terms.page": "Page | Pages",
|
||||
"globals.terms.activityLog": "Activity log | Activity logs",
|
||||
"activityLog.type.agentLogin": "Agent login",
|
||||
"activityLog.type.agentLogout": "Agent logout",
|
||||
"activityLog.type.agentAway": "Agent away",
|
||||
"activityLog.type.agentAwayReassigned": "Agent away reassigned",
|
||||
"activityLog.type.agentOnline": "Agent online",
|
||||
"activityLog.type.agentPasswordSet": "Agent password set",
|
||||
"activityLog.type.agentRolePermissionsChanged": "Agent role permissions changed",
|
||||
"globals.terms.name": "Name | Names",
|
||||
"globals.terms.image": "Image | Images",
|
||||
"globals.terms.thumbnail": "Thumbnail | Thumbnails",
|
||||
|
||||
Reference in New Issue
Block a user