diff --git a/src/app/system/account-number-preferences/account-number-preferences.component.html b/src/app/system/account-number-preferences/account-number-preferences.component.html index 22aad1ead..498bddfe5 100644 --- a/src/app/system/account-number-preferences/account-number-preferences.component.html +++ b/src/app/system/account-number-preferences/account-number-preferences.component.html @@ -20,7 +20,7 @@ {{'labels.inputs.Account Number Preferences' | translate}} - {{ accountNumberPreference.accountType.value }} + {{ accountNumberPreference.accountType.value | translateKey:'catalogs' }} diff --git a/src/app/system/account-number-preferences/create-account-number-preference/create-account-number-preference.component.html b/src/app/system/account-number-preferences/create-account-number-preference/create-account-number-preference.component.html index d6c354523..dd9d6eda1 100644 --- a/src/app/system/account-number-preferences/create-account-number-preference/create-account-number-preference.component.html +++ b/src/app/system/account-number-preferences/create-account-number-preference/create-account-number-preference.component.html @@ -12,7 +12,7 @@ {{'labels.inputs.Account Type' | translate}} - {{ accountType.value }} + {{ accountType.value | translateKey:'catalogs' }} @@ -24,7 +24,7 @@ {{'labels.inputs.Prefix Field' | translate}} - {{ prefixType.value }} + {{ prefixType.value}} diff --git a/src/app/system/account-number-preferences/edit-account-number-preference/edit-account-number-preference.component.html b/src/app/system/account-number-preferences/edit-account-number-preference/edit-account-number-preference.component.html index c28d3ab5c..7e9470a73 100644 --- a/src/app/system/account-number-preferences/edit-account-number-preference/edit-account-number-preference.component.html +++ b/src/app/system/account-number-preferences/edit-account-number-preference/edit-account-number-preference.component.html @@ -12,7 +12,7 @@ {{'labels.inputs.Account Type' | translate}} - {{ accountType.value }} + {{ accountType.value | translateKey:'catalogs' }} diff --git a/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.html b/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.html index ad7dd024b..890d6acbd 100644 --- a/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.html +++ b/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.html @@ -25,7 +25,7 @@
- {{ accountNumberPreferenceData.accountType.value }} + {{ accountNumberPreferenceData.accountType.value | translateKey:'catalogs' }}
diff --git a/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.ts b/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.ts index 859896568..0f121f291 100644 --- a/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.ts +++ b/src/app/system/account-number-preferences/view-account-number-preference/view-account-number-preference.component.ts @@ -1,12 +1,13 @@ /** Angular Imports */ import { Component, OnInit } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; +import { ActivatedRoute, Router } from '@angular/router'; /** Custom Services */ import { SystemService } from '../../system.service'; /** Custom Components */ +import { TranslateService } from '@ngx-translate/core'; import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; /** @@ -28,11 +29,13 @@ export class ViewAccountNumberPreferenceComponent implements OnInit { * @param {ActivatedRoute} route Activated Route. * @param {Router} router Router for navigation. * @param {MatDialog} dialog Dialog reference. + * @param {TranslateService} translateService Translate Service. */ constructor(private route: ActivatedRoute, private systemService: SystemService, private router: Router, - private dialog: MatDialog) { + private dialog: MatDialog, + private translateService: TranslateService) { this.route.data.subscribe((data: { accountNumberPreference: any }) => { this.accountNumberPreferenceData = data.accountNumberPreference; }); @@ -46,7 +49,7 @@ export class ViewAccountNumberPreferenceComponent implements OnInit { */ delete() { const deleteAccountNumberPreferenceDialogRef = this.dialog.open(DeleteDialogComponent, { - data: { deleteContext: `account number preference ${this.accountNumberPreferenceData.id}` } + data: { deleteContext: this.translateService.instant('labels.heading.Account Number Preferences') + ' ' + this.accountNumberPreferenceData.id} }); deleteAccountNumberPreferenceDialogRef.afterClosed().subscribe((response: any) => { if (response.delete) { diff --git a/src/assets/translations/cs-CS.json b/src/assets/translations/cs-CS.json index 47852139a..03758e2df 100644 --- a/src/assets/translations/cs-CS.json +++ b/src/assets/translations/cs-CS.json @@ -522,13 +522,19 @@ "Active": "Aktivní", "Inactive": "Inactive", "Loans": "Loans", + "CENTER": "CENTRUM", "Client": "Client", + "CLIENT": "KLIENT", "Loan": "Loan", "Savings": "Savings", "Shares": "Shares", "Regular": "Regular", "Account transfer": "Account transfer", "Flat": "Flat", + "GROUP": "SKUPINA", + "LOAN": "PŮJČKA", + "SAVINGS": "ÚSPORY", + "SHARES": "PODÍLE", "% Amount": "% Amount", "% Interest": "% Interest", "% Loan Amount + Interest": "% Loan Amount + Interest", diff --git a/src/assets/translations/de-DE.json b/src/assets/translations/de-DE.json index 1f02f7884..07de38fbb 100644 --- a/src/assets/translations/de-DE.json +++ b/src/assets/translations/de-DE.json @@ -522,13 +522,19 @@ "Active": "Aktiv", "Inactive": "Inaktiv", "Loans": "Kredite", + "CENTER": "CENTER", "Client": "Klient", + "CLIENT": "KLIENT", "Loan": "Darlehen", "Savings": "Ersparnisse", "Shares": "Anteile", "Regular": "Regulär", "Account transfer": "Kontoübertragung", "Flat": "Wohnung", + "GROUP": "GRUPPE", + "LOAN": "DARLEHEN", + "SAVINGS": "ERSPARNISSE", + "SHARES": "ANTEILE", "% Amount": "Menge", "% Interest": "Interesse", "% Loan Amount + Interest": "Kreditbetrag + Zinsen", diff --git a/src/assets/translations/en-US.json b/src/assets/translations/en-US.json index 6a4c1a7fe..1b1400ea1 100644 --- a/src/assets/translations/en-US.json +++ b/src/assets/translations/en-US.json @@ -522,6 +522,8 @@ "Active": "Active", "Inactive": "Inactive", "Loans": "Loans", + "CENTER": "CENTER", + "CLIENT": "CLIENT", "Client": "Client", "Loan": "Loan", "Savings": "Savings", @@ -529,6 +531,10 @@ "Regular": "Regular", "Account transfer": "Account transfer", "Flat": "Flat", + "GROUP": "GROUP", + "LOAN": "LOAN", + "SAVINGS": "SAVINGS", + "SHARES": "SHARES", "% Amount": "% Amount", "% Interest": "% Interest", "% Loan Amount + Interest": "% Loan Amount + Interest", diff --git a/src/assets/translations/es-MX.json b/src/assets/translations/es-MX.json index d8e6d702b..1e7fa5916 100644 --- a/src/assets/translations/es-MX.json +++ b/src/assets/translations/es-MX.json @@ -522,13 +522,19 @@ "Active": "Activo", "Inactive": "Inactivo", "Loans": "Préstamos", + "CENTER": "CENTRO", "Client": "Cliente", + "CLIENT": "CLIENTE", "Loan": "Crédito", "Savings": "Ahorros", "Shares": "Acciones", "Regular": "Regular", "Account transfer": "Transferencia de cuenta", "Flat": "Monto fijo", + "GROUP": "GRUPO", + "LOAN": "PRÉSTAMO", + "SAVINGS": "AHORROS", + "SHARES": "COMPARTE", "% Amount": "% Monto", "% Interest": "% Interés", "% Loan Amount + Interest": "% Monto del Crédito + Interés", diff --git a/src/assets/translations/fr-FR.json b/src/assets/translations/fr-FR.json index 29b3ce35a..b73e69eaf 100644 --- a/src/assets/translations/fr-FR.json +++ b/src/assets/translations/fr-FR.json @@ -522,13 +522,19 @@ "Active": "Actif", "Inactive": "Inactif", "Loans": "Prêts", + "CENTER": "CENTRE", "Client": "Client", + "CLIENT": "CLIENT", "Loan": "Prêt", "Savings": "Des économies", "Shares": "Actions", "Regular": "Régulier", "Account transfer": "Transfert de compte", "Flat": "Plat", + "GROUP": "GROUPE", + "LOAN": "PRÊT", + "SAVINGS": "DES ÉCONOMIES", + "SHARES": "ACTIONS", "% Amount": "Montant", "% Interest": "Intérêt", "% Loan Amount + Interest": "Montant du prêt + intérêts", diff --git a/src/assets/translations/it-IT.json b/src/assets/translations/it-IT.json index 97236c463..57d7d8215 100644 --- a/src/assets/translations/it-IT.json +++ b/src/assets/translations/it-IT.json @@ -522,13 +522,19 @@ "Active": "Attivo", "Inactive": "Inattivo", "Loans": "Prestiti", + "CENTER": "CENTRO", "Client": "Cliente", + "CLIENT": "CLIENTE", "Loan": "Prestito", "Savings": "Risparmio", "Shares": "Azioni", "Regular": "Regolare", "Account transfer": "Trasferimento del conto", "Flat": "Piatto", + "GROUP": "GRUPPO", + "LOAN": "PRESTITO", + "SAVINGS": "RISPARMIO", + "SHARES": "CONDIVISIONI", "% Amount": "Quantità", "% Interest": "Interesse", "% Loan Amount + Interest": "Importo del prestito + interessi", diff --git a/src/assets/translations/ko-KO.json b/src/assets/translations/ko-KO.json index 17cfe7227..a43c64d02 100644 --- a/src/assets/translations/ko-KO.json +++ b/src/assets/translations/ko-KO.json @@ -522,13 +522,19 @@ "Active": "활동적인", "Inactive": "비활성", "Loans": "대출", + "CENTER": "센터", "Client": "고객", + "CLIENT": "고객", "Loan": "대출", "Savings": "저금", "Shares": "주식", "Regular": "정기적인", "Account transfer": "계좌이체", "Flat": "평평한", + "GROUP": "그룹", + "LOAN": "대출", + "SAVINGS": "저금", + "SHARES": "주식", "% Amount": "양", "% Interest": "관심", "% Loan Amount + Interest": "대출금액 + 이자", diff --git a/src/assets/translations/lt-LT.json b/src/assets/translations/lt-LT.json index c27428a42..b7f4635d8 100644 --- a/src/assets/translations/lt-LT.json +++ b/src/assets/translations/lt-LT.json @@ -522,13 +522,19 @@ "Active": "Aktyvus", "Inactive": "Neaktyvus", "Loans": "Paskolos", + "CENTER": "CENTRAS", "Client": "Klientas", + "CLIENT": "KLIENTAS", "Loan": "Paskola", "Savings": "Taupymas", "Shares": "Akcijos", "Regular": "Reguliarus", "Account transfer": "Sąskaitos perkėlimas", "Flat": "Butas", + "GROUP": "GRUPĖ", + "LOAN": "PASKOLA", + "SAVINGS": "TAUPYMAS", + "SHARES": "AKCIJAS", "% Amount": "Suma", "% Interest": "Palūkanos", "% Loan Amount + Interest": "Paskolos suma + palūkanos", diff --git a/src/assets/translations/lv-LV.json b/src/assets/translations/lv-LV.json index abee4cdae..45f7a4385 100644 --- a/src/assets/translations/lv-LV.json +++ b/src/assets/translations/lv-LV.json @@ -522,13 +522,19 @@ "Active": "Aktīvs", "Inactive": "Neaktīvs", "Loans": "Aizdevumi", + "CENTER": "CENTRS", "Client": "Klients", + "CLIENT": "KLIENTS", "Loan": "Aizdevums", "Savings": "Ietaupījumi", "Shares": "Akcijas", "Regular": "Regulāri", "Account transfer": "Konta pārskaitījums", "Flat": "Plakans", + "GROUP": "GRUPA", + "LOAN": "AIZDEVUMS", + "SAVINGS": "UZKRĀJUMI", + "SHARES": "AKCIJAS", "% Amount": "Summa", "% Interest": "Interese", "% Loan Amount + Interest": "Aizdevuma summa + procenti", diff --git a/src/assets/translations/ne-NE.json b/src/assets/translations/ne-NE.json index 17de9ddc7..5aadc0a0b 100644 --- a/src/assets/translations/ne-NE.json +++ b/src/assets/translations/ne-NE.json @@ -522,13 +522,19 @@ "Active": "सक्रिय", "Inactive": "निष्क्रिय", "Loans": "ऋण", + "CENTER": "केन्द्र", "Client": "ग्राहक", + "CLIENT": "ग्राहक", "Loan": "ऋण", "Savings": "बचत", "Shares": "सेयरहरू", "Regular": "नियमित", "Account transfer": "खाता स्थानान्तरण", "Flat": "फ्ल्याट", + "GROUP": "समूह", + "LOAN": "ऋण", + "SAVINGS": "बचत", + "SHARES": "शेयरहरू", "% Amount": "रकम", "% Interest": "ब्याज", "% Loan Amount + Interest": "ऋण रकम + ब्याज", diff --git a/src/assets/translations/pt-PT.json b/src/assets/translations/pt-PT.json index 9b2ff5060..5a1905e4c 100644 --- a/src/assets/translations/pt-PT.json +++ b/src/assets/translations/pt-PT.json @@ -522,13 +522,19 @@ "Active": "Ativo", "Inactive": "Inativo", "Loans": "Empréstimos", + "CENTER": "CENTRO", "Client": "Cliente", + "CLIENT": "CLIENTE", "Loan": "Empréstimo", "Savings": "Poupança", "Shares": "Ações", "Regular": "Regular", "Account transfer": "Transferência de conta", "Flat": "Plano", + "GROUP": "GRUPO", + "LOAN": "EMPRÉSTIMO", + "SAVINGS": "POUPANÇA", + "SHARES": "AÇÕES", "% Amount": "Quantia", "% Interest": "Interesse", "% Loan Amount + Interest": "Valor do empréstimo + juros", diff --git a/src/assets/translations/sw-SW.json b/src/assets/translations/sw-SW.json index 124989356..3850bbd1c 100644 --- a/src/assets/translations/sw-SW.json +++ b/src/assets/translations/sw-SW.json @@ -522,13 +522,19 @@ "Active": "Inayotumika", "Inactive": "Isiyotumika", "Loans": "Mikopo", + "CENTER": "KITUO", "Client": "Mteja", + "CLIENT": "MTEJA", "Loan": "Mkopo", "Savings": "Akiba", "Shares": "Hisa", "Regular": "Mara kwa mara", "Account transfer": "Uhamisho wa akaunti", "Flat": "Gorofa", + "GROUP": "KIKUNDI", + "LOAN": "MKOPO", + "SAVINGS": "AKIBA", + "SHARES": "HISA", "% Amount": "Kiasi", "% Interest": "Hamu", "% Loan Amount + Interest": "Kiasi cha Mkopo + Riba",