diff --git a/docs/locales/en/LC_MESSAGES/reference/concepts/domaindatasource_cn.po b/docs/locales/en/LC_MESSAGES/reference/concepts/domaindatasource_cn.po index c319ebce0..78b68831e 100644 --- a/docs/locales/en/LC_MESSAGES/reference/concepts/domaindatasource_cn.po +++ b/docs/locales/en/LC_MESSAGES/reference/concepts/domaindatasource_cn.po @@ -19,90 +19,116 @@ msgstr "" #: ../../reference/concepts/domaindatasource_cn.md:1 msgid "DomainDataSource" -msgstr "" +msgstr "DomainDataSource" #: ../../reference/concepts/domaindatasource_cn.md:3 msgid "" -"Kuscia 通过 DomainDataSource " -"来管理数据源信息,数据源是指存储数据的地方,其可以是本地文件路径、对象存储服务OSS(或支持标准AWS " -"S3协议的对象存储服务)、MySQL等。DomainDataSource 对象用于描述数据源的元数据(MetaData), " -"如一个描述OSS数据源的 DomainDataSource 对象会包含:访问 OSS 所需的 Endpoints、Bucket、AK、SK " -"等信息(敏感信息会加密保存在DomainDataSource 的encryptedInfo字段中)。一个描述本地文件路径数据源的 " -"DomainDataSource 对象会包含:本地文件数据源的绝对路径(如下示例中的uri字段);" -msgstr "" +"Kuscia 通过 DomainDataSource 来管理数据源信息,数据源是指存储数据的地方,其可以是本地文件路径、对象存储服务 " +"OSS(或支持标准 AWS S3 协议的对象存储服务)、MySQL 等。DomainDataSource " +"对象用于描述数据源的元数据(MetaData), 如一个描述 OSS 数据源的 DomainDataSource 对象会包含:访问 OSS 所需的" +" Endpoints、Bucket、AK、SK 等信息(敏感信息会加密保存在 DomainDataSource 的 encryptedInfo " +"字段中)。一个描述本地文件路径数据源的 DomainDataSource 对象会包含:本地文件数据源的绝对路径(如下示例中的 uri 字段);" +msgstr "" +"Kuscia utilizes DomainDataSource to manage data source information, which" +" refers to storage locations that can be local file paths, object storage" +" services (OSS) compatible with AWS S3 protocol, MySQL databases, etc. " +"The DomainDataSource object describes the metadata of data sources. For " +"instance, an OSS-related DomainDataSource object contains endpoints, " +"bucket, access key (AK), and secret key (SK) required for OSS access " +"(sensitive information is encrypted in the encryptedInfo field). A local " +"file system DomainDataSource object includes the absolute path specified " +"in the uri field." #: ../../reference/concepts/domaindatasource_cn.md:6 msgid "以下是一个描述本地文件路径(localfs)数据源的 DomainDataSource CRD 的示例:" msgstr "" +"The following is an example of a DomainDataSource CRD describing a local " +"filesystem (localfs) data source:" #: ../../reference/concepts/domaindatasource_cn.md:26 msgid "DomainDataSource `metadata` 的子字段详细介绍如下:" -msgstr "" +msgstr "The subfields of DomainDataSource `metadata` are detailed below:" #: ../../reference/concepts/domaindatasource_cn.md:28 msgid "" "`labels`:标签在 K3s 中用于支持高效的查询和监听操作,参考:[标签和选择算符](https://kubernetes.io/zh-" "cn/docs/concepts/overview/working-with-objects/labels/)。" msgstr "" +"`labels`: Used in K3s to facilitate efficient querying and watch " +"operations. Reference: [Labels and " +"Selectors](https://kubernetes.io/docs/concepts/overview/working-with-" +"objects/labels/)." #: ../../reference/concepts/domaindatasource_cn.md:29 msgid "`name`:表示数据源的标识,用于唯一标识数据源。" -msgstr "" +msgstr "`name`: Unique identifier for the data source." #: ../../reference/concepts/domaindatasource_cn.md:30 msgid "`namespace`:表示 DomainDataSource 所属的命名空间,即所属的节点,当前示例为`alice`。" msgstr "" +"`namespace`: Specifies the node namespace to which the DomainDataSource " +"belongs, currently `alice` in this example." #: ../../reference/concepts/domaindatasource_cn.md:32 msgid "DomainDataSource `spec` 的子字段详细介绍如下:" -msgstr "" +msgstr "The subfields of DomainDataSource `spec` are detailed below:" #: ../../reference/concepts/domaindatasource_cn.md:34 msgid "" "`accessDirectly`:表示隐私计算应用(如 SecretFlow )应直连访问数据源还是通过 DataProxy " -"访问数据源(DataProxy暂未支持),当前默认直连数据源,不经过DataProxy。" +"访问数据源(DataProxy 暂未支持),当前默认直连数据源,不经过 DataProxy。" msgstr "" +"`accessDirectly`: Determines whether privacy computing applications " +"(e.g., SecretFlow) should access the data source directly or via " +"DataProxy (currently unsupported). The default is direct access." #: ../../reference/concepts/domaindatasource_cn.md:35 msgid "`encryptedInfo`:加密存储访问数据源所需的信息,如数据源为 MySQL 时,此字段会加密保存 MySQL 的链接串。" msgstr "" +"`encryptedInfo`: Stores encrypted connection details (e.g., MySQL " +"connection strings) for data source access." #: ../../reference/concepts/domaindatasource_cn.md:36 msgid "`name`:数据源的名称,可重复,注意区别于 metadata 中的 name 字段。" msgstr "" +"`name`: Replicable display name for the data source, distinct from the " +"metadata name field." #: ../../reference/concepts/domaindatasource_cn.md:37 msgid "`type`:表示数据源的类型,类型包括:localfs, oss, mysql 。" -msgstr "" +msgstr "`type`: Specifies the data source type (localfs, oss, mysql)." #: ../../reference/concepts/domaindatasource_cn.md:38 msgid "" "`uri`:表示数据源的概括信息,如 localfs 此处为绝对路径(如 /home/kuscia/var/storage/data),如 OSS" " 此处为 bucket 与 prefix 拼接的路径(alice_bucket/kuscia/data/)。" msgstr "" +"`uri`: General data source descriptor. For localfs, this is an absolute " +"path (e.g., /home/kuscia/var/storage/data). For OSS, this combines bucket" +" and prefix (e.g., alice_bucket/kuscia/data/)." #: ../../reference/concepts/domaindatasource_cn.md:40 msgid "用例" -msgstr "" +msgstr "Use Cases" #: ../../reference/concepts/domaindatasource_cn.md:42 msgid "以下是一些 DomainDataSource 的典型用例:" -msgstr "" +msgstr "The following are typical use cases for DomainDataSource:" #: ../../reference/concepts/domaindatasource_cn.md:44 #: ../../reference/concepts/domaindatasource_cn.md:48 msgid "创建 DomainDataSource" -msgstr "" +msgstr "Creating DomainDataSource" #: ../../reference/concepts/domaindatasource_cn.md:45 #: ../../reference/concepts/domaindatasource_cn.md:52 msgid "更新 DomainDataSource" -msgstr "" +msgstr "Updating DomainDataSource" #: ../../reference/concepts/domaindatasource_cn.md:46 #: ../../reference/concepts/domaindatasource_cn.md:56 msgid "清理 DomainDataSource" -msgstr "" +msgstr "Cleaning Up DomainDataSource" #: ../../reference/concepts/domaindatasource_cn.md:50 msgid "" @@ -110,6 +136,10 @@ msgid "" "Kuscia API 进行创建,[参考 kuscia API 文档](../apis/domaindatasource_cn.md#create-" "domain-data-source)。" msgstr "" +"Since DomainDataSource contains encryptedInfo requiring domain node " +"public key encryption, use the Kuscia API for creation. Reference: " +"[Kuscia API Documentation](../apis/domaindatasource_en.md#create-domain-" +"data-source)." #: ../../reference/concepts/domaindatasource_cn.md:54 msgid "" @@ -117,6 +147,9 @@ msgid "" "Kuscia API 进行更新,[参考 kuscia API 文档](../apis/domaindatasource_cn.md#update-" "domain-data-source)。" msgstr "" +"Updates require re-encryption of encryptedInfo with the domain node's " +"public key. Use the Kuscia API for updates. Reference: [Kuscia API " +"Documentation](../apis/domaindatasource_en.md#update-domain-data-source)." #: ../../reference/concepts/domaindatasource_cn.md:58 msgid "" @@ -124,12 +157,15 @@ msgid "" "为例: 注意:清理 DomainDataSource 并不会清除真实的数据源,只是从 Kuscia 中删除 DomainDataSource " "CRD 对象。" msgstr "" +"To delete a DomainDataSource identified as `demo-localfs-datasource` in " +"the alice domain: Note: This operation only removes the CRD object from " +"Kuscia, not the actual data source." #: ../../reference/concepts/domaindatasource_cn.md:61 msgid "运行以下命令清理 DomainDataSource。" -msgstr "" +msgstr "Execute the following command to clean up DomainDataSource." #: ../../reference/concepts/domaindatasource_cn.md:67 msgid "检查 Alice 下的 DomainDataSource 是否已被清理。" -msgstr "" +msgstr "Verify the cleanup of DomainDataSource under alice." diff --git a/docs/reference/concepts/domaindatasource_cn.md b/docs/reference/concepts/domaindatasource_cn.md index 04ac0aea2..b822f6738 100644 --- a/docs/reference/concepts/domaindatasource_cn.md +++ b/docs/reference/concepts/domaindatasource_cn.md @@ -1,7 +1,7 @@ # DomainDataSource -Kuscia 通过 DomainDataSource 来管理数据源信息,数据源是指存储数据的地方,其可以是本地文件路径、对象存储服务OSS(或支持标准AWS S3协议的对象存储服务)、MySQL等。DomainDataSource 对象用于描述数据源的元数据(MetaData), -如一个描述OSS数据源的 DomainDataSource 对象会包含:访问 OSS 所需的 Endpoints、Bucket、AK、SK 等信息(敏感信息会加密保存在DomainDataSource 的encryptedInfo字段中)。一个描述本地文件路径数据源的 DomainDataSource 对象会包含:本地文件数据源的绝对路径(如下示例中的uri字段); +Kuscia 通过 DomainDataSource 来管理数据源信息,数据源是指存储数据的地方,其可以是本地文件路径、对象存储服务 OSS(或支持标准 AWS S3 协议的对象存储服务)、MySQL 等。DomainDataSource 对象用于描述数据源的元数据(MetaData), +如一个描述 OSS 数据源的 DomainDataSource 对象会包含:访问 OSS 所需的 Endpoints、Bucket、AK、SK 等信息(敏感信息会加密保存在 DomainDataSource 的 encryptedInfo 字段中)。一个描述本地文件路径数据源的 DomainDataSource 对象会包含:本地文件数据源的绝对路径(如下示例中的 uri 字段); 以下是一个描述本地文件路径(localfs)数据源的 DomainDataSource CRD 的示例: @@ -31,7 +31,7 @@ DomainDataSource `metadata` 的子字段详细介绍如下: DomainDataSource `spec` 的子字段详细介绍如下: -- `accessDirectly`:表示隐私计算应用(如 SecretFlow )应直连访问数据源还是通过 DataProxy 访问数据源(DataProxy暂未支持),当前默认直连数据源,不经过DataProxy。 +- `accessDirectly`:表示隐私计算应用(如 SecretFlow )应直连访问数据源还是通过 DataProxy 访问数据源(DataProxy 暂未支持),当前默认直连数据源,不经过 DataProxy。 - `encryptedInfo`:加密存储访问数据源所需的信息,如数据源为 MySQL 时,此字段会加密保存 MySQL 的链接串。 - `name`:数据源的名称,可重复,注意区别于 metadata 中的 name 字段。 - `type`:表示数据源的类型,类型包括:localfs, oss, mysql 。