Skip to content

Commit

Permalink
New Crowdin translations
Browse files Browse the repository at this point in the history
  • Loading branch information
newbe36524 committed Mar 18, 2024
1 parent fc8024c commit ff58b56
Show file tree
Hide file tree
Showing 112 changed files with 232 additions and 232 deletions.
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 @@ -21,13 +21,13 @@ Dapr 提供以下构建块:

| 构建块 | 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 支持应用程序之间的发布/订阅模式。 |
| [**绑定**]({{< ref "bindings-overview.md" >}}) | `/v1.0/bindings` | 绑定提供与外部云/本地服务或系统的双向连接。 Dapr 允许您通过 Dapr binding API 调用外部服务,也可以通过已连接的服务发送的事件来触发应用程序。 |
| [**Actors**]({{< ref "actors-overview.md" >}}) | `/v1.0/actors` | Actor 是孤立的独立计算单元,具有单线程执行。 Dapr 提供了基于 Virtual Actor 模式的 actor 实现,该模式提供了单线程编程模型,并且 actor 在不使用时会进行垃圾回收。 |
| [**secrets**]({{< ref "secrets-overview.md" >}}) | `/v1.0/secrets` | Dapr提供密钥构建块API ,并与公共云存储、本地存储和 Kubernetes 等密钥存储集成,以存储密钥。 服务可以调用 secrets API 来获取密钥,例如,获取数据库的连接字符串。 |
| [**配置**]({{< ref "configuration-api-overview.md" >}}) | `/v1.0/configuration` | 配置 API 使你能够检索和订阅受支持的配置存储的应用程序配置项目。 这使应用程序能够检索特定的配置信息,例如在启动时或在存储进行配置更改时。 |
| [**分布式锁**]({{< ref "distributed-lock-api-overview.md" >}}) | `/v1.0-alpha1/lock` | 分布式锁 API 使您能够对资源进行锁定,以便应用程序的多个实例可以访问该资源而不会发生冲突并提供一致性保证。 |
| [**工作流程**]({{< ref "workflow-overview.md" >}}) | `/v1.0-beta1/workflow` | 工作流 API 使你能够使用 Dapr 工作流或工作流组件定义跨多个微服务的长时间运行的持久进程或数据流。 工作流 API 可以与其他 Dapr API 构建基块结合使用。 例如,工作流可以通过服务调用或检索机密来调用另一个服务,从而提供灵活性和可移植性。 |
| [**密码学**]({{< ref "cryptography-overview.md" >}}) | `/v1.0-alpha1/crypto` | 加密 API 使你能够执行加密操作,例如加密和解密消息,而无需向应用程序暴露密钥。 |
| [**服务之间的调用**]({{< 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 支持应用程序之间的发布/订阅模式。 |
| [**绑定**]({{< ref "bindings-overview\.md" >}}) | `/v1.0/bindings` | 绑定提供与外部云/本地服务或系统的双向连接。 Dapr 允许您通过 Dapr binding API 调用外部服务,也可以通过已连接的服务发送的事件来触发应用程序。 |
| [**Actors**]({{< ref "actors-overview\.md" >}}) | `/v1.0/actors` | Actor 是孤立的独立计算单元,具有单线程执行。 Dapr 提供了基于 Virtual Actor 模式的 actor 实现,该模式提供了单线程编程模型,并且 actor 在不使用时会进行垃圾回收。 |
| [**secrets**]({{< ref "secrets-overview\.md" >}}) | `/v1.0/secrets` | Dapr提供密钥构建块API ,并与公共云存储、本地存储和 Kubernetes 等密钥存储集成,以存储密钥。 服务可以调用 secrets API 来获取密钥,例如,获取数据库的连接字符串。 |
| [**配置**]({{< ref "configuration-api-overview\.md" >}}) | `/v1.0/configuration` | 配置 API 使你能够检索和订阅受支持的配置存储的应用程序配置项目。 这使应用程序能够检索特定的配置信息,例如在启动时或在存储进行配置更改时。 |
| [**分布式锁**]({{< ref "distributed-lock-api-overview\.md" >}}) | `/v1.0-alpha1/lock` | 分布式锁 API 使您能够对资源进行锁定,以便应用程序的多个实例可以访问该资源而不会发生冲突并提供一致性保证。 |
| [**工作流程**]({{< ref "workflow-overview\.md" >}}) | `/v1.0-beta1/workflow` | 工作流 API 使你能够使用 Dapr 工作流或工作流组件定义跨多个微服务的长时间运行的持久进程或数据流。 工作流 API 可以与其他 Dapr API 构建基块结合使用。 例如,工作流可以通过服务调用或检索机密来调用另一个服务,从而提供灵活性和可移植性。 |
| [**密码学**]({{< ref "cryptography-overview\.md" >}}) | `/v1.0-alpha1/crypto` | 加密 API 使你能够执行加密操作,例如加密和解密消息,而无需向应用程序暴露密钥。 |
18 changes: 9 additions & 9 deletions src/translated_content/zh_CN/docs/concepts/components-concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Dapr采用模块化设计,功能以组件形式交付。 每个组件都有接
- [components-contrib代码库](https://github.com/dapr/components-contrib)
- [可插拔组件]({{< ref "components-concept.md#built-in-and-pluggable-components" >}})。

构建块可以使用组件的任意组合。 例如,[Actors]({{< ref "actors-overview.md" >}})和[状态管理]({{< ref "state-management-overview.md" >}})构建块都使用[state components](https://github.com/dapr/components-contrib/tree/master/state)
构建块可以使用组件的任意组合。 例如,[Actors]({{< ref "actors-overview\.md" >}})和[状态管理]({{< ref "state-management-overview\.md" >}})构建块都使用[state components](https://github.com/dapr/components-contrib/tree/master/state)

作为另一个例子,[发布/订阅]({{< ref "pubsub-overview.md" >}}) 构建块使用[发布/订阅组件](https://github.com/dapr/components-contrib/tree/master/pubsub)
作为另一个例子,[发布/订阅]({{< ref "pubsub-overview\.md" >}}) 构建块使用[发布/订阅组件](https://github.com/dapr/components-contrib/tree/master/pubsub)

您可以使用 `dapr components` CLI 命令查看当前托管环境中可用组件的列表。

Expand Down Expand Up @@ -66,14 +66,14 @@ Dapr 还允许用户创建自己的私有组件,称为可插拔组件。 这

### 状态存储

状态存储组件是存储键值对的数据存储(数据库、文件、内存),其作为[状态管理]({{< ref "state-management-overview.md" >}})的构建块之一。
状态存储组件是存储键值对的数据存储(数据库、文件、内存),其作为[状态管理]({{< ref "state-management-overview\.md" >}})的构建块之一。

- [状态存储列表]({{< ref supported-state-stores >}})
- [状态存储实现](https://github.com/dapr/components-contrib/tree/master/state)

### 命名解析

命名解析组件与[服务调用]({{< ref "service-invocation-overview.md" >}})构建块配合使用,与托管环境集成以提供服务到服务的发现。 例如,Kubernetes 命名解析组件与 Kubernetes DNS 服务集成,自托管使用 mDNS,VM 集群可以使用 Consul 命名解析组件。
命名解析组件与[服务调用]({{< ref "service-invocation-overview\.md" >}})构建块配合使用,与托管环境集成以提供服务到服务的发现。 例如,Kubernetes 命名解析组件与 Kubernetes DNS 服务集成,自托管使用 mDNS,VM 集群可以使用 Consul 命名解析组件。

- [名称解析组件列表]({{< ref supported-name-resolution >}})
- [名称解析实现](https://github.com/dapr/components-contrib/tree/master/nameresolution)
Expand All @@ -87,14 +87,14 @@ Dapr 还允许用户创建自己的私有组件,称为可插拔组件。 这

### 绑定

外部资源可以连接到Dapr,以便触发应用程序上的方法或作为[绑定]({{< ref bindings-overview.md >}})构建块的一部分从应用程序调用。
外部资源可以连接到Dapr,以便触发应用程序上的方法或作为[绑定]({{< ref bindings-overview\.md >}})构建块的一部分从应用程序调用。

- [支持的绑定列表]({{< ref supported-bindings >}})
- [绑定实现](https://github.com/dapr/components-contrib/tree/master/bindings)

### Secret stores(密钥存储)

一个[秘密]({{< ref "secrets-overview.md" >}})是任何你想保护的私人信息,以防止不需要的访问。 秘密存储用来存储可在应用中检索和使用的密钥。
一个[秘密]({{< ref "secrets-overview\.md" >}})是任何你想保护的私人信息,以防止不需要的访问。 秘密存储用来存储可在应用中检索和使用的密钥。

- [支持的密钥存储列表]({{< ref supported-secret-stores >}})
- [密钥存储实现](https://github.com/dapr/components-contrib/tree/master/secretstores)
Expand All @@ -115,21 +115,21 @@ Dapr 还允许用户创建自己的私有组件,称为可插拔组件。 这

### Workflows

一个[工作流程]({{< ref workflow-overview.md >}})是定义可靠业务流程或数据流的自定义应用程序逻辑。 工作流组件是工作流运行时(或引擎),运行为该工作流编写的业务逻辑并将其状态存储到状态存储中。
一个[工作流程]({{< ref workflow-overview\.md >}})是定义可靠业务流程或数据流的自定义应用程序逻辑。 工作流组件是工作流运行时(或引擎),运行为该工作流编写的业务逻辑并将其状态存储到状态存储中。

<!--- [List of supported workflows]()
- [Workflow implementations](https://github.com/dapr/components-contrib/tree/master/workflows)-->

### Cryptography

[加密]({{< ref cryptography-overview.md >}})组件用于执行加密操作,包括加密和解密消息,而不会将密钥暴露给您的应用程序。
[加密]({{< ref cryptography-overview\.md >}})组件用于执行加密操作,包括加密和解密消息,而不会将密钥暴露给您的应用程序。

- [支持的加密组件列表]({{< ref supported-cryptography >}})
- [加密实现](https://github.com/dapr/components-contrib/tree/master/crypto)

### 中间件

Dapr允许将自定义[中间件]({{< ref "middleware.md" >}})插入到HTTP请求处理管道中。 中间件可以在将请求路由到用户代码或将响应返回到客户端之前对 HTTP 请求执行其他操作(例如身份验证、加密和消息转换)。 中间件组件与[服务调用]({{< ref "service-invocation-overview.md" >}})构建块一起使用。
Dapr允许将自定义[中间件]({{< ref "middleware.md" >}})插入到HTTP请求处理管道中。 中间件可以在将请求路由到用户代码或将响应返回到客户端之前对 HTTP 请求执行其他操作(例如身份验证、加密和消息转换)。 中间件组件与[服务调用]({{< ref "service-invocation-overview\.md" >}})构建块一起使用。

- [支持的中间件组件列表]({{< ref supported-middleware >}})
- [中间件实现](https://github.com/dapr/components-contrib/tree/master/middleware)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
allowedClockSkew: "15m"
```

访问[配置选项概述]({{\<ref "configuration-overview.md">}})获取配置选项的列表。
访问[配置选项概述]({{\<ref "configuration-overview\.md">}})获取配置选项的列表。

{{% alert title="注意" color="primary" %}}
Dapr 应用程序和控制平面配置不应与配置构建块 API 混淆,后者使应用程序能够从配置存储组件中检索键/值数据。 阅读[配置构建块]({{< ref configuration-api-overview >}}) 以获取更多信息。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ linkTitle: Sidecar injector
description: Dapr Sidecar Injector 进程概述
---

[Kubernetes 模式]({{< ref kubernetes >}}) 下运行 Dapr 时,会创建一个运行 Dapr Sidecar Injector 服务的 pod,该服务查找使用 [Dapr 注解]({{< ref arguments-annotations-overview.md >}}) 初始化的 Pod,然后在该 pod 中为 [daprd 服务]({{< ref sidecar >}}) 创建另一个容器
[Kubernetes 模式]({{< ref kubernetes >}}) 下运行 Dapr 时,会创建一个运行 Dapr Sidecar Injector 服务的 pod,该服务查找使用 [Dapr 注解]({{< ref arguments-annotations-overview\.md >}}) 初始化的 Pod,然后在该 pod 中为 [daprd 服务]({{< ref sidecar >}}) 创建另一个容器

## 运行 sidecar injector

Expand Down
Loading

0 comments on commit ff58b56

Please sign in to comment.