Browse Source

Update success message strings

pull/19326/head
Yusuf Çırak 3 years ago
parent
commit
d48fee6b6c
  1. 4
      npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts
  2. 4
      npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts
  3. 2
      npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts
  4. 4
      npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts

4
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))) .pipe(finalize(() => (this.modalBusy = false)))
.subscribe(() => { .subscribe(() => {
this.isModalVisible = false; this.isModalVisible = false;
this.toasterService.success('AbpUi::SuccessfullySaved'); this.toasterService.success('AbpUi::SavedSuccessfully');
this.list.get(); this.list.get();
}); });
} }
@ -102,7 +102,7 @@ export class RolesComponent implements OnInit {
}) })
.subscribe((status: Confirmation.Status) => { .subscribe((status: Confirmation.Status) => {
if (status === Confirmation.Status.confirm) { if (status === Confirmation.Status.confirm) {
this.toasterService.success('AbpUi::SuccessfullyDeleted'); this.toasterService.success('AbpUi::DeletedSuccessfully');
this.service.delete(id).subscribe(() => this.list.get()); this.service.delete(id).subscribe(() => this.list.get());
} }
}); });

4
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))) .pipe(finalize(() => (this.modalBusy = false)))
.subscribe(() => { .subscribe(() => {
this.isModalVisible = false; this.isModalVisible = false;
this.toasterService.success('AbpUi::SuccessfullySaved'); this.toasterService.success('AbpUi::SavedSuccessfully');
this.list.get(); this.list.get();
}); });
} }
@ -181,7 +181,7 @@ export class UsersComponent implements OnInit {
.subscribe((status: Confirmation.Status) => { .subscribe((status: Confirmation.Status) => {
if (status === Confirmation.Status.confirm) { if (status === Confirmation.Status.confirm) {
this.service.delete(id).subscribe(() => { this.service.delete(id).subscribe(() => {
this.toasterService.success('AbpUi::SuccessfullyDeleted'); this.toasterService.success('AbpUi::DeletedSuccessfully');
this.list.get(); this.list.get();
}); });
} }

2
npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts

@ -338,7 +338,7 @@ export class PermissionManagementComponent
) )
.subscribe(() => { .subscribe(() => {
this.visible = false; this.visible = false;
this.toasterService.success('AbpPermissionManagement::SuccessfullySaved'); this.toasterService.success('AbpUi::SavedSuccessfully');
}); });
} }

4
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))) .pipe(finalize(() => (this.modalBusy = false)))
.subscribe(() => { .subscribe(() => {
this.isModalVisible = false; this.isModalVisible = false;
this.toasterService.success('AbpUi::SuccessfullySaved'); this.toasterService.success('AbpUi::SavedSuccessfully');
this.list.get(); this.list.get();
}); });
} }
@ -109,7 +109,7 @@ export class TenantsComponent implements OnInit {
) )
.subscribe((status: Confirmation.Status) => { .subscribe((status: Confirmation.Status) => {
if (status === Confirmation.Status.confirm) { if (status === Confirmation.Status.confirm) {
this.toasterService.success('AbpUi::SuccessfullyDeleted'); this.toasterService.success('AbpUi::DeletedSuccessfully');
this.service.delete(id).subscribe(() => this.list.get()); this.service.delete(id).subscribe(() => this.list.get());
} }
}); });

Loading…
Cancel
Save