Skip to content

Commit

Permalink
Add machine translation
Browse files Browse the repository at this point in the history
  • Loading branch information
zhfeng committed Oct 6, 2024
1 parent 7090ee8 commit 8af80ed
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 18 deletions.
8 changes: 4 additions & 4 deletions l10n/po/zh_CN/_data/1kcontributor-list.yaml.po
Original file line number Diff line number Diff line change
Expand Up @@ -11246,25 +11246,25 @@ msgstr "https://github.com/teruik"
#: upstream/_data/1kcontributor-list.yaml:0
#, no-wrap
msgid "https://avatars.githubusercontent.com/u/42640385?u=79bf0d6cca6dabe9f805aaff98e15541db325d80&v=4"
msgstr ""
msgstr "https://avatars.githubusercontent.com/u/42640385?u=79bf0d6cca6dabe9f805aaff98e15541db325d80&v=4"

#. type: Hash Value: links login
#: upstream/_data/1kcontributor-list.yaml:0
#, no-wrap
msgid "bogedal"
msgstr ""
msgstr "bogedal"

#. type: Hash Value: links name
#: upstream/_data/1kcontributor-list.yaml:0
#, no-wrap
msgid "Kenneth Bøgedal"
msgstr ""
msgstr "Kenneth Bøgedal"

#. type: Hash Value: links url
#: upstream/_data/1kcontributor-list.yaml:0
#, no-wrap
msgid "https://github.com/bogedal"
msgstr ""
msgstr "https://github.com/bogedal"

#. type: Hash Value: links avatar
#: upstream/_data/1kcontributor-list.yaml:0
Expand Down
8 changes: 4 additions & 4 deletions l10n/po/zh_CN/_data/wg.yaml.po
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ msgstr "false"

#. type: Hash Value: working-groups last-activity
#: upstream/_data/wg.yaml:0
#, no-wrap
#, fuzzy, no-wrap
msgid "2024-10-04"
msgstr ""
msgstr "2024-10-04"

#. type: Hash Value: working-groups last-update
#: upstream/_data/wg.yaml:0
Expand Down Expand Up @@ -90,9 +90,9 @@ msgstr "https://github.com/orgs/quarkusio/projects/32"

#. type: Hash Value: working-groups last-activity
#: upstream/_data/wg.yaml:0
#, no-wrap
#, fuzzy, no-wrap
msgid "2024-10-03"
msgstr ""
msgstr "2024-10-03"

#. type: Hash Value: working-groups readme
#: upstream/_data/wg.yaml:0
Expand Down
15 changes: 10 additions & 5 deletions l10n/po/zh_CN/_versions/main/guides/cdi-reference.adoc.po
Original file line number Diff line number Diff line change
Expand Up @@ -1610,30 +1610,35 @@ msgid "The argument is the bindings source class."
msgstr "参数是绑定源类。"

#: _versions/main/guides/cdi-reference.adoc
#, fuzzy
msgid "`Instance.Handle.close()` Behavior"
msgstr ""
msgstr "`Instance.Handle.close()` 行为"

#: _versions/main/guides/cdi-reference.adoc
#, fuzzy
msgid ""
"Per the CDI specification, the `Instance.Handle.close()` method always delegates to `destroy()`.\n"
"In ArC, this is only true in the <<strict_mode>>."
msgstr ""
msgstr "根据 CDI 规范, `Instance.Handle.close()` 方法总是委托给 `destroy()` 。在 ArC 中,只有在 <<strict_mode>> 中才是如此。"

#: _versions/main/guides/cdi-reference.adoc
#, fuzzy
msgid ""
"In the default mode, the `close()` method only delegates to `destroy()` when the bean is `@Dependent` (or when the instance handle does not represent a CDI contextual object).\n"
"When the instance handle represents a bean of any other scope, the `close()` method does nothing; the bean is left as is and will be destroyed whenever its context is destroyed."
msgstr ""
msgstr "在默认模式下,只有当 Bean 是 `@Dependent` (或实例句柄不代表 CDI 上下文对象)时, `close()` 方法才会委托给 `destroy()` 。当实例句柄代表任何其他作用域的 Bean 时, `close()` 方法什么也不做;Bean 保持原样,并在其上下文被销毁时被销毁。"

#: _versions/main/guides/cdi-reference.adoc
#, fuzzy
msgid "This is to make the following code behave as one would naively expect:"
msgstr ""
msgstr "这样做的目的是为了让下面的代码表现出人们天真的预期:"

#: _versions/main/guides/cdi-reference.adoc
#, fuzzy
msgid ""
"The `@Dependent` beans are destroyed immediately, while other beans are not destroyed at all.\n"
"This is important when multiple beans of different scopes might be returned by the `Instance`."
msgstr ""
msgstr "`@Dependent` 的 Bean 会立即销毁,而其他 Bean 则不会销毁。当 `Instance` 可能返回多个不同作用域的 Bean 时,这一点非常重要。"

#: _versions/main/guides/cdi-reference.adoc
#, fuzzy
Expand Down
3 changes: 2 additions & 1 deletion l10n/po/zh_CN/_versions/main/guides/dev-services.adoc.po
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ msgid ""
msgstr "当您的应用程序中存在 `quarkus-observability-devservices` 扩展,且类路径上至少有一个开发资源时,Observability Dev Services 就会启用。更多信息请参阅《 xref:observability-devservices.adoc[Observability Dev Services 指南] 》。"

#: _versions/main/guides/dev-services.adoc
#, fuzzy
msgid "<span class=\"icon\"><i class=\"fa fa-lock\" title=\"Fixed at build time\"></i></span> Configuration property fixed at build time - All other configuration properties are overridable at runtime <input type=\"search\" id=\"config-search-1\" placeholder=\"FILTER CONFIGURATION\" disabled>"
msgstr ""
msgstr "<span class=\"icon\"><i class=\"fa fa-lock\" title=\"在构建时固定\"></i></span>在构建时固定的配置属性 - 所有其他配置属性都可在运行时重写 <input type=\"search\" id=\"config-search-1\" placeholder=\"FILTER CONFIGURATION\" disabled>"

#: _versions/main/guides/dev-services.adoc
#, fuzzy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ msgid ""
msgstr "TLS 注册表整合了各种设置,并支持多种命名配置。因此,您可以为不同的应用部分量身定制 TLS 设置。当不同的组件需要不同的安全配置时,这种灵活性尤其有用。"

#: _versions/main/guides/tls-registry-reference.adoc
#, fuzzy
msgid ""
"The TLS Registry extension is automatically included in your project when you use compatible extensions, such as Quarkus REST, gRPC\n"
", or Reactive Routes\n"
".\n"
"As a result, applications that use the TLS Registry can be ready to handle secure communications out of the box.\n"
"TLS Registry also provides features like automatic certificate reloading, Let's Encrypt (ACME) integration, Kubernetes Cert-Manager support, and compatibility with various keystore formats, such as PKCS12, PEM, and JKS."
msgstr ""
msgstr "当你使用兼容的扩展(如 Quarkus REST、gRPC 或 Reactive Routes)时,TLS Registry 扩展会自动包含在你的项目中。因此,使用 TLS Registry 的应用程序开箱即可处理安全通信。TLS Registry 还提供了自动证书重载、Let's Encrypt (ACME) 集成、Kubernetes Cert-Manager 支持以及与 PKCS12、PEM 和 JKS 等各种密钥存储格式兼容等功能。"

#: _versions/main/guides/tls-registry-reference.adoc
#, fuzzy
Expand Down Expand Up @@ -1591,8 +1592,9 @@ msgid "Keep the application running and request your first Let's Encrypt certifi
msgstr "保持程序运行,申请第一份 Let's Encrypt 证书。"

#: _versions/main/guides/tls-registry-reference.adoc
#, fuzzy
msgid "Issue a certificate"
msgstr ""
msgstr "颁发证书"

#: _versions/main/guides/tls-registry-reference.adoc
#, fuzzy
Expand Down Expand Up @@ -1690,8 +1692,9 @@ msgid ""
msgstr "Let's Encrypt 证书链和私钥更新成功后,会被转换为 PEM 格式并复制到应用程序的 `.letsencrypt` 文件夹。当新证书和私钥准备就绪时,TLS 注册表会收到通知,并自动重新加载它们。"

#: _versions/main/guides/tls-registry-reference.adoc
#, fuzzy
msgid "Testing with ngrok"
msgstr ""
msgstr "使用 ngrok 进行测试"

#: _versions/main/guides/tls-registry-reference.adoc
#, fuzzy
Expand Down
3 changes: 2 additions & 1 deletion l10n/po/zh_CN/_versions/main/guides/web.adoc.po
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,9 @@ msgid "src/main/java/rest/Todos.java"
msgstr "src/main/java/rest/Todos.java"

#: _versions/main/guides/web.adoc
#, fuzzy
msgid "Check out https://www.youtube.com/watch?v=JNmHNSmK180[Quarkus Insights Episode #178]. First part is a hands-on demonstration of creating a CMS with Renarde. You can also give it a try using https://github.com/quarkusio/quarkus-web-lab[the web-lab repo])."
msgstr ""
msgstr "查看 link:https://www.youtube.com/watch?v=JNmHNSmK180[Quarkus Insights 第 178 集] 。第一部分是使用 Renarde 创建内容管理系统的实践演示。您也可以使用 link:https://github.com/quarkusio/quarkus-web-lab[web-lab repo] 进行尝试)。"

#: _versions/main/guides/web.adoc
msgid "Single Page Applications"
Expand Down

0 comments on commit 8af80ed

Please sign in to comment.