Browse Source

docs: remove AbpAccount as localization resource

pull/4749/head
Arman Ozak 6 years ago
parent
commit
d0df87b5aa
  1. 10
      docs/en/Tutorials/Part-3.md
  2. 2
      docs/en/Tutorials/Part-5.md

10
docs/en/Tutorials/Part-3.md

@ -716,7 +716,7 @@ Open `/src/app/book/book.component.html` and make the following changes:
<ng-template #abpFooter> <ng-template #abpFooter>
<button type="button" class="btn btn-secondary" #abpClose> <button type="button" class="btn btn-secondary" #abpClose>
{%{{{ 'AbpAccount::Close' | abpLocalization }}}%} {%{{{ '::Close' | abpLocalization }}}%}
</button> </button>
</ng-template> </ng-template>
</abp-modal> </abp-modal>
@ -856,13 +856,13 @@ Also replace `<ng-template #abpFooter> </ng-template>` with the following code p
````html ````html
<ng-template #abpFooter> <ng-template #abpFooter>
<button type="button" class="btn btn-secondary" #abpClose> <button type="button" class="btn btn-secondary" #abpClose>
{%{{{ 'AbpAccount::Close' | abpLocalization }}}%} {%{{{ '::Close' | abpLocalization }}}%}
</button> </button>
<!--added save button--> <!--added save button-->
<button class="btn btn-primary" (click)="save()" [disabled]="form.invalid"> <button class="btn btn-primary" (click)="save()" [disabled]="form.invalid">
<i class="fa fa-check mr-1"></i> <i class="fa fa-check mr-1"></i>
{%{{{ 'AbpAccount::Save' | abpLocalization }}}%} {%{{{ '::Save' | abpLocalization }}}%}
</button> </button>
</ng-template> </ng-template>
```` ````
@ -1142,7 +1142,7 @@ constructor(
// Add a delete method // Add a delete method
delete(id: string) { delete(id: string) {
this.confirmation.warn('::AreYouSureToDelete', 'AbpAccount::AreYouSure').subscribe((status) => { this.confirmation.warn('::AreYouSureToDelete', '::AreYouSure').subscribe((status) => {
if (status === Confirmation.Status.confirm) { if (status === Confirmation.Status.confirm) {
this.bookService.deleteById(id).subscribe(() => this.list.get()); this.bookService.deleteById(id).subscribe(() => this.list.get());
} }
@ -1165,7 +1165,7 @@ Open `/src/app/book/book.component.html` and modify the `ngbDropdownMenu` to add
<div ngbDropdownMenu> <div ngbDropdownMenu>
<!-- add the Delete button --> <!-- add the Delete button -->
<button ngbDropdownItem (click)="delete(row.id)"> <button ngbDropdownItem (click)="delete(row.id)">
{%{{{ 'AbpAccount::Delete' | abpLocalization }}}%} {%{{{ '::Delete' | abpLocalization }}}%}
</button> </button>
</div> </div>
``` ```

2
docs/en/Tutorials/Part-5.md

@ -390,7 +390,7 @@ Open the `/src/app/book/book.component.html` file and replace the edit and delet
<!-- Add the abpPermission directive --> <!-- Add the abpPermission directive -->
<button abpPermission="BookStore.Books.Delete" ngbDropdownItem (click)="delete(row.id)"> <button abpPermission="BookStore.Books.Delete" ngbDropdownItem (click)="delete(row.id)">
{%{{{ 'AbpAccount::Delete' | abpLocalization }}}%} {%{{{ '::Delete' | abpLocalization }}}%}
</button> </button>
```` ````

Loading…
Cancel
Save