diff --git a/lib/Enum/FileStatus.php b/lib/Enum/FileStatus.php index 0fc90639b1..7395a8d747 100644 --- a/lib/Enum/FileStatus.php +++ b/lib/Enum/FileStatus.php @@ -28,19 +28,19 @@ enum FileStatus: int { public function getLabel(IL10N $l10n): string { return match($this) { // TRANSLATORS Name of the status when document is not a LibreSign file - self::NOT_LIBRESIGN_FILE => $l10n->t('not LibreSign file'), + self::NOT_LIBRESIGN_FILE => $l10n->t('Not LibreSign file'), // TRANSLATORS Name of the status that the document is still as a draft - self::DRAFT => $l10n->t('draft'), + self::DRAFT => $l10n->t('Draft'), // TRANSLATORS Name of the status that the document can be signed self::ABLE_TO_SIGN => $l10n->t('Ready to sign'), // TRANSLATORS Name of the status when the document has already been partially signed self::PARTIAL_SIGNED => $l10n->t('Partially signed'), // TRANSLATORS Name of the status when the document has been completely signed - self::SIGNED => $l10n->t('signed'), + self::SIGNED => $l10n->t('Signed'), // TRANSLATORS Name of the status when the document was deleted - self::DELETED => $l10n->t('deleted'), + self::DELETED => $l10n->t('Deleted'), // TRANSLATORS Name of the status when the document is currently being signed - self::SIGNING_IN_PROGRESS => $l10n->t('signing in progress'), + self::SIGNING_IN_PROGRESS => $l10n->t('Signing in progress'), }; } } diff --git a/src/utils/fileStatus.js b/src/utils/fileStatus.js index dc977a16f3..b1d71f1e4c 100644 --- a/src/utils/fileStatus.js +++ b/src/utils/fileStatus.js @@ -18,7 +18,7 @@ import { FILE_STATUS } from '../constants.js' const STATUS_CONFIG = { [FILE_STATUS.NOT_LIBRESIGN_FILE]: { - label: () => t('libresign', 'not LibreSign file'), + label: () => t('libresign', 'Not LibreSign file'), icon: mdiFileDocument, }, [FILE_STATUS.DRAFT]: { diff --git a/tests/integration/features/file/envelope.feature b/tests/integration/features/file/envelope.feature index c60510a327..f8da38ead1 100644 --- a/tests/integration/features/file/envelope.feature +++ b/tests/integration/features/file/envelope.feature @@ -63,7 +63,7 @@ Feature: envelope | (jq).ocs.data.message | Success | | (jq).ocs.data.name | Single Document | | (jq).ocs.data.status | 0 | - | (jq).ocs.data.statusText | draft | + | (jq).ocs.data.statusText | Draft | | (jq).ocs.data.nodeType | file | | (jq).ocs.data.files[0].name | Single Document | | (jq).ocs.data.files \| length | 1 | @@ -81,7 +81,7 @@ Feature: envelope | (jq).ocs.data.message | Success | | (jq).ocs.data.name | Contract Package | | (jq).ocs.data.status | 0 | - | (jq).ocs.data.statusText | draft | + | (jq).ocs.data.statusText | Draft | | (jq).ocs.data.nodeType | envelope | | (jq).ocs.data.files[0].name | Contract | | (jq).ocs.data.files[1].name | Annex |