From 785c55152bd94fb41cd3318f0387e2e764fdc594 Mon Sep 17 00:00:00 2001 From: sansan88 Date: Fri, 14 Jun 2024 18:43:21 +0200 Subject: [PATCH] change text --- src/app/pages/club-admin-list/club-admin-list.page.html | 2 +- src/app/pages/club-admin-list/club-admin-list.page.ts | 6 +++--- src/app/pages/club-member-list/club-member-list.page.html | 2 +- src/app/pages/team-admin-list/team-admin-list.page.html | 2 +- src/app/pages/team-admin-list/team-admin-list.page.ts | 6 +++--- src/app/pages/team-member-list/team-member-list.page.html | 2 +- src/app/pages/team-member-list/team-member-list.page.ts | 6 +++--- src/app/pages/team/team-detail/team.page.html | 6 +++--- src/assets/lang/de.json | 4 +++- 9 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/app/pages/club-admin-list/club-admin-list.page.html b/src/app/pages/club-admin-list/club-admin-list.page.html index d6fb5062..5c8b9a19 100644 --- a/src/app/pages/club-admin-list/club-admin-list.page.html +++ b/src/app/pages/club-admin-list/club-admin-list.page.html @@ -5,7 +5,7 @@ {{"common.edit" | translate}} - {{"common.cancel" | translate}} + {{"common.done" | translate}} Administratoren diff --git a/src/app/pages/club-admin-list/club-admin-list.page.ts b/src/app/pages/club-admin-list/club-admin-list.page.ts index 172dec72..5293182a 100644 --- a/src/app/pages/club-admin-list/club-admin-list.page.ts +++ b/src/app/pages/club-admin-list/club-admin-list.page.ts @@ -220,15 +220,15 @@ export class ClubAdminListPage implements OnInit { finalize(async () => { if (memberSelect.length > 0) { const alert = await this.alertCtrl.create({ - header: "Administrator hinzufügen", + header: await lastValueFrom(this.translate.get("common.addAdministrator")), inputs: memberSelect, buttons: [ { - text: "Abbrechen", + text: await lastValueFrom(this.translate.get("common.cancel")), handler: () => console.log("Cancel clicked"), }, { - text: "Hinzufügen", + text: await lastValueFrom(this.translate.get("common.add")), handler: (data) => { for (let member of data){ this.fbService.addClubAdmin(this.club.id, member.id).catch(e=>{ diff --git a/src/app/pages/club-member-list/club-member-list.page.html b/src/app/pages/club-member-list/club-member-list.page.html index 2f1520e0..db4d3a1a 100644 --- a/src/app/pages/club-member-list/club-member-list.page.html +++ b/src/app/pages/club-member-list/club-member-list.page.html @@ -6,7 +6,7 @@ >{{"common.edit" | translate}} {{"common.cancel" | translate}}{{"common.done" | translate}} Mitglieder diff --git a/src/app/pages/team-admin-list/team-admin-list.page.html b/src/app/pages/team-admin-list/team-admin-list.page.html index d776d1e5..2db0726d 100644 --- a/src/app/pages/team-admin-list/team-admin-list.page.html +++ b/src/app/pages/team-admin-list/team-admin-list.page.html @@ -3,7 +3,7 @@ {{"common.edit" | translate}} - {{"common.cancel" | translate}} + {{"common.done" | translate}} Administratoren diff --git a/src/app/pages/team-admin-list/team-admin-list.page.ts b/src/app/pages/team-admin-list/team-admin-list.page.ts index bb0571eb..a061fa1a 100644 --- a/src/app/pages/team-admin-list/team-admin-list.page.ts +++ b/src/app/pages/team-admin-list/team-admin-list.page.ts @@ -215,15 +215,15 @@ export class TeamAdminListPage implements OnInit { finalize(async () => { if (memberSelect.length > 0) { const alert = await this.alertCtrl.create({ - header: "Administrator hinzufügen", + header: await lastValueFrom(this.translate.get("common.addAdministrator")), inputs: memberSelect, buttons: [ { - text: "Abbrechen", + text: await lastValueFrom(this.translate.get("common.cancel")), handler: () => console.log("Cancel clicked"), }, { - text: "Hinzufügen", + text: await lastValueFrom(this.translate.get("common.add")), handler: (data) => { for (let member of data){ this.fbService.addTeamAdmin(this.team.id, member.id).catch(e=>{ diff --git a/src/app/pages/team-member-list/team-member-list.page.html b/src/app/pages/team-member-list/team-member-list.page.html index 1f1b7b30..72ed261d 100644 --- a/src/app/pages/team-member-list/team-member-list.page.html +++ b/src/app/pages/team-member-list/team-member-list.page.html @@ -6,7 +6,7 @@ >{{"common.edit" | translate}} {{"common.cancel" | translate}}{{"common.done" | translate}} Mitglieder diff --git a/src/app/pages/team-member-list/team-member-list.page.ts b/src/app/pages/team-member-list/team-member-list.page.ts index e0722dc9..dee58348 100644 --- a/src/app/pages/team-member-list/team-member-list.page.ts +++ b/src/app/pages/team-member-list/team-member-list.page.ts @@ -223,15 +223,15 @@ export class TeamMemberListPage implements OnInit { ).subscribe(async (memberSelect: any) => { if (memberSelect && memberSelect.length > 0) { const alert = await this.alertCtrl.create({ - header: 'Mitglied hinzufügen', + header: await lastValueFrom(this.translate.get("common.addMember")), inputs: memberSelect, buttons: [ { - text: 'Abbrechen', + text: await lastValueFrom(this.translate.get("common.cancel")), handler: () => console.log('Cancel clicked'), }, { - text: 'Hinzufügen', + text: await lastValueFrom(this.translate.get("common.add")), handler: (teamMemberList) => { console.log(teamMemberList); for (const member of teamMemberList) { diff --git a/src/app/pages/team/team-detail/team.page.html b/src/app/pages/team/team-detail/team.page.html index 1c40745c..87a90d00 100644 --- a/src/app/pages/team/team-detail/team.page.html +++ b/src/app/pages/team/team-detail/team.page.html @@ -1,14 +1,14 @@ - + {{team?.name}}