Skip to content

Commit 970bfa6

Browse files
committed
Add missing translation keys for Tenant and To in all language files
1 parent 77023f1 commit 970bfa6

File tree

16 files changed

+34
-6
lines changed

16 files changed

+34
-6
lines changed

src/app/home/home.component.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99

1010
<div class="container">
1111
<mat-card>
12-
<mat-card-header>
13-
<mat-card-title class="title"> {{ 'labels.text.Welcome' | translate }} {{ username }} {{ 'labels.text.To' | translate }} {{ tenant | titlecase}}! </mat-card-title>
12+
<mat-card-header>
13+
<mat-card-title class="title">
14+
{{ 'labels.text.Welcome' | translate }} {{ username }} {{ 'labels.text.To' | translate }}
15+
{{ tenant | titlecase }}!
16+
</mat-card-title>
1417
</mat-card-header>
1518

1619
<mat-card-content #searchActivity>
@@ -27,7 +30,7 @@
2730
</mat-option>
2831
</mat-autocomplete>
2932
</mat-card-content>
30-
33+
3134
<img mat-card-image src="assets/images/{{ tenant }}_home.png" alt="Mifos X" />
3235
</mat-card>
3336
</div>

src/app/home/home.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class HomeComponent implements OnInit, AfterViewInit {
9393
ngOnInit() {
9494
const credentials = this.authenticationService.getCredentials();
9595
this.username = credentials.username;
96-
this.tenant = this.tenantIdentifier();
96+
this.tenant = this.tenantIdentifier();
9797
this.setFilteredActivities();
9898
if (!this.authenticationService.hasDialogBeenShown()) {
9999
this.dialog.open(WarningDialogComponent);

src/app/shared/footer/footer.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class FooterComponent implements OnInit, OnDestroy {
8989
});
9090
this.getConfigurations();
9191
this.server = this.settingsService.server;
92-
this.tenant = this.tenantIdentifier();
92+
this.tenant = this.tenantIdentifier();
9393
this.versionService.getBackendInfo().subscribe((data: any) => {
9494
if (data.git && data.git.build && data.git.build.version) {
9595
const buildVersion: string = data.git.build.version.split('-');
@@ -107,7 +107,6 @@ export class FooterComponent implements OnInit, OnDestroy {
107107
return this.settingsService.tenantIdentifier;
108108
}
109109

110-
111110
ngOnDestroy() {
112111
if (this.displayBackEndInfo) {
113112
clearTimeout(this.timer);

src/assets/translations/cs-CS.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3338,6 +3338,8 @@
33383338
"Mandatory": "Povinné",
33393339
"Voluntary": "Dobrovolný",
33403340
"Write a note": "Napište poznámku",
3341+
"Tenant": "Nájemce: ",
3342+
"TO": "do",
33413343
"“Maker-Checker” principle requires every tasks": "Princip „Maker-Checker“ vyžaduje, aby každý úkol prováděli dva lidé, aby se snížila pravděpodobnost chyb a zneužití. Jedna osoba proces iniciuje a druhá jej dokončí.",
33423344
"Buy Down Fees": "Poplatky za odkup"
33433345
},

src/assets/translations/de-DE.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3337,6 +3337,8 @@
33373337
"Mandatory": "Obligatorisch",
33383338
"Voluntary": "Freiwillig",
33393339
"Write a note": "Schreib eine Notitz",
3340+
"Tenant": "Mieter",
3341+
"To": "zu",
33403342
"“Maker-Checker” principle requires every tasks": "Das „Maker-Checker“-Prinzip erfordert, dass jede Aufgabe von zwei Personen erledigt wird, um das Risiko von Fehlern und Missbrauch zu verringern. Eine Person leitet den Prozess ein und die zweite Person schließt ihn ab.",
33413343
"Buy Down Fees": "Kaufgebühren"
33423344
},

src/assets/translations/en-US.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3445,6 +3445,8 @@
34453445
"Mandatory": "Mandatory",
34463446
"Voluntary": "Voluntary",
34473447
"Write a note": "Write a note",
3448+
"Tenant": "Tenant",
3449+
"To": "to",
34483450
"“Maker-Checker” principle requires every tasks": "The “Maker-Checker” principle requires every tasks to be completed by two people to reduce the chance of errors and misuse. One person initiates the process and the second completes it.",
34493451
"Buy Down Fees": "Buy Down Fees",
34503452
"Undo Write-off Description": "This action will reverse the write-off transaction and restore the loan to its previous active status. Please provide a note explaining the reason for this action."

src/assets/translations/es-CL.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3339,6 +3339,8 @@
33393339
"Mandatory": "Obligatorio",
33403340
"Voluntary": "Voluntario",
33413341
"Write a note": "Escribe una nota",
3342+
"Tenant": "Inquilino",
3343+
"To": "a",
33423344
"“Maker-Checker” principle requires every tasks": "El principio \"Maker-Checker\" requiere que dos personas completen cada tarea para reducir la posibilidad de errores y uso indebido. Una persona inicia el proceso y la segunda lo completa.",
33433345
"Buy Down Fees": "Tarifas de compra"
33443346
},

src/assets/translations/es-MX.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3341,6 +3341,8 @@
33413341
"Mandatory": "Obligatorio",
33423342
"Voluntary": "Voluntario",
33433343
"Write a note": "Escribe una nota",
3344+
"Tenant": "Inquilino",
3345+
"To": "a",
33443346
"“Maker-Checker” principle requires every tasks": "El principio \"Maker-Checker\" requiere que dos personas completen cada tarea para reducir la posibilidad de errores y uso indebido. Una persona inicia el proceso y la segunda lo completa.",
33453347
"Buy Down Fees": "Tarifas de compra"
33463348
},

src/assets/translations/fr-FR.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3337,6 +3337,8 @@
33373337
"Mandatory": "Obligatoire",
33383338
"Voluntary": "Volontaire",
33393339
"Write a note": "Écrire une note",
3340+
"Tenant": "Locataire",
3341+
"To": "À",
33403342
"“Maker-Checker” principle requires every tasks": "Le principe « Maker-Checker » exige que chaque tâche soit effectuée par deux personnes afin de réduire les risques d'erreurs et de mauvaise utilisation. Une personne lance le processus et la seconde le termine.",
33413343
"Buy Down Fees": "Frais de rachat"
33423344
},

src/assets/translations/it-IT.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3338,6 +3338,8 @@
33383338
"Mandatory": "Obbligatorio",
33393339
"Voluntary": "Volontario",
33403340
"Write a note": "Scrivi una nota",
3341+
"Tenant": "Inquilino",
3342+
"To": "a",
33413343
"“Maker-Checker” principle requires every tasks": "Il principio “Maker-Checker” richiede che ogni attività venga completata da due persone per ridurre la possibilità di errori e usi impropri. Una persona avvia il processo e la seconda lo completa.",
33423344
"Buy Down Fees": "Commissioni di acquisto"
33433345
},

0 commit comments

Comments
 (0)