From f9012647ac09f4ae11c368ec4a2b0b246372ace2 Mon Sep 17 00:00:00 2001
From: lavanya-bmw <106523828+lavanya-bmw@users.noreply.github.com>
Date: Thu, 3 Aug 2023 16:11:09 +0530
Subject: [PATCH] update(app and service release): updated color for asterik
(#185)
---
src/assets/locales/de/main.json | 4 +-
src/assets/locales/de/servicerelease.json | 12 ++---
src/assets/locales/en/main.json | 6 +--
src/assets/locales/en/servicerelease.json | 12 ++---
.../ReleaseProcess/AppMarketCard/index.tsx | 44 ++++++++++++++-----
.../basic/ReleaseProcess/AppPage/index.tsx | 9 ++--
.../ContractAndConsent/index.tsx | 6 ++-
.../basic/ReleaseProcess/OfferCard/index.tsx | 15 ++++++-
.../basic/ReleaseProcess/OfferPage/index.tsx | 1 +
.../TechnicalIntegration/index.tsx | 10 ++++-
.../components/CommonContractAndConsent.tsx | 4 +-
11 files changed, 85 insertions(+), 38 deletions(-)
diff --git a/src/assets/locales/de/main.json b/src/assets/locales/de/main.json
index b7b46ee6c..26c2bc69c 100644
--- a/src/assets/locales/de/main.json
+++ b/src/assets/locales/de/main.json
@@ -1003,14 +1003,14 @@
"technicalIntegration": {
"headerTitle": "Technical Integration",
"headerDescription": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard .Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard .",
- "step1Header": "1. User Role Upload *",
+ "step1Header": "1. User Role Upload",
"step1HeaderDescription": "[copy] Lorem ipsum sapientem ne neque dolor erat,eros solet invidunt duo Quisque aliquid leo. Pretium patrioque sociis eu nihil Cum enim ad, ipsum alii vidisse justo id. Option porttitor diam voluptua. Cu Eam augue dolor dolores quis,",
"clientID": "Client ID",
"URL": "URL",
"pleaseEnterValidURL": "Please enter a valid URL",
"URLPlaceholder": "http://www.loremipsum.de",
"clientCreated": "Client created",
- "step2Header": "2. Technical User Setup *",
+ "step2Header": "2. Technical User Setup",
"step2HeaderDescription": "[copy] Lorem ipsum sapientem ne neque dolor erat,eros solet invidunt duo Quisque aliquid leo. Pretium patrioque sociis eu nihil Cum enim ad, ipsum alii vidisse justo id. Option porttitor diam voluptua. Cu Eam augue dolor dolores quis,",
"uploadRolesDescription": "Upload all app roles by using the available upload template (csv) file added attached",
"rolesPreview": "Preview of Roles uploaded",
diff --git a/src/assets/locales/de/servicerelease.json b/src/assets/locales/de/servicerelease.json
index ec1eeaebe..bca4d6a03 100644
--- a/src/assets/locales/de/servicerelease.json
+++ b/src/assets/locales/de/servicerelease.json
@@ -26,18 +26,18 @@
"step1": {
"headerTitle": "Service Card Erstellen",
"headerDescription": "Die folgenden Eingabefelder und Uploads werden verwendet, um Ihre Service-'Service Card' zu erstellen, die auf dem Marktplatz platziert wird. Die Servicekarte ist der erste Berührungspunkt mit dem Kunden.",
- "serviceName": "Service Name*",
- "serviceType": "Service Type*",
+ "serviceName": "Service Name",
+ "serviceType": "Service Type",
"serviceTypePlaceholder": "Wählen Sie den Servicetyp aus",
- "shortDescriptionEN": "Kurzbeschreibung (en)*",
- "shortDescriptionDE": "Kurzbeschreibung (de)*",
+ "shortDescriptionEN": "Kurzbeschreibung (en)",
+ "shortDescriptionDE": "Kurzbeschreibung (de)",
"serviceLeadImageUpload": "Service Card Bild"
},
"step2": {
"headerTitle": "Service Details",
"headerDescription": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard .Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard .",
- "longDescriptionEN": "Service Beschreibung (en)*",
- "longDescriptionDE": "Service Beschreibung (de)*",
+ "longDescriptionEN": "Service Beschreibung (en)",
+ "longDescriptionDE": "Service Beschreibung (de)",
"doc": "Supporting Material",
"note": "Info:",
"providerDetails": "Provider Details",
diff --git a/src/assets/locales/en/main.json b/src/assets/locales/en/main.json
index 0c4b3a0d1..c0449df2f 100644
--- a/src/assets/locales/en/main.json
+++ b/src/assets/locales/en/main.json
@@ -928,7 +928,7 @@
"salesManager": "Sales Manager",
"salesManagerPlaceholder": "Please select a Sales Manager",
"salesManagerDescription": "Please select the app sales manager via the dropdown below. The sales manager can only get set if a user of your company has the respective portal role. The sales manager will get informed as soon as a app subscribtion request is triggered by the customer.",
- "pricingInformation": "Pricing Information (e.g. free / charged ( to be defined)",
+ "pricingInformation": "Pricing Information (e.g. free / charged (to be defined))",
"appLeadImageUpload": "App Lead Image Upload"
},
"appPage": {
@@ -965,14 +965,14 @@
"technicalIntegration": {
"headerTitle": "Technical Integration",
"headerDescription": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard .Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard .",
- "step1Header": "1. User Role Upload *",
+ "step1Header": "1. User Role Upload",
"step1HeaderDescription": "[copy] Lorem ipsum sapientem ne neque dolor erat,eros solet invidunt duo Quisque aliquid leo. Pretium patrioque sociis eu nihil Cum enim ad, ipsum alii vidisse justo id. Option porttitor diam voluptua. Cu Eam augue dolor dolores quis,",
"clientID": "Client ID",
"URL": "URL",
"pleaseEnterValidURL": "Please enter a valid URL",
"URLPlaceholder": "http://www.loremipsum.de",
"clientCreated": "Client created",
- "step2Header": "2. Technical User Setup *",
+ "step2Header": "2. Technical User Setup",
"step2HeaderDescription": "[copy] Lorem ipsum sapientem ne neque dolor erat,eros solet invidunt duo Quisque aliquid leo. Pretium patrioque sociis eu nihil Cum enim ad, ipsum alii vidisse justo id. Option porttitor diam voluptua. Cu Eam augue dolor dolores quis,",
"uploadRolesDescription": "Upload all app roles by using the available upload template (csv) file added attached",
"rolesPreview": "Preview of Roles uploaded",
diff --git a/src/assets/locales/en/servicerelease.json b/src/assets/locales/en/servicerelease.json
index 6d0562dac..02ff0548f 100644
--- a/src/assets/locales/en/servicerelease.json
+++ b/src/assets/locales/en/servicerelease.json
@@ -26,18 +26,18 @@
"step1": {
"headerTitle": "Create Service",
"headerDescription": "The following input fields and uploads are used to create your service 'Service Card' which will be placed inside the marketplace. The service card is the first touchpoint with the customer.",
- "serviceName": "Service Name*",
- "serviceType": "Service Type*",
+ "serviceName": "Service Name",
+ "serviceType": "Service Type",
"serviceTypePlaceholder": "Select a Service Type Id",
- "shortDescriptionEN": "Short Description (en)*",
- "shortDescriptionDE": "Short Description (de)*",
+ "shortDescriptionEN": "Short Description (en)",
+ "shortDescriptionDE": "Short Description (de)",
"serviceLeadImageUpload": "Service Card Image"
},
"step2": {
"headerTitle": "Service Details",
"headerDescription": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard .Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard .",
- "longDescriptionEN": "Long Description (en)*",
- "longDescriptionDE": "Long Description (de)*",
+ "longDescriptionEN": "Long Description (en)",
+ "longDescriptionDE": "Long Description (de)",
"doc": "Supporting Material",
"note": "Note:",
"providerDetails": "Provider Details",
diff --git a/src/components/shared/basic/ReleaseProcess/AppMarketCard/index.tsx b/src/components/shared/basic/ReleaseProcess/AppMarketCard/index.tsx
index 36a638f2a..ac9532cc6 100644
--- a/src/components/shared/basic/ReleaseProcess/AppMarketCard/index.tsx
+++ b/src/components/shared/basic/ReleaseProcess/AppMarketCard/index.tsx
@@ -508,7 +508,12 @@ export default function AppMarketCard() {
}}
name="title"
pattern={Patterns.appMarketCard.appTitle}
- label={t('content.apprelease.appMarketCard.appTitle') + ' *'}
+ label={
+ <>
+ {t('content.apprelease.appMarketCard.appTitle')}
+ *
+ >
+ }
rules={{
required: `${t(
'content.apprelease.appMarketCard.appTitle'
@@ -538,7 +543,12 @@ export default function AppMarketCard() {
maxLength={30}
minLength={3}
pattern={Patterns.appMarketCard.appProvider}
- label={t('content.apprelease.appMarketCard.appProvider') + ' *'}
+ label={
+ <>
+ {t('content.apprelease.appMarketCard.appProvider')}
+ *
+ >
+ }
rules={{
required: `${t(
'content.apprelease.appMarketCard.appProvider'
@@ -572,7 +582,8 @@ export default function AppMarketCard() {
}}
label={
<>
- {t(`content.apprelease.appMarketCard.${item}`) + ' *'}
+ {t(`content.apprelease.appMarketCard.${item}`)}
+ *