From 8af80ed366855746ae139db195236e7aebb3953d Mon Sep 17 00:00:00 2001 From: zhfeng Date: Sun, 6 Oct 2024 08:20:24 +0000 Subject: [PATCH] Add machine translation --- l10n/po/zh_CN/_data/1kcontributor-list.yaml.po | 8 ++++---- l10n/po/zh_CN/_data/wg.yaml.po | 8 ++++---- .../_versions/main/guides/cdi-reference.adoc.po | 15 ++++++++++----- .../_versions/main/guides/dev-services.adoc.po | 3 ++- .../main/guides/tls-registry-reference.adoc.po | 9 ++++++--- l10n/po/zh_CN/_versions/main/guides/web.adoc.po | 3 ++- 6 files changed, 28 insertions(+), 18 deletions(-) diff --git a/l10n/po/zh_CN/_data/1kcontributor-list.yaml.po b/l10n/po/zh_CN/_data/1kcontributor-list.yaml.po index 5f67465141..d0b4bcc18b 100644 --- a/l10n/po/zh_CN/_data/1kcontributor-list.yaml.po +++ b/l10n/po/zh_CN/_data/1kcontributor-list.yaml.po @@ -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 diff --git a/l10n/po/zh_CN/_data/wg.yaml.po b/l10n/po/zh_CN/_data/wg.yaml.po index 6c98f7f0ed..45c7bd98a0 100644 --- a/l10n/po/zh_CN/_data/wg.yaml.po +++ b/l10n/po/zh_CN/_data/wg.yaml.po @@ -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 @@ -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 diff --git a/l10n/po/zh_CN/_versions/main/guides/cdi-reference.adoc.po b/l10n/po/zh_CN/_versions/main/guides/cdi-reference.adoc.po index 68590c24bf..91e0327123 100644 --- a/l10n/po/zh_CN/_versions/main/guides/cdi-reference.adoc.po +++ b/l10n/po/zh_CN/_versions/main/guides/cdi-reference.adoc.po @@ -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 <>." -msgstr "" +msgstr "根据 CDI 规范, `Instance.Handle.close()` 方法总是委托给 `destroy()` 。在 ArC 中,只有在 <> 中才是如此。" #: _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 diff --git a/l10n/po/zh_CN/_versions/main/guides/dev-services.adoc.po b/l10n/po/zh_CN/_versions/main/guides/dev-services.adoc.po index 9b57fbc2b5..227989aecb 100644 --- a/l10n/po/zh_CN/_versions/main/guides/dev-services.adoc.po +++ b/l10n/po/zh_CN/_versions/main/guides/dev-services.adoc.po @@ -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 " Configuration property fixed at build time - All other configuration properties are overridable at runtime " -msgstr "" +msgstr "在构建时固定的配置属性 - 所有其他配置属性都可在运行时重写 " #: _versions/main/guides/dev-services.adoc #, fuzzy diff --git a/l10n/po/zh_CN/_versions/main/guides/tls-registry-reference.adoc.po b/l10n/po/zh_CN/_versions/main/guides/tls-registry-reference.adoc.po index b2026ee9c9..08cac37983 100644 --- a/l10n/po/zh_CN/_versions/main/guides/tls-registry-reference.adoc.po +++ b/l10n/po/zh_CN/_versions/main/guides/tls-registry-reference.adoc.po @@ -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 @@ -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 @@ -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 diff --git a/l10n/po/zh_CN/_versions/main/guides/web.adoc.po b/l10n/po/zh_CN/_versions/main/guides/web.adoc.po index 435d3b1f5d..2f392b71af 100644 --- a/l10n/po/zh_CN/_versions/main/guides/web.adoc.po +++ b/l10n/po/zh_CN/_versions/main/guides/web.adoc.po @@ -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"