From d0df87b5aa3d8516ee74ddd914e1389fafd07a61 Mon Sep 17 00:00:00 2001 From: Arman Ozak Date: Tue, 14 Jul 2020 11:35:46 +0300 Subject: [PATCH 1/2] docs: remove AbpAccount as localization resource --- docs/en/Tutorials/Part-3.md | 10 +++++----- docs/en/Tutorials/Part-5.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/Tutorials/Part-3.md b/docs/en/Tutorials/Part-3.md index ef1f903c51..3b31ec1c88 100644 --- a/docs/en/Tutorials/Part-3.md +++ b/docs/en/Tutorials/Part-3.md @@ -716,7 +716,7 @@ Open `/src/app/book/book.component.html` and make the following changes: @@ -856,13 +856,13 @@ Also replace ` ` with the following code p ````html ```` @@ -1142,7 +1142,7 @@ constructor( // Add a delete method delete(id: string) { - this.confirmation.warn('::AreYouSureToDelete', 'AbpAccount::AreYouSure').subscribe((status) => { + this.confirmation.warn('::AreYouSureToDelete', '::AreYouSure').subscribe((status) => { if (status === Confirmation.Status.confirm) { 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
``` diff --git a/docs/en/Tutorials/Part-5.md b/docs/en/Tutorials/Part-5.md index 5dd6a55e30..537f79ca79 100644 --- a/docs/en/Tutorials/Part-5.md +++ b/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 ```` From 179fc5fad85d3c97519f5ac25d5edb14481a95a2 Mon Sep 17 00:00:00 2001 From: Arman Ozak Date: Tue, 14 Jul 2020 11:39:11 +0300 Subject: [PATCH 2/2] docs: add translarions to part-2 --- docs/en/Tutorials/Part-2.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/en/Tutorials/Part-2.md b/docs/en/Tutorials/Part-2.md index 0029eb466d..690394264c 100644 --- a/docs/en/Tutorials/Part-2.md +++ b/docs/en/Tutorials/Part-2.md @@ -120,6 +120,8 @@ Open the `en.json` (*the English translations*) file and change the content as b "Menu:BookStore": "Book Store", "Menu:Books": "Books", "Actions": "Actions", + "Close": "Close", + "Delete": "Delete", "Edit": "Edit", "PublishDate": "Publish date", "NewBook": "New book", @@ -127,6 +129,7 @@ Open the `en.json` (*the English translations*) file and change the content as b "Type": "Type", "Price": "Price", "CreationTime": "Creation time", + "AreYouSure": "Are you sure?", "AreYouSureToDelete": "Are you sure you want to delete this item?", "Enum:BookType:0": "Undefined", "Enum:BookType:1": "Adventure",