Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translation of matTooltip #2143

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div fxLayout="row wrap" fxLayoutGap="2%" fxLayout.lt-md="column">

<h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Principal' | translate}}<i class="m-l-10 fas fa-question" matTooltip="These fields are used to define the minimum, default, and maximum principal allowed for the loan product."></i></h4>
<h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Principal' | translate}}<i class="m-l-10 fas fa-question" matTooltip="{{ 'tooltips.Fields are used to define the minimum, default, and maximum principal' | translate}}"></i></h4>

<mat-form-field fxFlex="31%">
<mat-label>{{'labels.inputs.Minimum' | translate}}</mat-label>
Expand Down Expand Up @@ -57,7 +57,7 @@ <h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Principal' | translate}}<i clas
</mat-select>
</mat-form-field>

<h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Number of repayments' | translate}} <i class="fas fa-question" matTooltip="These fields are used to define the minimum, default, and maximum number of repayments allowed for the loan product."></i></h4>
<h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Number of repayments' | translate}} <i class="fas fa-question" matTooltip="{{ 'tooltips.Fields are used to define the minimum, default, and maximum number of repayments' | translate}}"></i></h4>

<mat-form-field fxFlex="31%">
<mat-label>{{'labels.inputs.Minimum' | translate}}</mat-label>
Expand Down Expand Up @@ -97,7 +97,7 @@ <h3 fxFlex="23%" class="mat-h3">{{'labels.inputs.Interest Rates' | translate}}</

<div *ngIf="!loanProductTermsForm.value.isLinkedToFloatingInterestRates" fxFlexFill fxLayout="row wrap" fxLayoutGap="2%" fxLayout.lt-md="column">

<h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Nominal interest rate' | translate}} <i class="fas fa-question" matTooltip="These fields are used to define the minimum, default, maximum, and period for the nominal interest rate allowed for the loan product. The minimum, default, and maximum nominal interest rates are expressed as percentages."></i></h4>
<h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Nominal interest rate' | translate}} <i class="fas fa-question" matTooltip="{{ 'tooltips.Define the minimum, default, maximum, and period for the nominal interest rate' | translate}}"></i></h4>

<mat-form-field fxFlex="23%">
<mat-label>{{'labels.inputs.Minimum' | translate}}</mat-label>
Expand Down Expand Up @@ -394,7 +394,7 @@ <h4 fxFlex="73%" class="mat-h4">{{'labels.inputs.Nominal interest rate by loan c

<mat-divider fxFlex="98%"></mat-divider>

<h4 fxFlex="33%" class="mat-h4">{{'labels.inputs.Repaid every' | translate}} <i class="fas fa-question" matTooltip="These fields are input to calculating the repayment schedule for a loan account and are used to determine when payments are due."></i></h4>
<h4 fxFlex="33%" class="mat-h4">{{'labels.inputs.Repaid every' | translate}} <i class="fas fa-question" matTooltip="{{ 'tooltips.Fields are input to calculating the repayment schedule' | translate}}"></i></h4>

<mat-form-field fxFlex="30%">
<mat-label>{{'labels.inputs.Frequency' | translate}}</mat-label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h3 fxFlex="40%" class="mat-h3">{{'labels.inputs.Tax Components' | translate}}</
<fa-icon icon="edit"></fa-icon>
</button>
<button type="button" mat-icon-button color="warn" *ngIf="taxComponent.isNew"
(click)="delete(taxComponentIndex)" matTooltip="Delete Interest Rate Chart"
(click)="delete(taxComponentIndex)" matTooltip="{{ 'tooltips.Delete Interest Rate Chart' | translate}}"
matTooltipPosition="left">
<fa-icon icon="trash"></fa-icon>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Product Name' | translate}} </mat-label>
<input matInput formControlName="name" matTooltip="The product name is a unique identifier for the lending product." required>
<input matInput formControlName="name" matTooltip="{{ 'tooltips.Product name is a unique identifier' | translate}}" required>
<mat-error *ngIf="recurringDepositProductDetailsForm.controls.name.hasError('required')">
{{'labels.inputs.Product Name' | translate}} {{'labels.commons.is' | translate}} <strong>{{'labels.commons.required' | translate}}</strong>
</mat-error>
</mat-form-field>

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Short Name' | translate}}</mat-label>
<input matInput formControlName="shortName" maxlength="4" matTooltip="The short name is a unique identifier for the lending product." required>
<input matInput formControlName="shortName" maxlength="4" matTooltip="{{ 'tooltips.Short name is a unique identifier' | translate}}" required>
<mat-error *ngIf="recurringDepositProductDetailsForm.controls.shortName.hasError('required')">
{{'labels.inputs.Short Name' | translate}} {{'labels.commons.is' | translate}} <strong>{{'labels.commons.required' | translate}}</strong>
</mat-error>
</mat-form-field>

<mat-form-field fxFlex="98%">
<mat-label>{{'labels.inputs.Description' | translate}}</mat-label>
<textarea matInput formControlName="description" matTooltip="The description is used to provide additional information regarding the purpose and characteristics of the recurring deposit product." cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
<textarea matInput formControlName="description" matTooltip="{{ 'tooltips.Description is used to provide additional information regarding the purpose' | translate}}" cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
<mat-error *ngIf="recurringDepositProductDetailsForm.controls.description.hasError('required')">
{{'labels.inputs.Description' | translate}} {{'labels.commons.is' | translate}} <strong>{{'labels.commons.required' | translate}}</strong>
</mat-error>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ <h3 fxFlex="83%" class="mat-h3">{{ 'labels.heading.Interest Rate Charts' | trans

<div fxFlex="98%" fxLayout="row" fxLayoutAlign="end center">
<button type="button" mat-icon-button color="warn" (click)="delete(charts, chartIndex)"
matTooltip="Delete Interest Rate Chart" matTooltipPosition="left">
matTooltip="{{ 'tooltips.Delete Interest Rate Chart' | translate}}" matTooltipPosition="left">
<fa-icon icon="trash"></fa-icon>
</button>
</div>

<mat-form-field fxFlex="32%">
<mat-label>{{ 'labels.inputs.Name' | translate}}</mat-label>
<input matInput formControlName="name" matTooltip="The name is a unique identifier for the chart." required>
<input matInput formControlName="name" matTooltip="{{ 'tooltips.The name is a unique identifier for the chart' | translate}}" required>
</mat-form-field>

<mat-form-field fxFlex="31%" (click)="validFromDatePicker.open()">
Expand All @@ -52,7 +52,7 @@ <h3 fxFlex="83%" class="mat-h3">{{ 'labels.heading.Interest Rate Charts' | trans
<mat-form-field fxFlex="65%">
<mat-label>{{ 'labels.inputs.Description' | translate}}</mat-label>
<textarea matInput formControlName="description"
matTooltip="The description is used to provide additional information regarding the purpose and characteristics of the chart."></textarea>
matTooltip="{{ 'tooltips.The description is used to provide additional information' | translate}}"></textarea>
</mat-form-field>

<div fxFlex="31%" fxLayout="row" fxLayoutAlign="space-between center">
Expand Down Expand Up @@ -245,4 +245,4 @@ <h4 class="mat-h4" fxFlex="83%">
</button>
</div>

</form>
</form>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Lock-in Period' | translate}}</

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Frequency' | translate}}</mat-label>
<input type="number" matInput formControlName="lockinPeriodFrequency" matTooltip="The number at which lock in period occurs." >
<input type="number" matInput formControlName="lockinPeriodFrequency" matTooltip="{{ 'tooltips.The number at which lock in period occurs' | translate}}" >
</mat-form-field>

<mat-form-field fxFlex="48%">
Expand All @@ -35,7 +35,7 @@ <h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Minimum Deposit Term' | transla

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Frequency' | translate}}</mat-label>
<input type="number" matInput formControlName="minDepositTerm" matTooltip="The number at which minimum deposit occurs." required>
<input type="number" matInput formControlName="minDepositTerm" matTooltip="{{ 'tooltips.The number at which minimum deposit occurs' | translate}}" required>
<mat-error>
{{'labels.inputs.Minimum Deposit Term Frequency' | translate}} {{'labels.commons.is' | translate}} <strong>{{'labels.commons.required' | translate}}</strong>
</mat-error>
Expand All @@ -57,7 +57,7 @@ <h4 fxFlex="98%" class="mat-h4">{{'labels.heading.And thereafter, in Multiples o

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Frequency' | translate}}</mat-label>
<input type="number" matInput formControlName="inMultiplesOfDepositTerm" matTooltip="The number at which multiple deposits occurs.">
<input type="number" matInput formControlName="inMultiplesOfDepositTerm" matTooltip="{{ 'tooltips.The number at which multiple deposits occurs' | translate}}">
</mat-form-field>

<mat-form-field fxFlex="48%">
Expand All @@ -73,7 +73,7 @@ <h4 fxFlex="98%" class="mat-h4">{{'labels.inputs.Maximum Deposit Term' | transla

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Frequency' | translate}}</mat-label>
<input type="number" matInput formControlName="maxDepositTerm" matTooltip="The number at which minimum deposit occurs.">
<input type="number" matInput formControlName="maxDepositTerm" matTooltip="{{ 'tooltips.The number at which minimum deposit occurs' | translate}}">
</mat-form-field>

<mat-form-field fxFlex="48%">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
<div #buttonCreateRecurringProduct class="in-block">
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission='"CREATE_RECURRINGDEPOSITPRODUCT"'
matTooltip="Create Recurring Deposit Product" matTooltipPosition="above">
matTooltip="{{ 'tooltips.Create Recurring Deposit Product' | translate}}" matTooltipPosition="above">
<fa-icon icon="plus" class="m-r-10"></fa-icon>
{{'labels.buttons.Create Recurring Deposit Product' | translate}}
</button>
Expand All @@ -13,7 +13,7 @@
<div #filter fxLayout="row" fxLayoutGap="20px">
<mat-form-field fxFlex>
<mat-label>{{'labels.inputs.Filter' | translate}}</mat-label>
<input matInput (keyup)="applyFilter($event.target.value)" matTooltip="Add Filters" matTooltipPosition="left">
<input matInput (keyup)="applyFilter($event.target.value)" matTooltip="{{ 'tooltips.Add Filters' | translate}}" matTooltipPosition="left">
</mat-form-field>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Currency' | translate}}</mat-label>
<mat-select formControlName="currencyCode" matTooltip="The currency to be used" required>
<mat-select formControlName="currencyCode" matTooltip="{{ 'tooltips.The currency to be used' | translate}}" required>
<mat-option *ngFor="let currency of currencyData" [value]="currency.code">
{{ currency.name }}
</mat-option>
Expand All @@ -16,15 +16,15 @@

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Decimal Places' | translate}}</mat-label>
<input type="number" matInput matTooltip="The number of decimal places to be used to track and report on saving accounts" formControlName="digitsAfterDecimal" required>
<input type="number" matInput matTooltip="{{ 'tooltips.Track and report saving account' | translate}}" formControlName="digitsAfterDecimal" required>
<mat-error>
{{'labels.inputs.Decimal Places' | translate}} {{'labels.commons.is' | translate}} <strong>{{'labels.commons.required' | translate}}</strong>
</mat-error>
</mat-form-field>

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Currency in multiples of' | translate}}</mat-label>
<input type="number" matInput matTooltip="The amount to be rounded off (example: 100 rounds off to 200, 300, 400, etc)" formControlName="inMultiplesOf">
<input type="number" matInput matTooltip="{{ 'tooltips.Amount to be rounded off' | translate}}" formControlName="inMultiplesOf">
<mat-error>
{{'labels.inputs.Currency in multiples of' | translate}} {{'labels.commons.is' | translate}} <strong>{{'labels.commons.required' | translate}}</strong>
</mat-error>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Product Name' | translate}}</mat-label>
<input matInput formControlName="name" matTooltip="A unique identifier for the saving product" required>
<input matInput formControlName="name" matTooltip="{{ 'tooltips.A unique identifier for the saving product' | translate}}" required>
<mat-error>
{{'labels.inputs.Product Name' | translate}} {{'labels.commons.is' | translate}} <strong>{{'labels.commons.required' | translate}}</strong>
</mat-error>
</mat-form-field>

<mat-form-field fxFlex="48%">
<mat-label>{{'labels.inputs.Short Name' | translate}}</mat-label>
<input matInput formControlName="shortName" matTooltip="A unique identifier for the saving product" maxlength="4" required>
<input matInput formControlName="shortName" matTooltip="{{ 'tooltips.A unique identifier for the saving product' | translate}}" maxlength="4" required>
<mat-error>
{{'labels.inputs.Short Name' | translate}} {{'labels.commons.is' | translate}} <strong>{{'labels.commons.required' | translate}}</strong>
</mat-error>
</mat-form-field>

<mat-form-field fxFlex="98%">
<mat-label>{{'labels.inputs.Description' | translate}}</mat-label>
<textarea matInput matTooltip="Provides additional information regarding the purpose and characteristics of the saving product" formControlName="description" cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
<textarea matInput matTooltip="{{ 'tooltips.Provides additional information' | translate}}" formControlName="description" cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
</mat-form-field>

</div>
Expand Down
Loading
Loading