added 'download ready' notification type
This commit is contained in:
parent
f200c2d6d6
commit
a7038d25d9
@ -13,4 +13,5 @@ export const notificationsTranslations: { [key in NotificationType]: string } =
|
||||
[NotificationTypes.USER_DEGRADED_TO_REVIEWER]: _('notification.user-demoted-to-reviewer'),
|
||||
[NotificationTypes.USER_PROMOTED_TO_APPROVER]: _('notification.user-promoted-to-approver'),
|
||||
[NotificationTypes.USER_REMOVED_AS_DOSSIER_MEMBER]: _('notification.user-removed-as-dossier-member'),
|
||||
[NotificationTypes.DOWNLOAD_READY]: _('notification.download-ready'),
|
||||
} as const;
|
||||
|
||||
@ -364,12 +364,12 @@
|
||||
"save": "Save Changes"
|
||||
},
|
||||
"content": {
|
||||
"classification": "Value / Classification",
|
||||
"comment": "Comment",
|
||||
"legalBasis": "Legal Basis",
|
||||
"reason": "Select redaction reason",
|
||||
"section": "Paragraph / Location",
|
||||
"classification": "Value / Classification",
|
||||
"reason-placeholder": "Select a reason..."
|
||||
"reason-placeholder": "Select a reason...",
|
||||
"section": "Paragraph / Location"
|
||||
},
|
||||
"header": "Edit Redaction Reason"
|
||||
},
|
||||
@ -1264,14 +1264,14 @@
|
||||
"save": "Save"
|
||||
},
|
||||
"content": {
|
||||
"classification": "Value / Classification",
|
||||
"comment": "Comment",
|
||||
"dictionary": "Dictionary",
|
||||
"legalBasis": "Legal Basis",
|
||||
"reason": "Reason",
|
||||
"section": "Paragraph / Location",
|
||||
"classification": "Value / Classification",
|
||||
"reason-placeholder": "Select a reason ...",
|
||||
"rectangle": "Custom Rectangle",
|
||||
"section": "Paragraph / Location",
|
||||
"text": "Selected text:"
|
||||
},
|
||||
"header": {
|
||||
@ -1306,6 +1306,7 @@
|
||||
"dossier-deleted": "Dossier: <b>{dossierName}</b> has been deleted!",
|
||||
"dossier-owner-removed": "<b><a href=\"{dossierHref}\" target=\"_blank\">{dossierName}</a></b> owner removed!",
|
||||
"dossier-owner-set": " <b><a href=\"{dossierHref}\" target=\"_blank\">{dossierName}</a></b> owner changed to <b>{user}</b>!",
|
||||
"download-ready": "Your <b><a href='/ui/main/downloads', target=\"_blank\">download</a><b> is ready!",
|
||||
"no-data": "You currently have no notifications",
|
||||
"unassigned-from-file": "You have been unassigned from <b><a href=\"{fileHref}\" target=\"_blank\">{fileName}</a></b> in the <b><a href=\"{dossierHref}\" target=\"_blank\">{dossierName}</a><b>!",
|
||||
"user-becomes-dossier-member": "<b>{user}</b> joined dossier: <b><a href=\"{dossierHref}\" target=\"_blank\">{dossierName}</a></b>!",
|
||||
@ -1498,9 +1499,9 @@
|
||||
},
|
||||
"search-screen": {
|
||||
"cols": {
|
||||
"assignee": "Assignee",
|
||||
"document": "Document",
|
||||
"dossier": "Dossier",
|
||||
"assignee": "Assignee",
|
||||
"pages": "Pages",
|
||||
"status": "Status"
|
||||
},
|
||||
|
||||
@ -10,6 +10,7 @@ export const NotificationTypes = {
|
||||
USER_REMOVED_AS_DOSSIER_MEMBER: 'USER_REMOVED_AS_DOSSIER_MEMBER', // "You have been removed from a dossier"
|
||||
USER_PROMOTED_TO_APPROVER: 'USER_PROMOTED_TO_APPROVER', // "You are promoted to approver"
|
||||
USER_DEGRADED_TO_REVIEWER: 'USER_DEGRADED_TO_REVIEWER', // "You are denoted to reviewer"
|
||||
DOWNLOAD_READY: 'DOWNLOAD_READY',
|
||||
} as const;
|
||||
|
||||
export type NotificationType = keyof typeof NotificationTypes;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user