Browse Source

Update Chinese document

pull/4914/head
liangshiwei 6 years ago
parent
commit
2a38bb09e0
  1. 2
      docs/en/API/Application-Configuration.md
  2. 12
      docs/zh-Hans/API/Application-Configuration.md
  3. 2
      docs/zh-Hans/Authorization.md
  4. 2
      docs/zh-Hans/Best-Practices/Application-Services.md
  5. 2
      docs/zh-Hans/Blob-Storing-Database.md
  6. 2
      docs/zh-Hans/Entity-Framework-Core-Migrations.md
  7. 2
      docs/zh-Hans/Modules/Docs.md
  8. 2
      docs/zh-Hans/Startup-Templates/Module.md
  9. 921
      docs/zh-Hans/Tutorials/Part-1.md
  10. BIN
      docs/zh-Hans/Tutorials/images/bookstore-add-migration-authors.png
  11. BIN
      docs/zh-Hans/Tutorials/images/bookstore-added-author-to-book-list-angular.png
  12. BIN
      docs/zh-Hans/Tutorials/images/bookstore-added-author-to-book-list.png
  13. BIN
      docs/zh-Hans/Tutorials/images/bookstore-added-authors-to-modals.png
  14. BIN
      docs/zh-Hans/Tutorials/images/bookstore-angular-authors-page.png
  15. BIN
      docs/zh-Hans/Tutorials/images/bookstore-angular-service-proxy-author.png
  16. BIN
      docs/zh-Hans/Tutorials/images/bookstore-author-domain-layer.png
  17. BIN
      docs/zh-Hans/Tutorials/images/bookstore-author-permissions.png
  18. BIN
      docs/zh-Hans/Tutorials/images/bookstore-authors-page.png
  19. BIN
      docs/zh-Hans/Tutorials/images/bookstore-book-and-booktype.png
  20. BIN
      docs/zh-Hans/Tutorials/images/bookstore-book-list-3.png
  21. BIN
      docs/zh-Hans/Tutorials/images/bookstore-book-list.png
  22. BIN
      docs/zh-Hans/Tutorials/images/bookstore-dbmigrator-on-solution.png
  23. BIN
      docs/zh-Hans/Tutorials/images/bookstore-edit-button-2.png
  24. BIN
      docs/zh-Hans/Tutorials/images/bookstore-edit-delete-actions.png
  25. BIN
      docs/zh-Hans/Tutorials/images/bookstore-getlist-result-network.png
  26. BIN
      docs/zh-Hans/Tutorials/images/bookstore-index-js-file-v3.png
  27. BIN
      docs/zh-Hans/Tutorials/images/bookstore-javascript-proxy-console.png
  28. BIN
      docs/zh-Hans/Tutorials/images/bookstore-new-author-modal.png
  29. BIN
      docs/zh-Hans/Tutorials/images/bookstore-new-book-button-2.png
  30. BIN
      docs/zh-Hans/Tutorials/images/bookstore-new-book-button-small.png
  31. BIN
      docs/zh-Hans/Tutorials/images/bookstore-permissions-ui.png
  32. BIN
      docs/zh-Hans/Tutorials/images/generated-proxies-2.png

2
docs/en/API/Application-Configuration.md

@ -7,7 +7,7 @@ ABP Framework provides a pre-built and standard endpoint that contains some usef
* [Setting](../Settings.md) values for the current user.
* Info about the [current user](../CurrentUser.md) (like id and user name).
* Info about the current [tenant](../Multi-Tenancy.md) (like id and name).
* [Time zone](../Timing.md) information for the current user and the [clock](Timing.md) type of the application.
* [Time zone](../Timing.md) information for the current user and the [clock](../Timing.md) type of the application.
## HTTP API

12
docs/zh-Hans/API/Application-Configuration.md

@ -2,12 +2,12 @@
ABP框架提供了一个预构建的标准端点,其中包含一些有关应用程序/服务的有用信息. 这里是此端点的一些基本信息的列表:
* [本地化](Localization.md)值, 支持应用程序的当前语言.
* 当前用户可用和已授予的[策略](Authorization.md)(权限).
* 当前用户的[设置](Settings.md)值.
* 关于[当前用户](CurrentUser.md)的信息 (如 id 和用户名).
* 关于当前[租户](Multi-Tenancy.md)的信息 (如 id 和名称).
* 当前用户的[时区](Timing.md)信息和应用程序的[时钟](Timing.md)类型.
* [本地化](../Localization.md)值, 支持应用程序的当前语言.
* 当前用户可用和已授予的[策略](../Authorization.md)(权限).
* 当前用户的[设置](../Settings.md)值.
* 关于[当前用户](../CurrentUser.md)的信息 (如 id 和用户名).
* 关于当前[租户](../Multi-Tenancy.md)的信息 (如 id 和名称).
* 当前用户的[时区](../Timing.md)信息和应用程序的[时钟](../Timing.md)类型.
## HTTP API

2
docs/zh-Hans/Authorization.md

@ -285,8 +285,6 @@ public async Task CreateAsync(CreateAuthorDto input)
abp.auth.isGranted('MyPermissionName');
````
参阅 [abp.auth](UI/AspNetCore/JavaScript-API/Index.md) API 文档了解详情.
## 权限管理
通常权限管理是管理员用户使用权限管理模态框进行授权:

2
docs/zh-Hans/Best-Practices/Application-Services.md

@ -203,7 +203,7 @@ Task<int> VoteAsync(Guid id, VoteType type);
#### 额外的属性
* **推荐** 使用 `MapExtraPropertiesTo` 扩展方法 ([参阅](Object-Extensions.md)) 或配置对象映射 (`MapExtraProperties`) 以允许应用开发人员能够扩展对象和服务.
* **推荐** 使用 `MapExtraPropertiesTo` 扩展方法 ([参阅](../Object-Extensions.md)) 或配置对象映射 (`MapExtraProperties`) 以允许应用开发人员能够扩展对象和服务.
#### 操作/删除 实体

2
docs/zh-Hans/Blob-Storing-Database.md

@ -27,7 +27,7 @@ abp add-module Volo.Abp.BlobStoring.Database
这里是此提供程序定义的所有包:
* [Volo.Abp.BlobStoring.Database.Domain.Shared](https://www.nuget.org/packages/Volo.Abp.BlobStoring.Domain.Shared)
* [Volo.Abp.BlobStoring.Database.Domain.Shared](https://www.nuget.org/packages/Volo.Abp.BlobStoring.Database.Domain.Shared)
* [Volo.Abp.BlobStoring.Database.Domain](https://www.nuget.org/packages/Volo.Abp.BlobStoring.Database.Domain)
* [Volo.Abp.BlobStoring.Database.EntityFrameworkCore](https://www.nuget.org/packages/Volo.Abp.BlobStoring.Database.EntityFrameworkCore)
* [Volo.Abp.BlobStoring.Database.MongoDB](https://www.nuget.org/packages/Volo.Abp.BlobStoring.Database.MongoDB)

2
docs/zh-Hans/Entity-Framework-Core-Migrations.md

@ -3,7 +3,7 @@
本文首先介绍[应用程序启动模板](Startup-Templates/Application.md)提供的**默认结构**,并讨论你可能希望为自己的应用程序实现的**各种场景**.
> 本文档适用于希望完全理解和自定义[应用程序启动模板](Startup-Templates/Application.md)附带的数据库结构的人员. 如果你只是想创建实体和管理代码优先(code first)迁移,只需要遵循[启动教程](Tutorials/Index.md).
> 本文档适用于希望完全理解和自定义[应用程序启动模板](Startup-Templates/Application.md)附带的数据库结构的人员. 如果你只是想创建实体和管理代码优先(code first)迁移,只需要遵循[启动教程](Tutorials/Part-1.md).
### 源码

2
docs/zh-Hans/Modules/Docs.md

@ -611,7 +611,7 @@ Configure<DocsElasticSearchOptions>(options =>
应用程序启动后如果`Index`不存在则会自动创建`Index`.
`DefaultElasticClientProvider`负责创建`IElasticClient`, 默认情况下它会从`IConfiguration`中读取Elastic Search的`Url`.
如果你的IElasticClient需要其它配置请使用重写IElasticClientProvider服务并在依赖注入系统中替换它.
如果你的 `IElasticClient` 需要其它配置请使用重写 `IElasticClientProvider` 服务并在[依赖注入](../Dependency-Injection.md)系统中替换它.
```
{
"ElasticSearch": {

2
docs/zh-Hans/Startup-Templates/Module.md

@ -56,7 +56,7 @@ abp new Acme.IssueManagement -t module --no-ui
### .Domain 项目
解决方案的领域层. 它主要包含 [实体, 集合根](../Entities.md), [领域服务](../Domain-Services.md), [值类型](../Value-Types.md), [仓储接口](../Repositories.md) 和解决方案的其他领域对象.
解决方案的领域层. 它主要包含 [实体, 集合根](../Entities.md), [领域服务](../Domain-Services.md), 值类型, [仓储接口](../Repositories.md) 和解决方案的其他领域对象.
例如 `Issue` 实体, `IssueManager` 领域服务和 `IIssueRepository` 接口都适合放在这个项目中.

921
docs/zh-Hans/Tutorials/Part-1.md

File diff suppressed because it is too large

BIN
docs/zh-Hans/Tutorials/images/bookstore-add-migration-authors.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-added-author-to-book-list-angular.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-added-author-to-book-list.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-added-authors-to-modals.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-angular-authors-page.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-angular-service-proxy-author.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-author-domain-layer.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-author-permissions.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-authors-page.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-book-and-booktype.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-book-list-3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-book-list.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 35 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-dbmigrator-on-solution.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-edit-button-2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-edit-delete-actions.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-getlist-result-network.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-index-js-file-v3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-javascript-proxy-console.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-new-author-modal.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-new-book-button-2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-new-book-button-small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
docs/zh-Hans/Tutorials/images/bookstore-permissions-ui.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
docs/zh-Hans/Tutorials/images/generated-proxies-2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Loading…
Cancel
Save