From dc6efc8a887689674361ee189f98a79623626f56 Mon Sep 17 00:00:00 2001 From: Kallol Chakraborty Date: Tue, 16 Jul 2024 19:50:06 +0530 Subject: [PATCH] [TASK] General improvements --- CHANGELOG.md | 8 +++++++- Classes/Controller/FormController.php | 4 ++-- Configuration/FlexForms/Sign.xml | 4 +--- Resources/Private/Language/locallang.xlf | 6 +++--- Resources/Private/Language/locallang_db.xlf | 6 +++--- 5 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b97a82..6735ff3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Changelog -### v1.0.0 - 15.07.2024 +### v1.0.0 + +#### 16.07.2024 + +- General improvements + +#### 15.07.2024 - Initial release diff --git a/Classes/Controller/FormController.php b/Classes/Controller/FormController.php index 2a262ac..e48c505 100644 --- a/Classes/Controller/FormController.php +++ b/Classes/Controller/FormController.php @@ -92,8 +92,8 @@ public function signAction(): ResponseInterface if (empty($configValue)) { // Add an error message if a mandatory setting is missing $this->addFlashMessage( - $this->translate('msg.text.not_loggedin') . ' ' . $configKey, - $this->translate('msg.heading.not_loggedin'), + $this->translate('msg.text.missing_config') . ' ' . $configKey, + $this->translate('msg.heading.missing_config'), ContextualFeedbackSeverity::ERROR ); $errorFlag++; diff --git a/Configuration/FlexForms/Sign.xml b/Configuration/FlexForms/Sign.xml index 5f4636a..02300db 100644 --- a/Configuration/FlexForms/Sign.xml +++ b/Configuration/FlexForms/Sign.xml @@ -2,9 +2,7 @@ - - LLL:EXT:docuseal/Resources/Private/Language/locallang_db.xlf:flexform.head - + LLL:EXT:docuseal/Resources/Private/Language/locallang_db.xlf:flexform.head.general array diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf index 164e79b..93978a3 100644 --- a/Resources/Private/Language/locallang.xlf +++ b/Resources/Private/Language/locallang.xlf @@ -1,12 +1,12 @@ - +
- + Incomplete Setup - + Missing configuration: diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf index 3dddbcf..8531257 100644 --- a/Resources/Private/Language/locallang_db.xlf +++ b/Resources/Private/Language/locallang_db.xlf @@ -1,10 +1,10 @@ - +
- - Plugin Configuration + + General Template ID (Refer to the "Document Templates" section in DocuSeal)