Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Crowdin translations #287

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions src/translated_content/zh_CN/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
<p class="card-text">如何通过几分钟的时间,在你的操作环境中实现 Dapr 的启动与运行</p>


<a href="{{< ref getting-started >}}">}}"></a>
<a href="{{< ref getting-started ></a>
</div>
</div>
<div class="card">
Expand All @@ -30,7 +30,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
<p class="card-text">包含代码示例的教程集合,可帮助您快速开始使用 Dapr。</p>


<a href="{{< ref quickstarts >}}"></a>
<a href="{{< ref quickstarts ></a>
</div>
</div>
<div class="card">
Expand All @@ -39,7 +39,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
<p class="card-text">开始了解 Dapr,包括其主要的特性及所提供的功能</p>


<a href="{{< ref concepts >}}"></a>
<a href="{{< ref concepts ></a>
</div>
</div>
</div>
Expand All @@ -53,7 +53,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
<p class="card-text">有关如何构建 Dapr 应用的工具,提示和信息</p>


<a href="{{< ref developing-applications >}}"></a>
<a href="{{< ref developing-applications ></a>
</div>
</div>
<div class="card">
Expand All @@ -62,7 +62,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
<p class="card-text">解决分布式应用程序常见开发挑战的功能。</p>


<a href="{{< ref building-blocks-concept >}}"></a>
<a href="{{< ref building-blocks-concept ></a>
</div>
</div>
<div class="card">
Expand All @@ -71,7 +71,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
<p class="card-text">关于在 Dapr 上运行您的应用程序的托管选项,最佳实践和其他指南</p>


<a href="{{< ref operations >}}"></a>
<a href="{{< ref operations ></a>
</div>
</div>
</div>
Expand All @@ -85,7 +85,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
<p class="card-text">关于 Dapr API,CLI,资源绑定及更多内容的详细文档</p>


<a href="{{< ref reference >}}"></a>
<a href="{{< ref reference ></a>
</div>
</div>
<div class="card">
Expand All @@ -94,7 +94,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
<p class="card-text">如何为 Dapr 及其相关项目做出贡献</p>


<a href="{{< ref contributing >}}"></a>
<a href="{{< ref contributing ></a>
</div>
</div>
</div>
Expand All @@ -114,7 +114,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
</p>


<a href="{{< ref ides >}}"></a>
<a href="{{< ref ides ></a>
</div>
</div>
</div>
Expand All @@ -132,7 +132,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
</p>


<a href="{{< ref sdks >}}"></a>
<a href="{{< ref sdks ></a>
</div>
</div>
</div>
Expand All @@ -150,7 +150,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
</p>


<a href="{{< ref dotnet >}}"></a>
<a href="{{< ref dotnet ></a>
</div>
</div>
<div class="card">
Expand All @@ -165,7 +165,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
</p>


<a href="{{< ref python >}}"></a>
<a href="{{< ref python ></a>
</div>
</div>
<div class="card">
Expand All @@ -180,7 +180,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
</p>


<a href="{{< ref js >}}"></a>
<a href="{{< ref js ></a>
</div>
</div>
</div>
Expand All @@ -198,7 +198,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
</p>


<a href="{{< ref java >}}"></a>
<a href="{{< ref java ></a>
</div>
</div>
<div class="card">
Expand All @@ -213,7 +213,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
</p>


<a href="{{< ref go >}}"></a>
<a href="{{< ref go ></a>
</div>
</div>
<div class="card">
Expand All @@ -228,7 +228,7 @@ Dapr 是一个可移植的、事件驱动的运行时,它使任何开发人员
</p>


<a href="{{< ref php >}}"></a>
<a href="{{< ref php ></a>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Dapr 提供以下构建块:

<img src="/images/building_blocks.png" width=1200>

| 构建块 | Endpoint | 说明 |
| ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| 构建块 | Endpoint | 说明 |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [**服务之间的调用**]({{< ref "service-invocation-overview.md" >}}) | `/v1.0/invoke` | 服务调用使应用程序能够以 http 或 gRPC 消息的形式通过已知的端点相互通信。 Dapr 提供了一个终结点,该终结点充当反向代理与内置服务发现的组合,同时利用内置的分布式跟踪和错误处理。 |
| [**状态管理**]({{< ref "state-management-overview.md" >}}) | `/v1.0/state` | 应用程序状态是应用程序想要在单个会话之外保留的任何内容。 Dapr 提供基于键/值的状态和查询API ,使用可插拔的状态存储进行持久化。 |
| [**发布和订阅**]({{< ref "pubsub-overview.md" >}}) | `/v1.0/publish` `/v1.0/subscribe` | 发布/订阅是松耦合的消息传递模式,发送方 (或发布者) 将消息推送到订阅者订阅的主题。 Dapr 支持应用程序之间的发布/订阅模式。 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ GET http://localhost:<healthzPort>/placement/state

<a id="actorhostinfo"></a>**Actor 主机信息**

| 名称 | 类型 | 说明 |
| ---------- | --------- | ------------------- |
| name | string | 执行组件的 host:port 地址。 |
| appId | string | app id. |
| actorTypes | json字符串数组 | 托管的 actor 类型列表。 |
| updatedAt | timestamp | Actor 注册/更新的时间戳。 |
| 名称 | 类型 | 说明 |
| ---------- | --------- | ----------------------- |
| name | string | 执行组件的 host:port 地址。 |
| appId | string | app id. |
| actorTypes | json字符串数组 | 托管的 actor 类型列表。 |
| updatedAt | timestamp | Actor 注册/更新的时间戳。 |

### 示例

Expand Down
22 changes: 11 additions & 11 deletions src/translated_content/zh_CN/docs/concepts/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ Dapr 提供分布式系统构建块,以便以标准方式构建微服务应用

这些构建块API的每个都是独立的,这意味着您可以在您的应用程序中使用任意数量的它们。

| 构建块 | 说明 |
| ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 构建块 | 说明 |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [**服务之间的调用**]({{< ref "service-invocation-overview.md" >}}) | 服务间调用允许进行远程方法调用(包括重试),无论远程服务处于任何位置,只需该服务托管于受支持的环境即可。 |
| [**状态管理**]({{< ref "state-management-overview.md" >}}) | 通过采用存储和查询键/值对机制的状态管理,可以轻松的使长时运行、高可用的有状态服务和无状态服务共同运行在您的应用程序中。 状态存储是可插拔的,示例包括AWS DynamoDB、Azure CosmosDB、Azure SQL Server、GCP Firebase、PostgreSQL或Redis,等等。 |
| [**发布和订阅**]({{< ref "pubsub-overview.md" >}}) | 在服务之间发布事件和订阅主题,使事件驱动的架构能够简化水平可伸缩性,并使其能够灵活应对故障。 Dapr 提供至少一次的消息传递保证,消息TTL,消费者组等高级功能。 |
Expand All @@ -61,8 +61,8 @@ Dapr 提供分布式系统构建块,以便以标准方式构建微服务应用

除了构建基块之外,Dapr 还提供适用于你使用的所有构建基块的跨领域 API。

| 构建块 | 说明 |
| ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| 构建块 | 说明 |
| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| [**弹性**]({{< ref "resiliency-concept.md" >}}) | Dapr 提供了通过弹性规范定义和应用容错弹性策略的能力。 支持的规范定义弹性模式的策略,例如超时、重试/退避和断路器。 |
| [**可观测性**]({{< ref "observability-concept.md" >}}) | Dapr会发出各种指标、日志、链路以调试和监控 Dapr 和用户应用的运行状况。 Dapr 支持分布式跟踪,通过使用 W3C 跟踪上下文标准和 Open Telemetry 发送到不同的监控工具,以方便诊断和服务于生产中的服务间调用。 |
| [**安全**]({{< ref "security-concept.md" >}}) | Dapr 支持使用 Dapr 控制平面哨兵服务对 Dapr 实例之间的通信进行传输中加密。 您可以引入自己的证书,也可以让 Dapr 自动创建和保留自签名根证书和颁发者证书。 |
Expand Down Expand Up @@ -141,13 +141,13 @@ Dapr 可以与任何开发框架集成。 下面是一些已经和Dapr集成的

#### Web

| 语言 | 框架 | 说明 |
| --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [.NET]({{< ref dotnet >}}) | [ASP.NET Core](https://github.com/dapr/dotnet-sdk/tree/master/examples/AspNetCore) | 提供有状态路由控制器,相应来自其他服务的发布/订阅事件。 也可以利用[ASP.NET Core gRPC服务](https://docs.microsoft.com/aspnet/core/grpc/)。 |
| [Java]({{< ref java >}}) | [Spring Boot](https://spring.io/) | 使用 Dapr API 构建 Spring boot应用程序。 |
| [Python]({{< ref python >}}) | [Flask]({{< ref python-flask.md >}}) | 使用 Dapr API 构建 Flask 应用程序。 |
| [Javascript](https://github.com/dapr/js-sdk) | [Express](http://expressjs.com/) | 使用 Dapr API 构建 Express 应用程序。 |
| [PHP]({{< ref php >}}) | | 可以使用 Apache, Nginx, 或 Caddyserver 提供服务。 |
| 语言 | 框架 | 说明 |
| ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| [.NET]({{< ref dotnet >}}) | [ASP.NET Core](https://github.com/dapr/dotnet-sdk/tree/master/examples/AspNetCore) | 提供有状态路由控制器,相应来自其他服务的发布/订阅事件。 也可以利用[ASP.NET Core gRPC服务](https://docs.microsoft.com/aspnet/core/grpc/)。 |
| [Java]({{< ref java >}}) | [Spring Boot](https://spring.io/) | 使用 Dapr API 构建 Spring boot应用程序。 |
| [Python]({{< ref python >}}) | [Flask]({{< ref python-flask.md >}}) | 使用 Dapr API 构建 Flask 应用程序。 |
| [Javascript](https://github.com/dapr/js-sdk) | [Express](http://expressjs.com/) | 使用 Dapr API 构建 Express 应用程序。 |
| [PHP]({{< ref php >}}) | | 可以使用 Apache, Nginx, 或 Caddyserver 提供服务。 |

#### 集成和扩展

Expand Down
Loading