From d48fee6b6c1382ee94eaf22506f434f2b9b63be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C3=87=C4=B1rak?= Date: Tue, 19 Mar 2024 09:25:53 +0300 Subject: [PATCH] Update success message strings --- .../identity/src/lib/components/roles/roles.component.ts | 4 ++-- .../identity/src/lib/components/users/users.component.ts | 4 ++-- .../src/lib/components/permission-management.component.ts | 2 +- .../src/lib/components/tenants/tenants.component.ts | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts b/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts index 032782a883..00e828a279 100644 --- a/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts +++ b/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts @@ -90,7 +90,7 @@ export class RolesComponent implements OnInit { .pipe(finalize(() => (this.modalBusy = false))) .subscribe(() => { this.isModalVisible = false; - this.toasterService.success('AbpUi::SuccessfullySaved'); + this.toasterService.success('AbpUi::SavedSuccessfully'); this.list.get(); }); } @@ -102,7 +102,7 @@ export class RolesComponent implements OnInit { }) .subscribe((status: Confirmation.Status) => { if (status === Confirmation.Status.confirm) { - this.toasterService.success('AbpUi::SuccessfullyDeleted'); + this.toasterService.success('AbpUi::DeletedSuccessfully'); this.service.delete(id).subscribe(() => this.list.get()); } }); diff --git a/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts b/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts index 4d14a7bf3e..95ef1f3417 100644 --- a/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts +++ b/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts @@ -168,7 +168,7 @@ export class UsersComponent implements OnInit { .pipe(finalize(() => (this.modalBusy = false))) .subscribe(() => { this.isModalVisible = false; - this.toasterService.success('AbpUi::SuccessfullySaved'); + this.toasterService.success('AbpUi::SavedSuccessfully'); this.list.get(); }); } @@ -181,7 +181,7 @@ export class UsersComponent implements OnInit { .subscribe((status: Confirmation.Status) => { if (status === Confirmation.Status.confirm) { this.service.delete(id).subscribe(() => { - this.toasterService.success('AbpUi::SuccessfullyDeleted'); + this.toasterService.success('AbpUi::DeletedSuccessfully'); this.list.get(); }); } diff --git a/npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts b/npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts index 5e9a1d9525..6648519e38 100644 --- a/npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts +++ b/npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts @@ -338,7 +338,7 @@ export class PermissionManagementComponent ) .subscribe(() => { this.visible = false; - this.toasterService.success('AbpPermissionManagement::SuccessfullySaved'); + this.toasterService.success('AbpUi::SavedSuccessfully'); }); } diff --git a/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts b/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts index 79ae31108d..45381119ef 100644 --- a/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts +++ b/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts @@ -93,7 +93,7 @@ export class TenantsComponent implements OnInit { .pipe(finalize(() => (this.modalBusy = false))) .subscribe(() => { this.isModalVisible = false; - this.toasterService.success('AbpUi::SuccessfullySaved'); + this.toasterService.success('AbpUi::SavedSuccessfully'); this.list.get(); }); } @@ -109,7 +109,7 @@ export class TenantsComponent implements OnInit { ) .subscribe((status: Confirmation.Status) => { if (status === Confirmation.Status.confirm) { - this.toasterService.success('AbpUi::SuccessfullyDeleted'); + this.toasterService.success('AbpUi::DeletedSuccessfully'); this.service.delete(id).subscribe(() => this.list.get()); } });