Skip to content

Commit 7ffee0d

Browse files
committed
Update DocMdpLevel labels and descriptions for clarity and user-friendliness
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 7947b23 commit 7ffee0d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lib/Enum/DocMdpLevel.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ public function getLabel(IL10N $l10n): string {
2525
return match($this) {
2626
self::NOT_CERTIFIED => $l10n->t('No certification'),
2727
self::CERTIFIED_NO_CHANGES_ALLOWED => $l10n->t('No changes allowed'),
28-
self::CERTIFIED_FORM_FILLING => $l10n->t('Form filling and additional signatures'),
29-
self::CERTIFIED_FORM_FILLING_AND_ANNOTATIONS => $l10n->t('Form filling, annotations and additional signatures'),
28+
self::CERTIFIED_FORM_FILLING => $l10n->t('Form filling allowed'),
29+
self::CERTIFIED_FORM_FILLING_AND_ANNOTATIONS => $l10n->t('Form filling and commenting allowed'),
3030
};
3131
}
3232

3333
public function getDescription(IL10N $l10n): string {
3434
return match($this) {
35-
self::NOT_CERTIFIED => $l10n->t('Approval signature - allows all modifications'),
36-
self::CERTIFIED_NO_CHANGES_ALLOWED => $l10n->t('Certifying signature - no modifications or additional signatures allowed'),
37-
self::CERTIFIED_FORM_FILLING => $l10n->t('Certifying signature - allows form filling and additional approval signatures'),
38-
self::CERTIFIED_FORM_FILLING_AND_ANNOTATIONS => $l10n->t('Certifying signature - allows form filling, comments and additional approval signatures'),
35+
self::NOT_CERTIFIED => $l10n->t('The document is not certified; edits and new signatures are allowed, but any change will mark previous signatures as modified.'),
36+
self::CERTIFIED_NO_CHANGES_ALLOWED => $l10n->t('After the first signature, no further edits or signatures are allowed; any change invalidates the certification.'),
37+
self::CERTIFIED_FORM_FILLING => $l10n->t('After the first signature, only form filling and additional signatures are allowed; other changes invalidate the certification.'),
38+
self::CERTIFIED_FORM_FILLING_AND_ANNOTATIONS => $l10n->t('After the first signature, form filling, comments, and additional signatures are allowed; other changes invalidate the certification.'),
3939
};
4040
}
4141
}

0 commit comments

Comments
 (0)