RED-5220 - Different message in "Re-assign user" dialog if only a single document is affected
This commit is contained in:
parent
1ca99f1126
commit
0883b06955
@ -38,7 +38,10 @@ export class FileAssignService {
|
||||
if (atLeastOneAssignee(files)) {
|
||||
const dialogInput = new ConfirmationDialogInput({
|
||||
title: _('confirmation-dialog.assign-file-to-me.title'),
|
||||
question: _('confirmation-dialog.assign-file-to-me.question'),
|
||||
question:
|
||||
files.length === 1
|
||||
? _('confirmation-dialog.assign-file-to-me.question.single')
|
||||
: _('confirmation-dialog.assign-file-to-me.question.multiple'),
|
||||
});
|
||||
const ref = this._dialogService.openDialog('confirm', null, dialogInput, assignReq);
|
||||
return firstValueFrom(ref.afterClosed());
|
||||
|
||||
@ -538,7 +538,10 @@
|
||||
"title": "Warnung!"
|
||||
},
|
||||
"assign-file-to-me": {
|
||||
"question": "Dieses Dokument wird gerade von einer anderen Person geprüft. Möchten Sie Reviewer werden und sich selbst dem Dokument zuweisen?",
|
||||
"question": {
|
||||
"multiple": "Dieses Dokument wird gerade von einer anderen Person geprüft. Möchten Sie Reviewer werden und sich selbst dem Dokument zuweisen?",
|
||||
"single": ""
|
||||
},
|
||||
"title": "Neuen Reviewer zuweisen"
|
||||
},
|
||||
"compare-file": {
|
||||
|
||||
@ -538,7 +538,10 @@
|
||||
"title": "Warning!"
|
||||
},
|
||||
"assign-file-to-me": {
|
||||
"question": "At least one document is currently assigned to someone else. Are you sure you want to replace them and assign yourself to these documents?",
|
||||
"question": {
|
||||
"multiple": "At least one document is currently assigned to someone else. Are you sure you want to replace them and assign yourself to these documents?",
|
||||
"single": "This document is currently assigned to someone else. Are you sure you want to replace it and assign yourself to this document?"
|
||||
},
|
||||
"title": "Re-assign user"
|
||||
},
|
||||
"compare-file": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user