diff --git a/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.html b/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.html index 7f04bb729..caed2d720 100644 --- a/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.html +++ b/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.html @@ -25,7 +25,7 @@ {{"labels.inputs.Frequency" | translate}} - {{ type.value | translateCatalog }} + {{ type.value | translateKey:'catalogs' }} @@ -81,7 +81,7 @@ {{"labels.inputs.Frequency" | translate}} - {{ repaymentFrequencyType.value | translateCatalog }} + {{ repaymentFrequencyType.value | translateKey:'catalogs' }} @@ -91,7 +91,7 @@ - {{ repaymentFrequencyNthDayType.value | translateCatalog }} + {{ repaymentFrequencyNthDayType.value | translateKey:'catalogs' }} @@ -101,7 +101,7 @@ - {{ repaymentFrequencyDayOfWeekType.value | translateCatalog }} + {{ repaymentFrequencyDayOfWeekType.value | translateKey:'catalogs' }} @@ -119,7 +119,7 @@ {{'labels.inputs.Frequency' | translate}} - {{ interestRateFrequencyType.value | translateCatalog }} + {{ interestRateFrequencyType.value | translateKey:'catalogs' }} @@ -131,23 +131,23 @@ {{"labels.inputs.Interest method" | translate}} - {{ interestType.value | translateCatalog }} + {{ interestType.value | translateKey:'catalogs' }} - + {{"labels.inputs.Amortization" | translate}} - {{ amortizationType.value | translateCatalog }} + {{ amortizationType.value | translateKey:'catalogs' }} {{"labels.inputs.Amortization Type" | translate}} {{"labels.commons.is" | translate}} {{"labels.commons.required" | translate}} - + {{"labels.inputs.Principal Percentage Per Installment" | translate}} @@ -167,7 +167,7 @@ {{"labels.inputs.Interest Method" | translate}} - {{ interestType.value | translateCatalog }} + {{ interestType.value | translateKey:'catalogs' }} @@ -176,14 +176,14 @@ {{"labels.inputs.Amortization" | translate}} - {{ amortizationType.value | translateCatalog }} + {{ amortizationType.value | translateKey:'catalogs' }} {{"labels.inputs.Amortization Type" | translate}} {{"labels.commons.is" | translate}} {{"labels.commons.required" | translate}} - +

{{"labels.inputs.Is Floating Rate" | translate}}?

@@ -194,14 +194,14 @@

{{"labels.inputs.Loan Schedule Type" | translate}}

-

{{ loanScheduleType.value | translateCatalog }}

+

{{ loanScheduleType.value | translateKey:'catalogs' }}

{{"labels.inputs.Repayment Strategy" | translate}} - {{ transactionProcessingStrategy.name | translateCatalog }} + {{ transactionProcessingStrategy.name | translateKey:'catalogs' }} @@ -226,7 +226,7 @@ - {{ interestCalculationPeriodType.value | translateCatalog }} + {{ interestCalculationPeriodType.value | translateKey:'catalogs' }} @@ -299,7 +299,7 @@
{{"labels.inputs.Days in year" | translate}} - {{ loansAccountTermsData.daysInYearType.value | translateCatalog }} + {{ loansAccountTermsData.daysInYearType.value | translateKey:'catalogs' }}
@@ -311,7 +311,7 @@
{{"labels.inputs.Days in month" | translate}} - {{ loansAccountTermsData.daysInMonthType.value | translateCatalog }} + {{ loansAccountTermsData.daysInMonthType.value | translateKey:'catalogs' }}
@@ -320,7 +320,7 @@
{{"labels.inputs.Interest recalculation compounding on" | translate}} - {{ loansAccountTermsData.interestRecalculationData.interestRecalculationCompoundingType.value | translateCatalog }} + {{ loansAccountTermsData.interestRecalculationData.interestRecalculationCompoundingType.value | translateKey:'catalogs' }}
diff --git a/src/app/loans/loans-view/account-details/account-details.component.html b/src/app/loans/loans-view/account-details/account-details.component.html index 1e31452cc..8e8a4e385 100644 --- a/src/app/loans/loans-view/account-details/account-details.component.html +++ b/src/app/loans/loans-view/account-details/account-details.component.html @@ -5,26 +5,26 @@
{{"labels.inputs.Repayment Strategy" | translate}} - {{ loanDetails.transactionProcessingStrategyName | translateCatalog }} + {{ loanDetails.transactionProcessingStrategyName | translateKey:'catalogs' }}
{{"labels.inputs.Repayments" | translate}} - {{loanDetails.numberOfRepayments}} every {{loanDetails.repaymentEvery}} {{loanDetails.repaymentFrequencyType.value | translateCatalog }} + {{loanDetails.numberOfRepayments}} every {{loanDetails.repaymentEvery}} {{loanDetails.repaymentFrequencyType.value | translateKey:'catalogs' }} - {{"labels.commons.on" | translate}}{{loanDetails.repaymentFrequencyNthDayType?.value}} {{loanDetails.repaymentFrequencyDayOfWeekType?.value | translateCatalog }} + {{"labels.commons.on" | translate}}{{loanDetails.repaymentFrequencyNthDayType?.value}} {{loanDetails.repaymentFrequencyDayOfWeekType?.value | translateKey:'catalogs' }}
{{"labels.inputs.Fixed Length" | translate}} - {{loanDetails.fixedLength}} {{loanDetails.repaymentFrequencyType.value | translateCatalog }} + {{loanDetails.fixedLength}} {{loanDetails.repaymentFrequencyType.value | translateKey:'catalogs' }}
{{"labels.inputs.Amortization" | translate}} - {{loanDetails.amortizationType.value | translateCatalog }} + {{loanDetails.amortizationType.value | translateKey:'catalogs' }}
@@ -39,7 +39,7 @@
{{"labels.inputs.Interest" | translate}} - {{loanDetails.annualInterestRate | formatNumber}} % {{"labels.text.per annum" | translate}} ({{loanDetails.interestRatePerPeriod}} %  {{loanDetails.interestRateFrequencyType.value | translateCatalog }}) + {{loanDetails.annualInterestRate | formatNumber}} % {{"labels.text.per annum" | translate}} ({{loanDetails.interestRatePerPeriod}} %  {{loanDetails.interestRateFrequencyType.value | translateKey:'catalogs' }})
@@ -80,7 +80,7 @@
{{"labels.inputs.Interest Calculation Period" | translate}} - {{loanDetails.interestCalculationPeriodType.value | translateCatalog }} + {{loanDetails.interestCalculationPeriodType.value | translateKey:'catalogs' }}
@@ -135,22 +135,22 @@
{{"labels.inputs.Days in year" | translate}} - {{loanDetails.daysInYearType.value | translateCatalog }} + {{loanDetails.daysInYearType.value | translateKey:'catalogs' }}
{{"labels.inputs.Days in month" | translate}} - {{loanDetails.daysInMonthType.value | translateCatalog }} + {{loanDetails.daysInMonthType.value | translateKey:'catalogs' }}
{{"labels.inputs.Interest recalculation compounding on" | translate}} - {{loanDetails.interestRecalculationData.interestRecalculationCompoundingType.value | translateCatalog }} + {{loanDetails.interestRecalculationData.interestRecalculationCompoundingType.value | translateKey:'catalogs' }}
{{"labels.inputs.Advance payments adjustment type" | translate}} - {{loanDetails.interestRecalculationData.rescheduleStrategyType.value | translateCatalog }} + {{loanDetails.interestRecalculationData.rescheduleStrategyType.value | translateKey:'catalogs' }}
diff --git a/src/app/pipes/pipes.module.ts b/src/app/pipes/pipes.module.ts index 665e4700e..80732ee3f 100644 --- a/src/app/pipes/pipes.module.ts +++ b/src/app/pipes/pipes.module.ts @@ -1,25 +1,25 @@ -import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; -import { StatusLookupPipe } from './status-lookup.pipe'; +import { NgModule } from '@angular/core'; import { AccountsFilterPipe } from './accounts-filter.pipe'; import { ChargesFilterPipe } from './charges-filter.pipe'; import { ChargesPenaltyFilterPipe } from './charges-penalty-filter.pipe'; -import { FindPipe } from './find.pipe'; -import { UrlToStringPipe } from './url-to-string.pipe'; import { DateFormatPipe } from './date-format.pipe'; import { DatetimeFormatPipe } from './datetime-format.pipe'; import { ExternalIdentifierPipe } from './external-identifier.pipe'; +import { FindPipe } from './find.pipe'; import { FormatNumberPipe } from './format-number.pipe'; -import { YesnoPipe } from './yesno.pipe'; import { PrettyPrintPipe } from './pretty-print.pipe'; -import { TranslateCatalogPipe } from './translate-catalog.pipe'; +import { StatusLookupPipe } from './status-lookup.pipe'; +import { TranslatePipe } from './translate.pipe'; import { TruncateTextPipe } from './truncate-text.pipe'; +import { UrlToStringPipe } from './url-to-string.pipe'; +import { YesnoPipe } from './yesno.pipe'; @NgModule({ imports: [ CommonModule ], - declarations: [StatusLookupPipe, + declarations: [ StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, ChargesPenaltyFilterPipe, @@ -31,8 +31,9 @@ import { TruncateTextPipe } from './truncate-text.pipe'; FormatNumberPipe, YesnoPipe, PrettyPrintPipe, - TranslateCatalogPipe, - TruncateTextPipe], + TruncateTextPipe, + TranslatePipe + ], providers: [StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, @@ -45,7 +46,7 @@ import { TruncateTextPipe } from './truncate-text.pipe'; FormatNumberPipe, YesnoPipe, PrettyPrintPipe, - TranslateCatalogPipe, + TranslatePipe, TruncateTextPipe], exports: [StatusLookupPipe, AccountsFilterPipe, @@ -59,7 +60,7 @@ import { TruncateTextPipe } from './truncate-text.pipe'; FormatNumberPipe, YesnoPipe, PrettyPrintPipe, - TranslateCatalogPipe, + TranslatePipe, TruncateTextPipe] }) export class PipesModule { } diff --git a/src/app/pipes/translate-catalog.pipe.ts b/src/app/pipes/translate-catalog.pipe.ts deleted file mode 100644 index 4242d802c..000000000 --- a/src/app/pipes/translate-catalog.pipe.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Pipe, PipeTransform } from '@angular/core'; -import { TranslateService } from '@ngx-translate/core'; - -@Pipe({ - name: 'translateCatalog' -}) -export class TranslateCatalogPipe implements PipeTransform { - - constructor(private translateService: TranslateService) { } - - transform(attributeValue: any, suffix?: string): string { - return this.translateService.instant('labels.catalogs.' + attributeValue); - } - -} diff --git a/src/app/pipes/translate.pipe.spec.ts b/src/app/pipes/translate.pipe.spec.ts new file mode 100644 index 000000000..e3f3b1488 --- /dev/null +++ b/src/app/pipes/translate.pipe.spec.ts @@ -0,0 +1,11 @@ +/* tslint:disable:no-unused-variable */ + +import { TestBed, async } from '@angular/core/testing'; +import { TranslatePipe } from './translate.pipe'; + +describe('Pipe: Translatee', () => { + it('create an instance', () => { + let pipe = new TranslatePipe(); + expect(pipe).toBeTruthy(); + }); +}); diff --git a/src/app/pipes/translate.pipe.ts b/src/app/pipes/translate.pipe.ts new file mode 100644 index 000000000..0ade4c9da --- /dev/null +++ b/src/app/pipes/translate.pipe.ts @@ -0,0 +1,16 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import { TranslateService } from '@ngx-translate/core'; + +@Pipe({ + name: 'translateKey' +}) +export class TranslatePipe implements PipeTransform { + + constructor(private translateService: TranslateService) { } + + transform(attributeValue: any, group: string, prefix: string = 'labels'): string { + const translationKey = `${prefix}.${group}.${attributeValue}`; + return this.translateService.instant(translationKey); + } + +} diff --git a/src/app/products/charges/charges.component.html b/src/app/products/charges/charges.component.html index 215183903..56e8bc14d 100644 --- a/src/app/products/charges/charges.component.html +++ b/src/app/products/charges/charges.component.html @@ -17,7 +17,7 @@ - {{ chargeAppliesTo.value | translateCatalog }} + {{ chargeAppliesTo.value | translateKey:'catalogs' }} @@ -34,17 +34,17 @@ {{"labels.inputs.Applies To" | translate}} - {{ charge.chargeAppliesTo.value | translateCatalog }} + {{ charge.chargeAppliesTo.value | translateKey:'catalogs' }} {{"labels.inputs.Time" | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} {{"labels.inputs.Calculation" | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -119,4 +119,4 @@ (click)="popover.close();showPopover(templateFilter,filter, 'bottom', true)">Back
- \ No newline at end of file + diff --git a/src/app/products/charges/create-charge/create-charge.component.html b/src/app/products/charges/create-charge/create-charge.component.html index 078b7e6c8..b9dfcb516 100644 --- a/src/app/products/charges/create-charge/create-charge.component.html +++ b/src/app/products/charges/create-charge/create-charge.component.html @@ -13,7 +13,7 @@ - {{ chargeAppliesTo.value | translateCatalog }} + {{ chargeAppliesTo.value | translateKey:'catalogs' }} @@ -50,7 +50,7 @@ {{"labels.inputs.Charge Time Type" | translate}} - {{ chargeTimeType.value | translateCatalog }} + {{ chargeTimeType.value | translateKey:'catalogs' }} @@ -63,7 +63,7 @@ - {{ chargeCalculationType.value | translateCatalog }} + {{ chargeCalculationType.value | translateKey:'catalogs' }} @@ -76,7 +76,7 @@ - {{ chargePaymentMode.value | translateCatalog }} + {{ chargePaymentMode.value | translateKey:'catalogs' }} @@ -110,7 +110,7 @@ - {{ feeFrequency.value | translateCatalog }} + {{ feeFrequency.value | translateKey:'catalogs' }} diff --git a/src/app/products/charges/edit-charge/edit-charge.component.html b/src/app/products/charges/edit-charge/edit-charge.component.html index d40b1b255..5031fbd95 100644 --- a/src/app/products/charges/edit-charge/edit-charge.component.html +++ b/src/app/products/charges/edit-charge/edit-charge.component.html @@ -13,7 +13,7 @@ - {{ chargeAppliesTo.value | translateCatalog }} + {{ chargeAppliesTo.value | translateKey:'catalogs' }} @@ -47,7 +47,7 @@ {{"labels.inputs.Charge Time Type" | translate}} - {{ chargeTime.value | translateCatalog }} + {{ chargeTime.value | translateKey:'catalogs' }} @@ -60,7 +60,7 @@ {{"labels.inputs.Charge Calculation" | translate}} - {{ chargeCalculation.value | translateCatalog }} + {{ chargeCalculation.value | translateKey:'catalogs' }} @@ -73,7 +73,7 @@ - {{ chargePaymentMode.value | translateCatalog }} + {{ chargePaymentMode.value | translateKey:'catalogs' }} @@ -144,7 +144,7 @@ {{"labels.inputs.Charge Frequency" | translate}} - {{ chargeFrequency.value | translateCatalog }} + {{ chargeFrequency.value | translateKey:'catalogs' }} diff --git a/src/app/products/charges/view-charge/view-charge.component.html b/src/app/products/charges/view-charge/view-charge.component.html index 4a612c8fa..caacd947c 100644 --- a/src/app/products/charges/view-charge/view-charge.component.html +++ b/src/app/products/charges/view-charge/view-charge.component.html @@ -30,7 +30,7 @@
- {{ chargeData.chargeAppliesTo.value | translateCatalog }} + {{ chargeData.chargeAppliesTo.value | translateKey:'catalogs' }}
@@ -78,7 +78,7 @@
- {{ chargeData.chargeTimeType.value | translateCatalog }} + {{ chargeData.chargeTimeType.value | translateKey:'catalogs' }}
@@ -86,7 +86,7 @@
- {{ chargeData.chargeCalculationType.value | translateCatalog }} + {{ chargeData.chargeCalculationType.value | translateKey:'catalogs' }}
@@ -94,7 +94,7 @@
- {{ chargeData.chargePaymentMode.value | translateCatalog }} + {{ chargeData.chargePaymentMode.value | translateKey:'catalogs' }}
@@ -111,7 +111,7 @@
- {{ chargeData.feeFrequency.value | translateCatalog }} + {{ chargeData.feeFrequency.value | translateKey:'catalogs' }}
diff --git a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html index 7150f7499..3b8978441 100644 --- a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html +++ b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html @@ -96,7 +96,7 @@
{{ 'labels.inputs.Installment day calculation from' | translate}}: - {{ loanProduct.repaymentStartDateType?.value | translateCatalog }} + {{ loanProduct.repaymentStartDateType?.value | translateKey:'catalogs' }}
@@ -117,7 +117,7 @@ {{ loanProduct.interestRatePerPeriod + ' (Min: ' + (loanProduct.minInterestRatePerPeriod ? loanProduct.minInterestRatePerPeriod : loanProduct.interestRatePerPeriod) + ', Max: ' + (loanProduct.maxInterestRatePerPeriod ? loanProduct.maxInterestRatePerPeriod : loanProduct.interestRatePerPeriod) - + ')'}} {{ loanProduct.interestRateFrequencyType?.value | translateCatalog }} + + ')'}} {{ loanProduct.interestRateFrequencyType?.value | translateKey:'catalogs' }}
@@ -148,7 +148,7 @@ {{ 'labels.inputs.Condition' | translate}} - {{ variation.valueConditionType.value | translateCatalog }} + {{ variation.valueConditionType.value | translateKey:'catalogs' }} @@ -197,7 +197,7 @@ {{ 'labels.inputs.Condition' | translate}} - {{ variation.valueConditionType.value | translateCatalog }} + {{ variation.valueConditionType.value | translateKey:'catalogs' }} @@ -246,7 +246,7 @@ {{ 'labels.inputs.Condition' | translate}} - {{ variation.valueConditionType.value | translateCatalog }} + {{ variation.valueConditionType.value | translateKey:'catalogs' }} @@ -287,12 +287,12 @@
{{ 'labels.inputs.Repay Every' | translate}}: - {{ loanProduct.repaymentEvery }} {{ loanProduct.repaymentFrequencyType.value | translateCatalog }} + {{ loanProduct.repaymentEvery }} {{ loanProduct.repaymentFrequencyType.value | translateKey:'catalogs' }}
{{ 'labels.inputs.Fixed Length' | translate}}: - {{ loanProduct.fixedLength }} {{ loanProduct.repaymentFrequencyType.value | translateCatalog }} + {{ loanProduct.fixedLength }} {{ loanProduct.repaymentFrequencyType.value | translateKey:'catalogs' }}
@@ -306,7 +306,7 @@
{{ 'labels.inputs.Amortization' | translate}}: - {{ loanProduct.amortizationType.value | translateCatalog }} + {{ loanProduct.amortizationType.value | translateKey:'catalogs' }}
@@ -316,12 +316,12 @@
{{ 'labels.inputs.Interest Method' | translate}}: - {{ loanProduct.interestType?.value | translateCatalog }} + {{ loanProduct.interestType?.value | translateKey:'catalogs' }}
{{ 'labels.inputs.Interest Calculation Period' | translate}}: - {{ loanProduct.interestCalculationPeriodType?.value | translateCatalog }} + {{ loanProduct.interestCalculationPeriodType?.value | translateKey:'catalogs' }}
@@ -335,12 +335,12 @@
{{ 'labels.inputs.Loan Schedule Type' | translate}}: - {{ loanProduct.loanScheduleType.value | translateCatalog }} + {{ loanProduct.loanScheduleType.value | translateKey:'catalogs' }}
{{ 'labels.inputs.Repayment Strategy' | translate}}: - {{ loanProduct.transactionProcessingStrategyName | translateCatalog }} + {{ loanProduct.transactionProcessingStrategyName | translateKey:'catalogs' }}
@@ -431,12 +431,12 @@
{{ 'labels.inputs.Days in year' | translate}}: - {{ loanProduct.daysInYearType?.value | translateCatalog }} + {{ loanProduct.daysInYearType?.value | translateKey:'catalogs' }}
{{ 'labels.inputs.Days in month' | translate}}: - {{ loanProduct.daysInMonthType?.value | translateCatalog }} + {{ loanProduct.daysInMonthType?.value | translateKey:'catalogs' }}
@@ -655,7 +655,7 @@ {{ 'labels.inputs.Charge Type' | translate }} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -669,7 +669,7 @@ {{ 'labels.inputs.Collected On' | translate }} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} @@ -694,7 +694,7 @@ {{ 'labels.inputs.Charge Type' | translate }} - {{ overdueCharge.chargeCalculationType.value | translateCatalog }} + {{ overdueCharge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -708,7 +708,7 @@ {{ 'labels.inputs.Collected On' | translate }} - {{ overdueCharge.chargeTimeType.value | translateCatalog }} + {{ overdueCharge.chargeTimeType.value | translateKey:'catalogs' }} diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.html index 92a7370a7..09077901d 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.html @@ -31,7 +31,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -45,7 +45,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} @@ -100,7 +100,7 @@ {{'labels.inputs.Type' | translate}} - {{ overdueCharge.chargeCalculationType.value | translateCatalog }} + {{ overdueCharge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -114,7 +114,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ overdueCharge.chargeTimeType.value | translateCatalog }} + {{ overdueCharge.chargeTimeType.value | translateKey:'catalogs' }} diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.html index 001934ab8..b27a381c8 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.html @@ -26,7 +26,7 @@ {{ 'labels.inputs.Payment Allocation Rule' | translate }} - {{ paymentAllocation.value | translateCatalog }} + {{ paymentAllocation.value | translateKey:'catalogs' }} @@ -52,7 +52,7 @@ {{ 'labels.inputs.Credit Allocation Rule' | translate }} - {{ creditAllocation.value | translateCatalog }} + {{ creditAllocation.value | translateKey:'catalogs' }} @@ -65,7 +65,7 @@ - {{ futureInstallmentAllocationRule.value | translateCatalog }} + {{ futureInstallmentAllocationRule.value | translateKey:'catalogs' }} diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component.html index 2d75650d4..70719fc40 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/loan-product-payment-strategy-step.component.html @@ -3,7 +3,7 @@ - {{advancedPaymentAllocation.transaction.value | translateCatalog}} + {{advancedPaymentAllocation.transaction.value | translateKey:'catalogs'}} - {{advancedCreditAllocation.transaction.value | translateCatalog}} + {{advancedCreditAllocation.transaction.value | translateKey:'catalogs'}} {{'labels.inputs.Interest Method' | translate}} - {{ interestType.value | translateCatalog }} + {{ interestType.value | translateKey:'catalogs' }} @@ -31,7 +31,7 @@ - {{ interestCalculationPeriodType.value | translateCatalog }} + {{ interestCalculationPeriodType.value | translateKey:'catalogs' }} @@ -58,7 +58,7 @@ {{'labels.inputs.Loan Schedule Type' | translate}} - {{ loanScheduleType.value | translateCatalog }} + {{ loanScheduleType.value | translateKey:'catalogs' }} @@ -68,7 +68,7 @@ - {{ transactionProcessingStrategy.name | translateCatalog }} + {{ transactionProcessingStrategy.name | translateKey:'catalogs' }} @@ -80,7 +80,7 @@ {{'labels.inputs.Loan Schedule Processing Type' | translate}} - {{ loanScheduleProcessingType.value | translateCatalog }} + {{ loanScheduleProcessingType.value | translateKey:'catalogs' }} @@ -189,7 +189,7 @@ {{'labels.inputs.Days in year' | translate}} - {{ daysInYearType.value | translateCatalog }} + {{ daysInYearType.value | translateKey:'catalogs' }} @@ -201,7 +201,7 @@ {{'labels.inputs.Days in month' | translate}} - {{ daysInMonthType.value | translateCatalog }} + {{ daysInMonthType.value | translateKey:'catalogs' }} @@ -282,7 +282,7 @@ {{'labels.inputs.Pre-closure interest calculation rule' | translate}} - {{ preClosureInterestCalculationStrategy.value | translateCatalog }} + {{ preClosureInterestCalculationStrategy.value | translateKey:'catalogs' }} @@ -294,7 +294,7 @@ {{'labels.inputs.Advance payments adjustment type' | translate}} - {{ rescheduleStrategyType.value | translateCatalog }} + {{ rescheduleStrategyType.value | translateKey:'catalogs' }} @@ -306,7 +306,7 @@ {{'labels.inputs.Interest recalculation compounding on' | translate}} - {{ interestRecalculationCompoundingType.value | translateCatalog }} + {{ interestRecalculationCompoundingType.value | translateKey:'catalogs' }} @@ -352,7 +352,7 @@ - {{ interestRecalculationNthDayType.value | translateCatalog }} + {{ interestRecalculationNthDayType.value | translateKey:'catalogs' }} @@ -365,7 +365,7 @@ - {{ interestRecalculationDayOfWeekType.value | translateCatalog }} + {{ interestRecalculationDayOfWeekType.value | translateKey:'catalogs' }} @@ -391,7 +391,7 @@ {{'labels.inputs.Frequency for recalculate Outstanding Principal' | translate}} - {{ interestRecalculationFrequencyType.value | translateCatalog }} + {{ interestRecalculationFrequencyType.value | translateKey:'catalogs' }} @@ -404,7 +404,7 @@ - {{ interestRecalculationNthDayType.value | translateCatalog }} + {{ interestRecalculationNthDayType.value | translateKey:'catalogs' }} @@ -417,7 +417,7 @@ - {{ interestRecalculationDayOfWeekType.value | translateCatalog }} + {{ interestRecalculationDayOfWeekType.value | translateKey:'catalogs' }} diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html index 08db38ac2..e454fd6fe 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html @@ -37,7 +37,7 @@ {{'labels.inputs.Over Amount Calculation Type' | translate}} - {{ overAppliedCalculationType.value | translateCatalog }} + {{ overAppliedCalculationType.value | translateKey:'catalogs' }} @@ -52,7 +52,7 @@ {{'labels.inputs.Installment day calculation from' | translate}} - {{ repaymentStartDateType.value | translateCatalog}} + {{ repaymentStartDateType.value | translateKey:'catalogs'}} @@ -127,7 +127,7 @@ {{'labels.inputs.Frequency' | translate}} - {{ interestRateFrequencyType.value | translateCatalog }} + {{ interestRateFrequencyType.value | translateKey:'catalogs' }} @@ -408,7 +408,7 @@ {{'labels.inputs.Frequency Type' | translate}} - {{ repaymentFrequencyType.value | translateCatalog }} + {{ repaymentFrequencyType.value | translateKey:'catalogs' }} @@ -423,7 +423,7 @@ {{'labels.inputs.Fixed Length' | translate}} - {{ loanProductTermsForm.value.repaymentFrequencyType | find:repaymentFrequencyTypeData:'id':'value' | translateCatalog }} + {{ loanProductTermsForm.value.repaymentFrequencyType | find:repaymentFrequencyTypeData:'id':'value' | translateKey:'catalogs' }} {{'labels.inputs.Minimum days between disbursal and first repayment date' | translate}} diff --git a/src/app/products/loan-products/view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component.html b/src/app/products/loan-products/view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component.html index e6593ff61..1b48a2246 100644 --- a/src/app/products/loan-products/view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component.html +++ b/src/app/products/loan-products/view-loan-product/shared/view-advance-paymeny-allocation/view-advance-paymeny-allocation.component.html @@ -12,7 +12,7 @@
{{ 'labels.inputs.Future Installment Allocation Rule' | translate }}: - {{ futureInstallmentRuleValue(paymentAllocation.futureInstallmentAllocationRule) | translateCatalog }} + {{ futureInstallmentRuleValue(paymentAllocation.futureInstallmentAllocationRule) | translateKey:'catalogs' }}
@@ -28,7 +28,7 @@ {{ (idx + 1) }} - {{ allocationRuleValue(paymentAllocation.paymentAllocationRule) | translateCatalog }} + {{ allocationRuleValue(paymentAllocation.paymentAllocationRule) | translateKey:'catalogs' }} @@ -61,11 +61,11 @@ {{ (idx + 1) }} - {{ allocationRuleValue(creditAllocation.creditAllocationRule) | translateCatalog}} + {{ allocationRuleValue(creditAllocation.creditAllocationRule) | translateKey:'catalogs'}}
- \ No newline at end of file + diff --git a/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html b/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html index a8fc51fff..6af9e652d 100644 --- a/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html +++ b/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html @@ -34,7 +34,7 @@ {{'labels.inputs.Debit Account Type' | translate}} - {{ debitAccountType.value | translateCatalog }} + {{ debitAccountType.value | translateKey:'inputs.accounting' }} @@ -48,7 +48,7 @@ {{'labels.inputs.Credit Account Type' | translate}} - {{ creditAccountType.value | translateCatalog }} + {{ creditAccountType.value | translateKey:'inputs.accounting' }} diff --git a/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html b/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html index 8c304ee76..3b1e6ab34 100644 --- a/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html +++ b/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html @@ -50,7 +50,7 @@
- {{ taxComponentData.creditAccountType.value | translateCatalog }} + {{ taxComponentData.creditAccountType.value | translateKey:'catalogs' }}
diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-charges-step/saving-product-charges-step.component.html b/src/app/products/saving-products/saving-product-stepper/saving-product-charges-step/saving-product-charges-step.component.html index 9ee12b210..544553501 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-charges-step/saving-product-charges-step.component.html +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-charges-step/saving-product-charges-step.component.html @@ -28,7 +28,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -42,7 +42,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component.html b/src/app/products/saving-products/saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component.html index 75a62be50..10895ab80 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component.html +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-preview-step/saving-product-preview-step.component.html @@ -48,22 +48,22 @@
{{'labels.inputs.Interest Compounding Period' | translate}}: - {{ savingProduct.interestCompoundingPeriodType | find:savingProductsTemplate.interestCompoundingPeriodTypeOptions:'id':'value' | translateCatalog }} + {{ savingProduct.interestCompoundingPeriodType | find:savingProductsTemplate.interestCompoundingPeriodTypeOptions:'id':'value' | translateKey:'catalogs' }}
{{'labels.inputs.Interest Posting Period' | translate}}: - {{ savingProduct.interestPostingPeriodType | find:savingProductsTemplate.interestPostingPeriodTypeOptions:'id':'value' | translateCatalog }} + {{ savingProduct.interestPostingPeriodType | find:savingProductsTemplate.interestPostingPeriodTypeOptions:'id':'value' | translateKey:'catalogs' }}
{{'labels.inputs.Interest Calculated using' | translate}}: - {{ savingProduct.interestCalculationType | find:savingProductsTemplate.interestCalculationTypeOptions:'id':'value' | translateCatalog }} + {{ savingProduct.interestCalculationType | find:savingProductsTemplate.interestCalculationTypeOptions:'id':'value' | translateKey:'catalogs' }}
{{'labels.inputs.Days in Year' | translate}}: - {{ savingProduct.interestCalculationDaysInYearType | find:savingProductsTemplate.interestCalculationDaysInYearTypeOptions:'id':'value' | translateCatalog }} + {{ savingProduct.interestCalculationDaysInYearType | find:savingProductsTemplate.interestCalculationDaysInYearTypeOptions:'id':'value' | translateKey:'catalogs' }}

{{'labels.inputs.Settings' | translate}}

@@ -77,7 +77,7 @@
{{'labels.inputs.Lock-in Period' | translate}}: - {{ savingProduct.lockinPeriodFrequency + ' ' + (savingProduct.lockinPeriodFrequencyType | find:savingProductsTemplate.lockinPeriodFrequencyTypeOptions:'id':'value') | translateCatalog }} + {{ savingProduct.lockinPeriodFrequency + ' ' + (savingProduct.lockinPeriodFrequencyType | find:savingProductsTemplate.lockinPeriodFrequencyTypeOptions:'id':'value') | translateKey:'catalogs' }}
@@ -162,7 +162,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -176,7 +176,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-settings-step/saving-product-settings-step.component.html b/src/app/products/saving-products/saving-product-stepper/saving-product-settings-step/saving-product-settings-step.component.html index 9a3451b8a..9397a2529 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-settings-step/saving-product-settings-step.component.html +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-settings-step/saving-product-settings-step.component.html @@ -17,7 +17,7 @@ - {{ lockinPeriodFrequencyType.value | translateCatalog }} + {{ lockinPeriodFrequencyType.value | translateKey:'catalogs' }} diff --git a/src/app/products/saving-products/saving-product-stepper/saving-product-terms-step/saving-product-terms-step.component.html b/src/app/products/saving-products/saving-product-stepper/saving-product-terms-step/saving-product-terms-step.component.html index 7337920f3..f56c2420d 100644 --- a/src/app/products/saving-products/saving-product-stepper/saving-product-terms-step/saving-product-terms-step.component.html +++ b/src/app/products/saving-products/saving-product-stepper/saving-product-terms-step/saving-product-terms-step.component.html @@ -16,7 +16,7 @@ {{'labels.inputs.Interest Compounding Period' | translate}} - {{ interestCompoundingPeriodType.value | translateCatalog }} + {{ interestCompoundingPeriodType.value | translateKey:'catalogs' }} @@ -28,7 +28,7 @@ {{'labels.inputs.Interest Posting Period' | translate}} - {{ interestPostingPeriodType.value | translateCatalog }} + {{ interestPostingPeriodType.value | translateKey:'catalogs' }} @@ -40,7 +40,7 @@ {{'labels.inputs.Interest Calculated using' | translate}} - {{ interestCalculationType.value | translateCatalog }} + {{ interestCalculationType.value | translateKey:'catalogs' }} @@ -52,7 +52,7 @@ {{'labels.inputs.Days in Year' | translate}} - {{ interestCalculationDaysInYearType.value | translateCatalog }} + {{ interestCalculationDaysInYearType.value | translateKey:'catalogs' }} diff --git a/src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.html b/src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.html index c91ea5d63..a7881efad 100644 --- a/src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.html +++ b/src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.html @@ -57,22 +57,22 @@
{{'labels.inputs.Interest Compounding Period' | translate}}: - {{ savingProduct.interestCompoundingPeriodType.value | translateCatalog }} + {{ savingProduct.interestCompoundingPeriodType.value | translateKey:'catalogs' }}
{{'labels.inputs.Interest Posting Period' | translate}}: - {{ savingProduct.interestPostingPeriodType.value | translateCatalog }} + {{ savingProduct.interestPostingPeriodType.value | translateKey:'catalogs' }}
{{'labels.inputs.Interest Calculated using' | translate}}: - {{ savingProduct.interestCalculationType.value | translateCatalog }} + {{ savingProduct.interestCalculationType.value | translateKey:'catalogs' }}
{{'labels.inputs.Days in Year' | translate}}: - {{ savingProduct.interestCalculationDaysInYearType.value | translateCatalog }} + {{ savingProduct.interestCalculationDaysInYearType.value | translateKey:'catalogs' }}

{{'labels.heading.Settings' | translate}}

@@ -172,7 +172,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -186,7 +186,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} @@ -206,7 +206,7 @@ [accountingMappings]="savingProduct.accountingMappings" > - +
diff --git a/src/app/products/share-products/share-product-stepper/share-product-charges-step/share-product-charges-step.component.html b/src/app/products/share-products/share-product-stepper/share-product-charges-step/share-product-charges-step.component.html index 9ee12b210..544553501 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-charges-step/share-product-charges-step.component.html +++ b/src/app/products/share-products/share-product-stepper/share-product-charges-step/share-product-charges-step.component.html @@ -28,7 +28,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -42,7 +42,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} diff --git a/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.html b/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.html index 563e270c6..289c21fbc 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.html +++ b/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.html @@ -132,7 +132,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -146,7 +146,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} diff --git a/src/app/products/share-products/share-product-stepper/share-product-settings-step/share-product-settings-step.component.html b/src/app/products/share-products/share-product-stepper/share-product-settings-step/share-product-settings-step.component.html index 5202e769c..0c45ec74c 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-settings-step/share-product-settings-step.component.html +++ b/src/app/products/share-products/share-product-stepper/share-product-settings-step/share-product-settings-step.component.html @@ -33,7 +33,7 @@ {{'labels.inputs.Type' | translate}} - {{ minimumActivePeriodFrequencyType.value | translateCatalog }} + {{ minimumActivePeriodFrequencyType.value | translateKey:'catalogs' }} @@ -49,7 +49,7 @@ {{'labels.inputs.Type' | translate}} - {{ lockinPeriodFrequencyType.value | translateCatalog }} + {{ lockinPeriodFrequencyType.value | translateKey:'catalogs' }} diff --git a/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.html b/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.html index b0bbba535..61551491d 100644 --- a/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.html +++ b/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.html @@ -89,12 +89,12 @@
{{'labels.inputs.Minimum Active Period' | translate}}: - {{ shareProduct.minimumActivePeriod }} {{ shareProduct.minimumActivePeriodForDividendsTypeEnum.value | translateCatalog }} + {{ shareProduct.minimumActivePeriod }} {{ shareProduct.minimumActivePeriodForDividendsTypeEnum.value | translateKey:'catalogs' }}
{{'labels.inputs.Lock-in Period' | translate}}: - {{ shareProduct.lockinPeriod }} {{ shareProduct.lockPeriodTypeEnum.value | translateCatalog}} + {{ shareProduct.lockinPeriod }} {{ shareProduct.lockPeriodTypeEnum.value | translateKey:'catalogs'}}
@@ -149,7 +149,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -163,7 +163,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} @@ -188,33 +188,33 @@

{{'labels.heading.Assets' | translate}}

- - +

{{'labels.heading.Liabilities' | translate}}

- - +

{{'labels.heading.Share Equity' | translate}}

- - +

{{'labels.heading.Income' | translate}}

- - +
diff --git a/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.html b/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.html index 7c94d2845..6748d1b2e 100644 --- a/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.html +++ b/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.html @@ -47,7 +47,7 @@ {{'labels.inputs.Collected On' | translate }} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} @@ -142,4 +142,4 @@ {{"labels.buttons.Next" | translate }} -
\ No newline at end of file +
diff --git a/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.html b/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.html index c06e297d2..629daad41 100644 --- a/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.html +++ b/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.html @@ -137,7 +137,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -200,4 +200,4 @@ -
\ No newline at end of file +
diff --git a/src/app/savings/savings-account-stepper/savings-account-terms-step/savings-account-terms-step.component.html b/src/app/savings/savings-account-stepper/savings-account-terms-step/savings-account-terms-step.component.html index 71d52184f..1adfd827d 100644 --- a/src/app/savings/savings-account-stepper/savings-account-terms-step/savings-account-terms-step.component.html +++ b/src/app/savings/savings-account-stepper/savings-account-terms-step/savings-account-terms-step.component.html @@ -24,7 +24,7 @@ {{'labels.inputs.Interest Compounding Period' | translate}} - {{ interestCompoundingPeriodType.value | translateCatalog }} + {{ interestCompoundingPeriodType.value | translateKey:'catalogs' }} @@ -36,7 +36,7 @@ {{'labels.inputs.Interest Posting Period' | translate}} - {{ interestPostingPeriodType.value | translateCatalog }} + {{ interestPostingPeriodType.value | translateKey:'catalogs' }} @@ -48,7 +48,7 @@ {{'labels.inputs.Interest Calculated using' | translate}} - {{ interestCalculationType.value | translateCatalog }} + {{ interestCalculationType.value | translateKey:'catalogs' }} @@ -60,7 +60,7 @@ {{'labels.inputs.Days in Year' | translate}} - {{ interestCalculationDaysInYearType.value | translateCatalog }} + {{ interestCalculationDaysInYearType.value | translateKey:'catalogs' }} @@ -88,7 +88,7 @@ {{'labels.inputs.Type' | translate}} - {{ lockinPeriodFrequencyType.value | translateCatalog }} + {{ lockinPeriodFrequencyType.value | translateKey:'catalogs' }} diff --git a/src/app/savings/savings-account-view/charges-tab/charges-tab.component.html b/src/app/savings/savings-account-view/charges-tab/charges-tab.component.html index 390cfc917..efccc017d 100644 --- a/src/app/savings/savings-account-view/charges-tab/charges-tab.component.html +++ b/src/app/savings/savings-account-view/charges-tab/charges-tab.component.html @@ -22,12 +22,12 @@ {{'labels.inputs.Charge Type' | translate}} - {{ charge.penalty ? 'Penalty' : 'Fee' | translateCatalog }} + {{ charge.penalty ? 'Penalty' : 'Fee' | translateKey:'catalogs' }} {{'labels.inputs.Payment Due At' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} @@ -42,7 +42,7 @@ {{'labels.inputs.Calculation Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -109,4 +109,4 @@
-
\ No newline at end of file +
diff --git a/src/app/savings/savings-account-view/general-tab/general-tab.component.html b/src/app/savings/savings-account-view/general-tab/general-tab.component.html index 161081358..41bdd184d 100644 --- a/src/app/savings/savings-account-view/general-tab/general-tab.component.html +++ b/src/app/savings/savings-account-view/general-tab/general-tab.component.html @@ -14,7 +14,7 @@ - {{'labels.inputs.Not Provided' | translate}} + {{'labels.inputs.Not Provided' | translate}} {{'labels.inputs.Activated On' | translate}} @@ -119,19 +119,19 @@ {{'labels.inputs.Interest Compounding Period' | translate}} - {{savingsAccountData.interestCompoundingPeriodType.value | translateCatalog}} + {{savingsAccountData.interestCompoundingPeriodType.value | translateKey:'catalogs'}} {{'labels.inputs.Interest Posting Period' | translate}} - {{savingsAccountData.interestPostingPeriodType.value | translateCatalog}} + {{savingsAccountData.interestPostingPeriodType.value | translateKey:'catalogs'}} {{'labels.inputs.Interest Calculated Using' | translate}} - {{savingsAccountData.interestCalculationType.value | translateCatalog}} + {{savingsAccountData.interestCalculationType.value | translateKey:'catalogs'}} {{'labels.inputs.Days in Year' | translate}} - {{savingsAccountData.interestCalculationDaysInYearType.value | translateCatalog}} + {{savingsAccountData.interestCalculationDaysInYearType.value | translateKey:'catalogs'}} {{'labels.inputs.Withdrawal Fee' | translate}} diff --git a/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.html b/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.html index e06dcf1f3..f98d38e22 100644 --- a/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.html +++ b/src/app/savings/savings-account-view/transactions-tab/transactions-tab.component.html @@ -35,7 +35,7 @@ {{"labels.inputs.External Id" | translate}} - + @@ -43,7 +43,7 @@ {{"labels.inputs.Transaction Type" | translate}} - {{ transaction.transactionType.value | translateCatalog }} + {{ transaction.transactionType.value | translateKey:'catalogs' }} @@ -82,7 +82,7 @@ +
- {{ chargeData.penalty ? 'Penalty' : 'Fee' | translateCatalog }} + {{ chargeData.penalty ? 'Penalty' : 'Fee' | translateKey:'catalogs' }}
@@ -67,7 +67,7 @@
- {{ chargeData.chargeTimeType.value | translateCatalog }} + {{ chargeData.chargeTimeType.value | translateKey:'catalogs' }}
@@ -83,7 +83,7 @@
- {{ chargeData.chargeCalculationType.value | translateCatalog }} + {{ chargeData.chargeCalculationType.value | translateKey:'catalogs' }}
diff --git a/src/app/shared/dropdown/dropdown.component.html b/src/app/shared/dropdown/dropdown.component.html index e16bbf847..5bc127f2e 100644 --- a/src/app/shared/dropdown/dropdown.component.html +++ b/src/app/shared/dropdown/dropdown.component.html @@ -2,11 +2,11 @@ {{getLabelText()}} - {{ option.value | translateCatalog }} + {{ option.value | translateKey:'catalogs' }} - \ No newline at end of file + diff --git a/src/app/shares/shares-account-stepper/shares-account-charges-step/shares-account-charges-step.component.html b/src/app/shares/shares-account-stepper/shares-account-charges-step/shares-account-charges-step.component.html index 29d3ce141..040624337 100644 --- a/src/app/shares/shares-account-stepper/shares-account-charges-step/shares-account-charges-step.component.html +++ b/src/app/shares/shares-account-stepper/shares-account-charges-step/shares-account-charges-step.component.html @@ -28,7 +28,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -45,7 +45,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} diff --git a/src/app/shares/shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component.html b/src/app/shares/shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component.html index c18df8995..324153123 100644 --- a/src/app/shares/shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component.html +++ b/src/app/shares/shares-account-stepper/shares-account-preview-step/shares-account-preview-step.component.html @@ -55,12 +55,12 @@
{{'labels.inputs.Minimum Active Period' | translate}} - {{sharesAccount.minimumActivePeriod}} {{sharesAccount.minimumActivePeriodFrequencyType | find:sharesAccountProductTemplate.minimumActivePeriodFrequencyTypeOptions:'id':'value' | translateCatalog}} + {{sharesAccount.minimumActivePeriod}} {{sharesAccount.minimumActivePeriodFrequencyType | find:sharesAccountProductTemplate.minimumActivePeriodFrequencyTypeOptions:'id':'value' | translateKey:'catalogs'}}
{{'labels.inputs.Lock-in Period' | translate}} - {{sharesAccount.lockinPeriodFrequency}} {{sharesAccount.lockinPeriodFrequencyType | find:sharesAccountProductTemplate.lockinPeriodFrequencyTypeOptions:'id':'value' | translateCatalog}} + {{sharesAccount.lockinPeriodFrequency}} {{sharesAccount.lockinPeriodFrequencyType | find:sharesAccountProductTemplate.lockinPeriodFrequencyTypeOptions:'id':'value' | translateKey:'catalogs'}}
@@ -91,7 +91,7 @@ {{'labels.inputs.Type' | translate}} - {{ charge.chargeCalculationType.value | translateCatalog }} + {{ charge.chargeCalculationType.value | translateKey:'catalogs' }} @@ -105,7 +105,7 @@ {{'labels.inputs.Collected On' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} diff --git a/src/app/shares/shares-account-stepper/shares-account-terms-step/shares-account-terms-step.component.html b/src/app/shares/shares-account-stepper/shares-account-terms-step/shares-account-terms-step.component.html index d5f823e92..86119bacf 100644 --- a/src/app/shares/shares-account-stepper/shares-account-terms-step/shares-account-terms-step.component.html +++ b/src/app/shares/shares-account-stepper/shares-account-terms-step/shares-account-terms-step.component.html @@ -59,7 +59,7 @@ {{'labels.inputs.Type' | translate}} - {{ minimumActivePeriodFrequencyType.value | translateCatalog }} + {{ minimumActivePeriodFrequencyType.value | translateKey:'catalogs' }} @@ -75,7 +75,7 @@ {{'labels.inputs.Type' | translate}} - {{ lockinPeriodFrequencyType.value | translateCatalog }} + {{ lockinPeriodFrequencyType.value | translateKey:'catalogs' }} diff --git a/src/app/shares/shares-account-view/charges-tab/charges-tab.component.html b/src/app/shares/shares-account-view/charges-tab/charges-tab.component.html index ad7136602..d967fb183 100644 --- a/src/app/shares/shares-account-view/charges-tab/charges-tab.component.html +++ b/src/app/shares/shares-account-view/charges-tab/charges-tab.component.html @@ -20,12 +20,12 @@ {{'labels.inputs.Payment Due At' | translate}} - {{ charge.chargeTimeType.value | translateCatalog }} + {{ charge.chargeTimeType.value | translateKey:'catalogs' }} {{'labels.inputs.Calculation Type' | translate}} - {{charge.chargeCalculationType.value | translateCatalog}} + {{charge.chargeCalculationType.value | translateKey:'catalogs'}} diff --git a/src/app/shares/shares-account-view/shares-account-view.component.html b/src/app/shares/shares-account-view/shares-account-view.component.html index 7fdb8c329..c7dee47ee 100644 --- a/src/app/shares/shares-account-view/shares-account-view.component.html +++ b/src/app/shares/shares-account-view/shares-account-view.component.html @@ -42,7 +42,7 @@ {{"labels.inputs.Lockin Period" | translate}} : - {{sharesAccountData.lockinPeriod}} {{sharesAccountData.lockPeriodTypeEnum.value | translateCatalog}} + {{sharesAccountData.lockinPeriod}} {{sharesAccountData.lockPeriodTypeEnum.value | translateKey:'catalogs'}} @@ -117,4 +117,4 @@ - \ No newline at end of file + diff --git a/src/assets/translations/cs-CS.json b/src/assets/translations/cs-CS.json index 7d0795560..bb06d4eba 100644 --- a/src/assets/translations/cs-CS.json +++ b/src/assets/translations/cs-CS.json @@ -573,6 +573,7 @@ "Annually": "Každoročně", "Weekly": "Týdně", "Daily Balance": "Denní zůstatek", + "% Disbursement Amount": "Částka vyplacení", "Average Daily Balance": "Průměrný denní zůstatek", "BiAnnual": "Pololetní", "360 Days": "360 dní", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "Tato možnost umožňuje vytvářet nové poplatky. Podporuje poplatky za úvěr, poplatky za spoření a vklady a poplatky za klienty.", "System": "Systém", "Table": "Stůl", + "Tax Components": "Složky daně", "Tellers": "Věštci", "Template I am trying to use": "Toto je šablona, ​​kterou se snažím použít. Je to v pořádku?", "Templates": "Šablony", diff --git a/src/assets/translations/de-DE.json b/src/assets/translations/de-DE.json index 4e0375b27..223ed64dc 100644 --- a/src/assets/translations/de-DE.json +++ b/src/assets/translations/de-DE.json @@ -573,6 +573,7 @@ "Annually": "Jährlich", "Weekly": "Wöchentlich", "Daily Balance": "Tagesbilanz", + "% Disbursement Amount": "Auszahlungsbetrag", "Average Daily Balance": "Durchschnittlicher Tagessaldo", "BiAnnual": "Zweijährlich", "360 Days": "360 Tage", @@ -2933,6 +2934,7 @@ "Supports Loan charges, Savings & deposits": "Mit dieser Option können Sie neue Gebühren erstellen. Es unterstützt Kreditgebühren, Spar- und Einlagengebühren sowie Kundengebühren.", "System": "System", "Table": "Tisch", + "Tax Components": "Steuerkomponenten", "Tellers": "Kassierer", "Template I am trying to use": "Dies ist die Vorlage, die ich verwenden möchte. Ist das gut.", "Templates": "Vorlagen", diff --git a/src/assets/translations/en-US.json b/src/assets/translations/en-US.json index 698e4e477..0224ff55a 100644 --- a/src/assets/translations/en-US.json +++ b/src/assets/translations/en-US.json @@ -573,6 +573,7 @@ "Semi-Annual": "Semi-Annual", "Annually": "Annually", "Daily Balance": "Daily Balance", + "% Disbursement Amount": "% Disbursement Amount", "Average Daily Balance": "Average Daily Balance", "BiAnnual": "BiAnnual", "360 Days": "360 Days", @@ -2936,6 +2937,7 @@ "Supports Loan charges, Savings & deposits": "This option allows you to create new charges. It supports Loan charges, Savings and deposits charges and Client charges.", "System": "System", "Table": "Table", + "Tax Components": "Tax Components", "Tellers": "Tellers", "Template I am trying to use": "This is the template I am trying to use. Is that fine.", "Templates": "Templates", diff --git a/src/assets/translations/es-MX.json b/src/assets/translations/es-MX.json index 458d393df..e41622a60 100644 --- a/src/assets/translations/es-MX.json +++ b/src/assets/translations/es-MX.json @@ -573,6 +573,7 @@ "Annually": "Anual", "Weekly": "Semanal", "Daily Balance": "Saldo Diario", + "% Disbursement Amount": "Monto de desembolso", "Average Daily Balance": "Saldo Diario Promedio", "BiAnnual": "Semestral", "360 Days": "360 Días", @@ -2933,6 +2934,7 @@ "Supports Loan charges, Savings & deposits": "Esta opción le permite crear nuevos cargos. Admite cargos por Créditos, cargos por ahorros y depósitos y cargos por clientes.", "System": "Sistema", "Table": "Tabla", + "Tax Components": "Componentes tributarios", "Tellers": "Cajeros", "Template I am trying to use": "Esta es la plantilla que estoy intentando utilizar. Eso está bien.", "Templates": "Plantillas", diff --git a/src/assets/translations/fr-FR.json b/src/assets/translations/fr-FR.json index 40df586e4..743155f23 100644 --- a/src/assets/translations/fr-FR.json +++ b/src/assets/translations/fr-FR.json @@ -573,6 +573,7 @@ "Semi-Annual": "Semestriel", "Annually": "Annuellement", "Daily Balance": "Solde quotidien", + "% Disbursement Amount": "Montant du décaissement", "Average Daily Balance": "Solde quotidien moyen", "BiAnnual": "Semestriel", "360 Days": "360 jours", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "Cette option vous permet de créer de nouveaux frais. Il prend en charge les frais de prêt, les frais d'épargne et de dépôt et les frais du client.", "System": "Système", "Table": "Tableau", + "Tax Components": "Composantes fiscales", "Tellers": "Caissiers", "Template I am trying to use": "C'est le modèle que j'essaie d'utiliser. Es-ce bien.", "Templates": "Modèles", diff --git a/src/assets/translations/it-IT.json b/src/assets/translations/it-IT.json index 74f92df14..cd3597807 100644 --- a/src/assets/translations/it-IT.json +++ b/src/assets/translations/it-IT.json @@ -573,6 +573,7 @@ "Annually": "Annualmente", "Weekly": "settimanalmente", "Daily Balance": "Saldo giornaliero", + "% Disbursement Amount": "Importo dell'esborso", "Average Daily Balance": "Saldo medio giornaliero", "BiAnnual": "Semestrale", "360 Days": "360 giorni", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "Questa opzione ti consente di creare nuovi addebiti. Supporta le spese di prestito, le spese di risparmio e deposito e le spese del cliente.", "System": "Sistema", "Table": "Tavolo", + "Tax Components": "Componenti fiscali", "Tellers": "Scrutatori", "Template I am trying to use": "Questo è il modello che sto cercando di utilizzare. Va bene?", "Templates": "Modelli", diff --git a/src/assets/translations/ko-KO.json b/src/assets/translations/ko-KO.json index 8a9444d7d..4ca942b7f 100644 --- a/src/assets/translations/ko-KO.json +++ b/src/assets/translations/ko-KO.json @@ -573,6 +573,7 @@ "Annually": "매년", "Weekly": "주간", "Daily Balance": "일일 잔액", + "% Disbursement Amount": "지급금액", "Average Daily Balance": "평균 일일 잔액", "BiAnnual": "격년", "360 Days": "360일", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "이 옵션을 사용하면 새 요금을 생성할 수 있습니다. 대출 수수료, 예금 수수료, 고객 수수료를 지원합니다.", "System": "체계", "Table": "테이블", + "Tax Components": "세금 구성요소", "Tellers": "텔러", "Template I am trying to use": "제가 사용하려고 하는 템플릿입니다. 괜찮나요?", "Templates": "템플릿", diff --git a/src/assets/translations/lt-LT.json b/src/assets/translations/lt-LT.json index 0c35383b4..c2227b2fa 100644 --- a/src/assets/translations/lt-LT.json +++ b/src/assets/translations/lt-LT.json @@ -573,6 +573,7 @@ "Annually": "Kasmet", "Weekly": "Kas savaitę", "Daily Balance": "Dienos balansas", + "% Disbursement Amount": "Išmokos suma", "Average Daily Balance": "Vidutinis dienos balansas", "BiAnnual": "Kas dvejus metus", "360 Days": "360 dienų", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "Ši parinktis leidžia sukurti naujus mokesčius. Tai palaiko paskolos mokesčius, taupymo ir indėlių mokesčius ir klientų mokesčius.", "System": "Sistema", "Table": "Lentelė", + "Tax Components": "Mokesčių komponentai", "Tellers": "Pasakotojai", "Template I am trying to use": "Tai yra šablonas, kurį bandau naudoti. Ar tai gerai.", "Templates": "Šablonai", diff --git a/src/assets/translations/lv-LV.json b/src/assets/translations/lv-LV.json index ee2980763..578f140af 100644 --- a/src/assets/translations/lv-LV.json +++ b/src/assets/translations/lv-LV.json @@ -573,6 +573,7 @@ "Annually": "Ik gadu", "Weekly": "Iknedēļas", "Daily Balance": "Dienas bilance", + "% Disbursement Amount": "Izmaksas summa", "Average Daily Balance": "Vidējais dienas atlikums", "BiAnnual": "Divreiz gadā", "360 Days": "360 dienas", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "Šī opcija ļauj izveidot jaunas maksas. Tā atbalsta aizdevuma maksas, uzkrājumu un noguldījumu maksas un klientu maksas.", "System": "Sistēma", "Table": "Tabula", + "Tax Components": "Nodokļu sastāvdaļas", "Tellers": "Teicēji", "Template I am trying to use": "Šī ir veidne, ko cenšos izmantot. Vai tas ir labi.", "Templates": "Veidnes", diff --git a/src/assets/translations/ne-NE.json b/src/assets/translations/ne-NE.json index a3ada3aaa..a0d810005 100644 --- a/src/assets/translations/ne-NE.json +++ b/src/assets/translations/ne-NE.json @@ -573,6 +573,7 @@ "Annually": "वार्षिक रूपमा", "Weekly": "साप्ताहिक", "Daily Balance": "दैनिक ब्यालेन्स", + "% Disbursement Amount": "वितरण रकम", "Average Daily Balance": "औसत दैनिक ब्यालेन्स", "BiAnnual": "द्विवार्षिक", "360 Days": "३६० दिन", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "यो विकल्पले तपाईंलाई नयाँ शुल्कहरू सिर्जना गर्न अनुमति दिन्छ। यसले ऋण शुल्क, बचत र निक्षेप शुल्क र ग्राहक शुल्कहरू समर्थन गर्दछ।", "System": "प्रणाली", "Table": "तालिका", + "Tax Components": "कर अवयवहरू", "Tellers": "टेलरहरू", "Template I am trying to use": "यो टेम्प्लेट हो जुन म प्रयोग गर्न खोज्दै छु। त्यो ठीक छ?", "Templates": "टेम्प्लेटहरू", diff --git a/src/assets/translations/pt-PT.json b/src/assets/translations/pt-PT.json index bfde2c1cc..1184bf565 100644 --- a/src/assets/translations/pt-PT.json +++ b/src/assets/translations/pt-PT.json @@ -573,6 +573,7 @@ "Annually": "Anualmente", "Weekly": "Semanalmente", "Daily Balance": "Saldo Diário", + "% Disbursement Amount": "Valor do Desembolso", "Average Daily Balance": "Saldo Médio Diário", "BiAnnual": "Semestral", "360 Days": "360 dias", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "Esta opção permite criar novas cobranças. Suporta encargos de empréstimos, encargos de poupança e depósitos e encargos de clientes.", "System": "Sistema", "Table": "Mesa", + "Tax Components": "Componentes fiscais", "Tellers": "Caixas", "Template I am trying to use": "Este é o modelo que estou tentando usar. Tudo bem.", "Templates": "Modelos", diff --git a/src/assets/translations/sw-SW.json b/src/assets/translations/sw-SW.json index 88653c5ab..40c6b8105 100644 --- a/src/assets/translations/sw-SW.json +++ b/src/assets/translations/sw-SW.json @@ -573,6 +573,7 @@ "Annually": "Kila mwaka", "Weekly": "Kila wiki", "Daily Balance": "Mizani ya Kila siku", + "% Disbursement Amount": "Kiasi cha Malipo", "Average Daily Balance": "Wastani wa Salio la Kila Siku", "BiAnnual": "BiAnnual", "360 Days": "Siku 360", @@ -2934,6 +2935,7 @@ "Supports Loan charges, Savings & deposits": "Chaguo hili hukuruhusu kuunda gharama mpya. Inaauni ada za Mikopo, Ada za Akiba na amana na ada za Mteja.", "System": "Mfumo", "Table": "Meza", + "Tax Components": "Vipengele vya Ushuru", "Tellers": "Watangazaji", "Template I am trying to use": "Hiki ndicho kiolezo ninachojaribu kutumia. Je, ni sawa.", "Templates": "Violezo",