From f997f39094cb71735abb96e8b1cfda7473c3ebf2 Mon Sep 17 00:00:00 2001 From: RADHA THAKARE <67684749+radhathakare@users.noreply.github.com> Date: Sat, 16 Sep 2023 01:25:12 +0530 Subject: [PATCH] Account transfer module translation (#1778) * Added Tooltips to Create Recurring Deposit screens * recommended changes * Added French languaguge support to user interface * feat: Account-transfers module translation script * feat: Updates regarding account transfer --- ...reate-standing-instructions.component.html | 82 ++++---- .../edit-standing-instructions.component.html | 54 ++--- .../list-standing-instructions.component.html | 20 +- .../list-transactions.component.html | 16 +- .../make-account-transfers.component.html | 46 ++--- .../view-account-transfer.component.html | 30 +-- .../view-standing-instructions.component.html | 44 ++--- src/app/app.module.ts | 12 ++ ...posit-account-currency-step.component.html | 4 +- ...osits-account-currency-step.component.html | 4 +- ...e-recurring-deposit-product.component.html | 4 +- ...posit-product-currency-step.component.html | 6 +- ...eposit-product-details-step.component.html | 8 +- ...ct-interest-rate-chart-step.component.html | 8 +- ...posit-product-settings-step.component.html | 8 +- .../recurring-deposit-products.component.html | 5 +- src/assets/translations/en-US.json | 68 ++++++- src/assets/translations/fr-FR.json | 187 ++++++++++-------- 18 files changed, 344 insertions(+), 262 deletions(-) diff --git a/src/app/account-transfers/create-standing-instructions/create-standing-instructions.component.html b/src/app/account-transfers/create-standing-instructions/create-standing-instructions.component.html index 8f85def66..7854011b7 100644 --- a/src/app/account-transfers/create-standing-instructions/create-standing-instructions.component.html +++ b/src/app/account-transfers/create-standing-instructions/create-standing-instructions.component.html @@ -9,202 +9,202 @@
- Name + {{ "labels.inputs.name" | translate}} - Name is required + {{ "labels.inputs.name" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.inputs.required" | translate}} - Applicant + {{"labels.inputs.Applicant" | translate}} - Type + {{ "labels.inputs.Type" | translate}} {{ transferType.value }} - Transfer Type is required + {{ "labels.inputs.Transfer Type" | translate}} {{"labels.commons.is" |translate}} {{ "labels.inputs.required" | translate}} - Priority + {{ "labels.inputs.Priority"| translate}} {{ priorityType.value }} - Priority is required + {{ "labels.inputs.Priority"| translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Status + {{ "labels.inputs.Status" | translate}} {{ statusType.value }} - Status is required + {{ "labels.inputs.Status" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - From Account Type + {{"labels.inputs.From Account Type"| translate}} {{ fromAccountType.value }} - From Account Type is required + {{"labels.inputs.From Account Type"| translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - From Account + {{"labels.inputs.From Account" | translate}} {{ fromAccount.productName }} - {{ fromAccount.accountNo }} - From Account is required + {{"labels.inputs.From Account" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Destination + {{"labels.inputs.Destination"| translate}} {{ destinationType.value }} - Destination is required + {{"labels.inputs.Destination"| translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - To Office + {{"labels.inputs.To Office"| translate}} {{ toOfficeType.name }} - To Office is required + {{"labels.inputs.To Office"| translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Beneficiary + {{ "labels.inputs.Beneficiary"| translate}} {{ toClientType.displayName }} - Beneficiary is required + {{ "labels.inputs.Beneficiary"| translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - To Account Type + {{"labels.inputs.To Account Type" | translate}} {{ toAccountType.value }} - To Account Type is required + {{"labels.inputs.To Account Type" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - To Account + {{"labels.inputs.To Account" | translate}} {{ toAccount.productName }} - {{ toAccount.accountNo }} - To Account is required + {{"labels.inputs.To Account" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Standing Instruction Type + {{ "labels.inputs.Standing Instruction Type" | translate}} {{ instructionsType.value }} - Standing Instruction Type is required + {{ "labels.inputs.Standing Instruction Type" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Amount + {{"labels.inputs.Amount" | translate}} - Amount is required + {{"labels.inputs.Amount" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Validity From + {{"labels.inputs.Validity from" | translate}} - Valid From Date is required + {{"labels.inputs.Valid From Date" | translate }} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Validity To + {{"labels.inputs.Validity To" | translate}} - Valid Till Date is required + {{ "labels.inputs.Valid Till Date" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Recurrence Type + {{"labels.inputs.Recurrence Type" | translate}} {{ recurrenceType.value }} - Recurrence Type is required + {{"labels.inputs.Recurrence Type" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Interval + {{"labels.inputs.Interval" | translate}} - Recurrence Interval is required + {{"labels.inputs.Recurrence Interval" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Recurrence Frequency + {{"labels.inputs.Recurrence Frequency" | translate}} @@ -212,18 +212,18 @@ - Recurrence Frequency is required + {{"labels.inputs.Recurrence Frequency" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - On Month Day + {{"labels.inputs.On Month Day" | translate}} - On Month Day is required + {{"labels.inputs.On Month Day" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} @@ -232,9 +232,9 @@ - + + (click)="submit()">{{"labels.buttons.Submit | translate}} diff --git a/src/app/account-transfers/edit-standing-instructions/edit-standing-instructions.component.html b/src/app/account-transfers/edit-standing-instructions/edit-standing-instructions.component.html index 7a97a03f3..21f3a6858 100644 --- a/src/app/account-transfers/edit-standing-instructions/edit-standing-instructions.component.html +++ b/src/app/account-transfers/edit-standing-instructions/edit-standing-instructions.component.html @@ -9,81 +9,81 @@
- Name + {{ "labels.inputs.name" | translate}} - Applicant + {{"labels.inputs.Applicant" | translate}} - Type + {{ "labels.inputs.Type" | translate}} - From Account Type + {{"labels.inputs.From Account Type"| translate}} - Priority + {{ "labels.inputs.Priority"| translate}} {{ priorityType.value }} - Priority is required + {{ "labels.inputs.Priority"| translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Status + {{ "labels.inputs.Status" | translate}} {{ statusType.value }} - Status is required + {{ "labels.inputs.Status" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - From Account + {{"labels.inputs.From Account" | translate}} - Destination + {{"labels.inputs.Destination"| translate}} - To Office + {{"labels.inputs.To Office"| translate}} - Beneficiary + {{ "labels.inputs.Beneficiary"| translate}} - To Account Type + {{"labels.inputs.To Account Type" | translate}} - To Account + {{"labels.inputs.To Account" | translate}} - Standing Instruction Type + {{ "labels.inputs.Standing Instruction Type" | translate}} @@ -93,51 +93,51 @@ - Amount + {{"labels.inputs.Amount" | translate}} - Validity From + {{"labels.inputs.Validity from" | translate}} - Valid From Date is required + {{"labels.inputs.Valid From Date" | translate }} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Validity To + {{"labels.inputs.Validity To" | translate}} - Valid Till Date is required + {{ "labels.inputs.Valid Till Date" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Recurrence Type + {{"labels.inputs.Recurrence Type" | translate}} {{ recurrenceType.value }} - Recurrence Type is required + {{"labels.inputs.Recurrence Type" | translate}} {{ "labels.commons.is" |translate}} {{ "labels.commons.required" | translate}} - Interval + {{"labels.inputs.Interval" | translate}} - Recurrence Frequency + {{"labels.inputs.Recurrence Frequency" | translate}} @@ -147,7 +147,7 @@ - On Month Day + {{"labels.inputs.On Month Day" | translate}} @@ -159,9 +159,9 @@ - + + (click)="submit()" *mifosxHasPermission="'UPDATE_STANDINGINSTRUCTION'">{{"labels.buttons.Submit | translate}} diff --git a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.html b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.html index 219ed50ba..d36941df0 100644 --- a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.html +++ b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.html @@ -4,7 +4,7 @@
-

Client Name

+

{{ "labels.heading.Client Type" | translate}}

{{ clientName }}

@@ -23,7 +23,7 @@ - Type + {{ "labels.inputs.Type" | translate}} {{ transferTypeData.value }} @@ -36,7 +36,7 @@
@@ -44,41 +44,41 @@ - + - + - + - + - + - + - +
Client {{ "labels.inputs.Client" | translate}} {{instruction.fromClient.displayName}}-{{instruction.fromClient.id}} From Account {{"labels.inputs.From Account" | translate}} {{instruction.fromAccount.accountNo}} ({{instruction.fromAccountType.value}}) Beneficiary {{ "labels.inputs.Beneficiary"| translate}} {{instruction.toClient.displayName}} To Account {{"labels.inputs.To Account" | translate}} {{instruction.toAccount.accountNo}} ({{instruction.toAccountType.value}}) Amount {{"labels.inputs.Amount" | translate}} {{instruction.instructionType.value}}/{{instruction.amount}} Validity {{ "labels.inputs.Validity" | translate}} {{instruction.validFrom | dateFormat}} to {{instruction.validTill | dateFormat}} Actions {{ "labels.inputs.Actions" | translate}}