From 1268f65516d69a1ea47222ff6c02131292a0aa1b Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Wed, 18 Sep 2024 16:58:04 +0530 Subject: [PATCH] fix: update angular text --- .../public/locales/en/translation.json | 5 +-- .../public/locales/fr/translation.json | 5 +-- apps/OpenSign/src/components/pdf/EmbedTab.js | 31 +++++++------------ 3 files changed, 17 insertions(+), 24 deletions(-) diff --git a/apps/OpenSign/public/locales/en/translation.json b/apps/OpenSign/public/locales/en/translation.json index 4b0b4122b..2dc97e305 100644 --- a/apps/OpenSign/public/locales/en/translation.json +++ b/apps/OpenSign/public/locales/en/translation.json @@ -642,12 +642,13 @@ "public-template-mssg-3" :"Need more details or examples?", "public-template-mssg-4": "Visit the", "public-template-mssg-5": " npm for the latest updates, detailed documentation, and version history.", - "public-template-mssg-6" :"You need to set this template as public before you can utilize this code snippet.", + "public-template-mssg-6" :"You need to set this template as public before you can utilize this code snippet.", "copy-code":"COPY", "copied-code":"COPIED", "Installation":"Installation", "Usage" :"Usage", "unauthorized-modal":"You don't have permission to perform this action, please contact {{adminName}}<{{adminEmail}}>.", "insufficient-credits":"Insufficient Signing Credits", - "insufficient-credits-mssg":"The owner of this document currently lacks the necessary OpenSign credits for you to sign. Please reach out to the owner if you require further details." + "insufficient-credits-mssg":"The owner of this document currently lacks the necessary OpenSign credits for you to sign. Please reach out to the owner if you require further details.", + "angular-npm-mssg-1": "To integrate OpenSign into your Angular project, simply run the following command:" } diff --git a/apps/OpenSign/public/locales/fr/translation.json b/apps/OpenSign/public/locales/fr/translation.json index 178d9ddea..d1b7d72e8 100644 --- a/apps/OpenSign/public/locales/fr/translation.json +++ b/apps/OpenSign/public/locales/fr/translation.json @@ -649,5 +649,6 @@ "Usage" :"Usage", "unauthorized-modal":"Vous n'êtes pas autorisé à effectuer cette action, veuillez contacter {{adminName}}<{{adminEmail}}>.", "insufficient-credits":"Crédits de signature insuffisants", - "insufficient-credits-mssg" :"Le propriétaire de ce document ne dispose actuellement pas des crédits OpenSign nécessaires pour que vous puissiez le signer. Veuillez contacter le propriétaire si vous avez besoin de plus de détails." -} + "insufficient-credits-mssg" :"Le propriétaire de ce document ne dispose actuellement pas des crédits OpenSign nécessaires pour que vous puissiez le signer. Veuillez contacter le propriétaire si vous avez besoin de plus de détails.", + "angular-npm-mssg-1" :"Pour intégrer OpenSign dans votre projet Angular, exécutez simplement la commande suivante :" + } diff --git a/apps/OpenSign/src/components/pdf/EmbedTab.js b/apps/OpenSign/src/components/pdf/EmbedTab.js index f0525df1a..20e901b28 100644 --- a/apps/OpenSign/src/components/pdf/EmbedTab.js +++ b/apps/OpenSign/src/components/pdf/EmbedTab.js @@ -127,11 +127,9 @@ export class AppComponent{

{t(`${data.title}`)}

- {ind === 0 && ( -

- {t("public-template-mssg-1")} -

- )} +

+ {t("public-template-mssg-1")} +

handleCopy(data.codeString, ind)} @@ -152,11 +150,9 @@ export class AppComponent{ {data.codeString}
- {ind === 0 && ( -

- {t("public-template-mssg-2")} -

- )} +

+ {t("public-template-mssg-2")} +

); })} @@ -215,11 +211,11 @@ export class AppComponent{

{t(`${data.title}`)}

- {ind === 0 && ( -

- {t("public-template-mssg-1")} -

- )} + +

+ {t("angular-npm-mssg-1")} +

+
handleCopy(data.codeString, ind)} @@ -240,11 +236,6 @@ export class AppComponent{ {data.codeString}
- {ind === 0 && ( -

- {t("public-template-mssg-2")} -

- )}
); })}