Skip to content

Commit b8da46d

Browse files
committed
fix: translate
1 parent a6959e0 commit b8da46d

File tree

5 files changed

+20
-18
lines changed

5 files changed

+20
-18
lines changed

.github/workflows/docs-commit.translate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ jobs:
3939
inputFiles: "${{ steps.changed_files.outputs.files }}"
4040
outputFiles: "docs/cn/**/*.md"
4141
languages: "Simplified-Chinese"
42-
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything.\ -When handling document translations, please adhere to the following specific vocabulary guidelines:'time travel': should consistently be translated as '时间回溯','warehouse' or 'warehouses': should consistently be translated as '计算集群','Data Warehouse': should consistently be translated as '数仓', 'Databend Cloud'、'Stage': should remain untranslated.\ -The key of the json object in '_category_.json' is not translated"
42+
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything.\ - if you discover to describe the plan 'Personal', please translate to '基础版'.\ -When handling document translations, please adhere to the following specific vocabulary guidelines:'time travel': should consistently be translated as '时间回溯','warehouse' or 'warehouses': should consistently be translated as '计算集群','Data Warehouse': should consistently be translated as '数仓', 'Databend Cloud'、'Stage': should remain untranslated.\ -The key of the json object in '_category_.json' is not translated"
4343
basePath: "https://api.deepseek.com"

.github/workflows/docs-sync.translate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
inputFiles: "${{ steps.check_missing.outputs.missing_md_files }}${{ steps.check_missing.outputs.missing_json_files }}"
5555
outputFiles: "docs/cn/**/*.{md,json}"
5656
languages: "Simplified-Chinese"
57-
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything.\ -When handling document translations, please adhere to the following specific vocabulary guidelines:'time travel': should consistently be translated as '时间回溯','warehouse' or 'warehouses': should consistently be translated as '计算集群','Data Warehouse': should consistently be translated as '数仓', 'Databend Cloud'、'Stage': should remain untranslated.\ -The key of the json object in '_category_.json' is not translated."
57+
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything.\ - if you discover to describe the plan 'Personal', please translate to '基础版'.\ -When handling document translations, please adhere to the following specific vocabulary guidelines:'time travel': should consistently be translated as '时间回溯','warehouse' or 'warehouses': should consistently be translated as '计算集群','Data Warehouse': should consistently be translated as '数仓', 'Databend Cloud'、'Stage': should remain untranslated.\ -The key of the json object in '_category_.json' is not translated"
5858
basePath: "https://api.deepseek.com"

.github/workflows/docs.translate.dir.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
inputFiles: "${{ steps.check_missing.outputs.missing_md_files }}${{ steps.check_missing.outputs.missing_json_files }}"
5555
outputFiles: "docs/cn/**/*.{md,json}"
5656
languages: "Simplified-Chinese"
57-
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything.\ -When handling document translations, please adhere to the following specific vocabulary guidelines:'time travel': should consistently be translated as '时间回溯','warehouse' or 'warehouses': should consistently be translated as '计算集群','Data Warehouse': should consistently be translated as '数仓', 'Databend Cloud'、'Stage': should remain untranslated.\ -The key of the json object in '_category_.json' is not translated."
57+
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything.\ - if you discover to describe the plan 'Personal', please translate to '基础版'.\ -When handling document translations, please adhere to the following specific vocabulary guidelines:'time travel': should consistently be translated as '时间回溯','warehouse' or 'warehouses': should consistently be translated as '计算集群','Data Warehouse': should consistently be translated as '数仓', 'Databend Cloud'、'Stage': should remain untranslated.\ -The key of the json object in '_category_.json' is not translated"
5858
basePath: "https://api.deepseek.com"

.github/workflows/docs.translate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
with:
1919
apikey: ${{ secrets.OPENAI_API_KEY }}
2020
model: "deepseek-chat"
21-
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything.\ -When handling document translations, please adhere to the following specific vocabulary guidelines:'time travel': should consistently be translated as '时间回溯','warehouse' or 'warehouses': should consistently be translated as '计算集群','Data Warehouse': should consistently be translated as '数仓', 'Databend Cloud'、'Stage': should remain untranslated.\ -The key of the json object in '_category_.json' is not translated."
21+
prompt: "You are a translation engine that has knowledge of databases and is familiar with SQL, HTML, Markdown and JSON syntax. \ Databend is a cloud-native data warehouse and an alternative to Snowflake. \ I am translating the Databend documentation for helping users.\ Translate the Markdown or JSON content I'll paste later into {targetLanguage}.\ You must strictly follow the rules below.\ - Never change the Markdown markup structure. Don't add or remove links. Do not change any URL.\ - Never change the contents of code blocks even if they appear to have a bug.\ - Always preserve the original line breaks. Do not add or remove blank lines.\ - Never touch the permalink such as `{/*examples*/}` at the end of each heading.\ - Never touch HTML-like tags such as `<Notes>`.\ - Correctly format the document for best rendering. \ - Please do not translate database or computing-specific terms.\ -Keep the structure consistent with the source document and do not delete anything.\ - if you discover to describe the plan 'Personal', please translate to '基础版'.\ -When handling document translations, please adhere to the following specific vocabulary guidelines:'time travel': should consistently be translated as '时间回溯','warehouse' or 'warehouses': should consistently be translated as '计算集群','Data Warehouse': should consistently be translated as '数仓', 'Databend Cloud'、'Stage': should remain untranslated.\ -The key of the json object in '_category_.json' is not translated"
2222
basePath: "https://api.deepseek.com"

docs/cn/guides/00-overview/00-editions/02-dc/03-pricing.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ title: 定价与计费
3030

3131
您在 Databend Cloud 中的数据实际上存放在 Amazon S3 中。Databend Cloud 的存储成本基于 Amazon S3 的定价。目前,个人版和商业版的定价均为每月每 TB $23.00。
3232

33-
| 版本 | 每 TB 每月价格 |
34-
| -------------- | -------------- |
35-
| 个人版 | $23.00 |
36-
| 商业版 | $23.00 |
33+
| 版本 | 每 TB 每月价格 |
34+
| ------ | -------------- |
35+
| 个人版 | $23.00 |
36+
| 商业版 | $23.00 |
3737

3838
### 云服务定价
3939

4040
云服务费目前包括 API 请求的费用。每次您使用 Databend Cloud 运行 SQL 查询时,都会通过 [Databend HTTP 处理器](/developer/apis/http)`databend-query` 发送一个 REST API 请求。在个人版中,每 10,000 次 API 请求收费 $1.00,而在商业版中,每 10,000 次 API 请求收费 $2.00。
4141

42-
| 版本 | 每 10,000 次 API 请求费用 |
43-
| -------------- | ------------------------- |
44-
| 个人版 | $1.00 |
45-
| 商业版 | $2.00 |
42+
| 版本 | 每 10,000 次 API 请求费用 |
43+
| ------ | ------------------------- |
44+
| 个人版 | $1.00 |
45+
| 商业版 | $2.00 |
4646

4747
## Databend Cloud 计费
4848

@@ -55,6 +55,7 @@ title: 定价与计费
5555
<!-- #endendef -->
5656

5757
<!-- #ifcndef -->
58+
5859
您在 Databend Cloud 上的费用由以下几个部分组成:计算集群、存储和云服务费。本页面包含各部分的价格信息以及账单的说明。
5960

6061
## Databend Cloud 定价
@@ -67,7 +68,7 @@ title: 定价与计费
6768

6869
计算集群的大小指的是它能够处理的并发查询的最大数量,价格根据不同的大小和所使用的 Databend Cloud 版本而有所不同。
6970

70-
| 大小 | 最大并发 | 每小时费用 (标准版) | 每小时费用 (商业版) |
71+
| 大小 | 最大并发 | 每小时费用 (基础版) | 每小时费用 (商业版) |
7172
| ------ | -------- | ------------------- | ------------------- |
7273
| XSmall | 2 | ¥ 3.00 | ¥ 4.50 |
7374
| Small | 4 | ¥ 6.00 | ¥ 9.00 |
@@ -79,20 +80,20 @@ title: 定价与计费
7980

8081
### 存储定价
8182

82-
您在 Databend Cloud 中的数据实际上存放在对象存储中。Databend Cloud 的存储成本基于对象存储的定价。目前,标准版和商业版的定价均为每月每 TB 160.00 元。
83+
您在 Databend Cloud 中的数据实际上存放在对象存储中。Databend Cloud 的存储成本基于对象存储的定价。目前,基础版和商业版的定价均为每月每 TB 160.00 元。
8384

8485
| 版本 | 每 TB 每月价格 |
8586
| ------ | -------------- |
86-
| 标准版 | ¥ 160.00 |
87+
| 基础版 | ¥ 160.00 |
8788
| 商业版 | ¥ 160.00 |
8889

8990
### 云服务定价
9091

91-
云服务费目前包括 API 请求的费用。每次您使用 Databend Cloud 运行 SQL 查询时,都会通过 [Databend HTTP 处理器](/developer/apis/http)`databend-query` 发送一个 REST API 请求。在标准版中,每 10,000 次 API 请求收费 3 元,而在商业版中,每 10,000 次 API 请求收费 4.5 元。
92+
云服务费目前包括 API 请求的费用。每次您使用 Databend Cloud 运行 SQL 查询时,都会通过 [Databend HTTP 处理器](/developer/apis/http)`databend-query` 发送一个 REST API 请求。在基础版中,每 10,000 次 API 请求收费 3 元,而在商业版中,每 10,000 次 API 请求收费 4.5 元。
9293

9394
| 版本 | 每 10,000 次 API 请求费用 |
9495
| ------ | ------------------------- |
95-
| 标准版 | ¥ 3.00 |
96+
| 基础版 | ¥ 3.00 |
9697
| 商业版 | ¥ 4.50 |
9798

9899
## Databend Cloud 计费
@@ -102,4 +103,5 @@ title: 定价与计费
102103
要查看您的账单,请前往 **管理**,然后点击 **费用中心**
103104

104105
在进行扣费时,Databend Cloud 首先使用优惠券。如果有多个优惠券可用,系统会优先从到期日期最早的优惠券中扣除。请确保在优惠券到期前使用。
105-
<!-- #endcndef -->
106+
107+
<!-- #endcndef -->

0 commit comments

Comments
 (0)