This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git
The following commit(s) were added to refs/heads/main by this push:
new e7f37ae9 update: fix translation (#214)
e7f37ae9 is described below
commit e7f37ae983192629139f219074890f014dd55b8d
Author: Anne <[email protected]>
AuthorDate: Fri Jul 5 15:49:23 2024 +0800
update: fix translation (#214)
Fix some translation errors here.
---
.../current/contributing/blog-post.md | 30 +++++++++++-----------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/contributing/blog-post.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/contributing/blog-post.md
index 76eaed4e..0a3be3a8 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/contributing/blog-post.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/contributing/blog-post.md
@@ -5,25 +5,25 @@ slug: /blog-post
# 贡献一篇博客文章
-博客是[参与](/community/contributing#get-involved) Apache Answer
的最简单方法之一。这也是与他人分享你的知识和经验的好方法。
+博客是[参与](/community/contributing#get-involved)Apache Answer
最简单的方法之一。这也是你与他人分享知识和使用经验的好方式。
-如果你用 Apache Answer 构建了自己的问答社区,或者 Apache Answer 帮助你解决了问题,我们很想听听你的故事。我们还鼓励你分享使用
Apache Answer 的技巧和窍门,或写下如何为项目做出贡献。
+如果你用 Apache Answer 构建了自己的问答社区,或者使用 Apache Answer 解决了问题,我们都想听听你的故事。我们还鼓励你分享使用
Apache Answer 的技巧和窍门,或分享你是如何为 Apache Answer 做出贡献的。
-要开始,只需阅读我们的博客指南并开始写作!
+阅读我们的博客指南,准备贡献你的第一篇博客吧。
-## 存储库地址
+## 存储库(Repository)地址
-- [GitHub](https://github.com/apache/incubator-answer-website): 撰写和存储博客文章。
-- [Crowdin](https://crowdin.com/project/answer-website):
将博客文章翻译成多种语言,使更广泛的受众更容易访问。
+- [GitHub](https://github.com/apache/incubator-answer-website): 编写和存储博客文章。
+- [Crowdin](https://crowdin.com/project/answer-website):
将博客文章翻译成多种语言,以方便更多用户阅读。
## 博客目录
-博客目前有两种语言版本:英语(默认)和中文。如果你要提交中文博客,你需要手动将其复制到 /blog
目录,以防止编译错误。如果你只提交英语博客,你不需要做其他任何事情。
+博客目前有两种语言版本:英语(默认)和中文。如果你要提交中文博客,你需要手动将其复制到 /blog
目录,以防止编译错误。如果你只提交英语博客,则无需其他操作。
- 英文博客: `/blog`
- 中文博客: `/i18n/docusaurus-plugin-content-blog`
-我们与 Crowdin 集成,它会自动同步需要翻译的文件。这使得社区贡献者更容易参与翻译。
+我们集成了 Crowdin 平台,它会自动同步需要翻译的文件。这使得社区贡献者更容易参与翻译中来。
## 博客类别
@@ -36,7 +36,7 @@ slug: /blog-post
- Releases
- Tech
-除了提交新博客外,还可以通过识别和纠正任何不正确或不清晰的语言,或更新内容以反映最新信息来帮助维护现有的博客内容。
+除了提交新博客外,你还可以通过以下方式帮助维护现有博客内容:纠正不准确和不清晰的表达,或者将博客里过时的信息进行更新。
## 提交博客
@@ -51,7 +51,7 @@ slug: /blog-post
- `/blog/authors.yml`
- `/i18n/docusaurus-plugin-content-blog/authors.yml`
-你可以在这些文件中添加有关自己的信息以显示。这里有一个例子:
+你可以在这些文件中添加有关自己的信息。这里有一个例子:
```yaml title="/blog/authors.yml"
Anne:
@@ -82,7 +82,7 @@ authors: [Anne] # separate with commas [Anne, others]
- 在`/2023-06-01-foo-bar`目录里创建一个`index.md`文件。
- 图像和其他多媒体内容也应放置在此目录中。
- 为了保持语义和独特的文章 URL
,我们建议在命名文件或文件夹时在日期后使用博客标题。将标题转换为小写,并将单词与连字符连接起来。这消除了对页面上的弹头字段的担忧。除非绝对必要,否则避免指定弹头字段。
+ 为了保持文章 URL
的语义和唯一性,我们建议在命名文件或文件夹时,在日期后使用博客标题并将标题转换为小写,并用连字符将单词连接起来。这样一来,您就无需担心页面上的 slug
字段。除非绝对必要,否则请避免指定 slug 字段。
例如,如果博客的标题是`Hello World`,该文件可以命名为`2023-06-01-hello-world`,这将生成 URL
`/blog/2023-06-01/hello-world`。
@@ -100,11 +100,11 @@ authors: [Anne] # separate with commas [Anne, others]
3. 在 [Docusaurus Markdown](https://docusaurus.io/docs/markdown-features) 中学习
Markdown 语法。如果包含图像,请确保图像和博客位于同一目录中。
- 除了标准元数据字段外,我们还引入了一些自定义字段及其用法,例如“封面图像”(图像)和“特色帖子”(特色)。
+ 除了标准元数据字段外,我们还引入了一些自定义字段及其用法,例如 “封面图像”(image)和 “首页”(Featured)。
封面图像需要遵守我们的视觉风格指南,以便你可以专注于撰写博客文章。提交后,我们将根据你的内容自动生成封面图片。
- “特色”字段决定你的博客文章是否出现在[博客](/blog)主页上。要突出你的博客文章,请将“特色”字段设置为“真实”。
+ “featured” 字段决定你的博客文章是否出现在[博客](/blog)主页上。要突出你的博客文章,请将 “featured” 字段设置为
“true”。
查看以下示例。
@@ -117,7 +117,7 @@ authors: [Anne] # separate with commas [Anne, others]
description: "Discover more about tags, benefits, and how vital they are
for organizing content in online community."
```
-4. 在提交代码之前,请确保运行无错误。你可以通过运行以下命令来检查它。
+4. 在提交代码之前,请确保运行误。你可以通过运行以下命令来检查它。
```shell
# Preview locally
@@ -129,4 +129,4 @@ authors: [Anne] # separate with commas [Anne, others]
## 其他
-对于代码提交,您可能还需要学习 [Git](https://git-scm.com/)
和[拉取请求](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork)。
+代码提交部分,你可以查看 [Git](https://git-scm.com/)
和[拉取请求](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork)。