From 9d1d2ccc6b79e55542ecaba088a3dfb37b52a19a Mon Sep 17 00:00:00 2001
From: milanmajchrak <90026355+milanmajchrak@users.noreply.github.com>
Date: Thu, 6 Jun 2024 10:46:21 +0200
Subject: [PATCH] Fix editing license bugs: confirmation, required info
messages (#634)
* Updated license definition form messages for required info labels.
* The confirmation default value is loaded.
---
.../define-license-form.component.html | 2 +-
.../shared/clarin/clarin-license.resource-type.ts | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/app/clarin-licenses/clarin-license-table/modal/define-license-form/define-license-form.component.html b/src/app/clarin-licenses/clarin-license-table/modal/define-license-form/define-license-form.component.html
index 3026dd8378c..e0767951311 100644
--- a/src/app/clarin-licenses/clarin-license-table/modal/define-license-form/define-license-form.component.html
+++ b/src/app/clarin-licenses/clarin-license-table/modal/define-license-form/define-license-form.component.html
@@ -21,7 +21,7 @@
{{'clarin-license.define-license-form.form-name' | trans
diff --git a/src/app/core/shared/clarin/clarin-license.resource-type.ts b/src/app/core/shared/clarin/clarin-license.resource-type.ts
index bee038f5e2e..d617f0e2742 100644
--- a/src/app/core/shared/clarin/clarin-license.resource-type.ts
+++ b/src/app/core/shared/clarin/clarin-license.resource-type.ts
@@ -26,16 +26,16 @@ export class ClarinLicenseRequiredInfo {
* Required info possible values.
*/
export const CLARIN_LICENSE_REQUIRED_INFO = {
- SEND_TOKEN: 'Email',
- NAME: 'Name (given name and surname)',
+ SEND_TOKEN: 'The user will receive an email with download instructions.',
+ NAME: 'User Name',
DOB: 'Date of birth',
ADDRESS: 'Address',
COUNTRY: 'Country',
- EXTRA_EMAIL: 'Email',
- ORGANIZATION: 'Organization',
- REQUIRED_ORGANIZATION: 'Organization',
- INTENDED_USE: 'Intended use',
- ACA_ORG_NAME_AND_SEAT: 'Name and seat (address) of your academic institution',
+ EXTRA_EMAIL: 'Ask user for another email address',
+ ORGANIZATION: 'Ask user for organization (optional)',
+ REQUIRED_ORGANIZATION: 'Ask user for organization (mandatory)',
+ INTENDED_USE: 'Ask user for his intentions with the item',
+ ACA_ORG_NAME_AND_SEAT: 'Ask for the name and seat (address) of user\'s academic institution',
};
/**