-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(zh-tw): update zh-tw translation #2166
Conversation
source/zh-tw/docs/tag-plugins.md
Outdated
|
||
## 文章摘要 | ||
|
||
在文章中使用 `<!-- more -->`,那麼在 `<!-- more -->` 之前的文字將會被視為摘要。首頁中只出現這部份文字,同時這部份文字也會出現在文章當中。 | ||
|
||
例如: | ||
|
||
``` | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
<!-- more --> | ||
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
``` | ||
|
||
首頁中將只會出現 | ||
|
||
``` | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
``` | ||
|
||
正文中則會出現 | ||
|
||
``` | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
|
||
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
``` | ||
|
||
請注意,摘要可能會被 Front Matter 中的 `excerpt` 覆寫。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this very interesting, that we don't have this section on zh-tw
, so I just copy the content from zh-cn
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @D-Sketon, would you help me check this part is correct if avaliable? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so I just copy the content from
zh-cn
.
as #133, en
is the primary language, please consider syncing content from en
instead of other languages. Otherwise translating between different languages can become confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so I just copy the content from
zh-cn
.as #133,
en
is the primary language, please consider syncing content fromen
instead of other languages. Otherwise translating between different languages can become confusing.
Oh, I see, no wonder I've been confused at first glance.
I'll change this part with en
content and also do this if I encounter to the same situation again.
Theme thumbnails validation completed. |
source/zh-tw/docs/configuration.md
Outdated
- "_css/**/*" | ||
|
||
exclude: | ||
# 不包括 'source/js/test.js' | ||
- "js/test.js" | ||
# 不包括 'source/js/' 中的文件、但包括子目录下的所有目录和文件 | ||
# 不包括 'source/js/' 中的檔案、但包子目錄下的所有目录和檔案 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# 不包括 'source/js/' 中的檔案、但包子目錄下的所有目录和檔案 | |
# 不包括 'source/js/' 中的檔案、但包括子目錄下的所有目录和檔案 |
source/zh-tw/docs/configuration.md
Outdated
@@ -159,7 +159,7 @@ ignore: | |||
|
|||
列表中的每一項都必須用單引號或雙引號包裹起來。 | |||
|
|||
`include` 和 `exclude` 並不適用於 `themes/` 目錄下的文件。如果需要忽略 `themes/` 目錄下的部分文件或文件夾,可以使用 `ignore` 或在文件名之前添加下劃線 `_`。 | |||
`include` 和 `exclude` 並不適用於 `themes/` 目錄下的檔案。如果需要忽略 `themes/` 目錄下的部分檔案資料夾,可以使用 `ignore` 或在檔案名之前添加下劃線 `_`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`include` 和 `exclude` 並不適用於 `themes/` 目錄下的檔案。如果需要忽略 `themes/` 目錄下的部分檔案資料夾,可以使用 `ignore` 或在檔案名之前添加下劃線 `_`。 | |
`include` 和 `exclude` 並不適用於 `themes/` 目錄下的檔案。如果需要忽略 `themes/` 目錄下的部分檔案或資料夾,可以使用 `ignore` 或在檔案名之前添加下劃線 `_`。 |
source/zh-tw/docs/contributing.md
Outdated
|
||
## 更新文件 | ||
## 更新文件。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## 更新文件。 | |
## 更新文件 |
source/zh-tw/docs/tag-plugins.md
Outdated
@@ -363,16 +363,17 @@ _hexo-renderer-marked 3.1.0+ can (optionally) resolves the post's path of an ima | |||
### url_for (7.0.0+) | |||
|
|||
Returns a url with the root path prefixed. Output is encoded automatically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returns a url with the root path prefixed. Output is encoded automatically. |
source/zh-tw/docs/tag-plugins.md
Outdated
@@ -412,16 +413,17 @@ You could also disable it to output a non-relative link, even when `relative_lin | |||
### full_url_for (7.0.0+) | |||
|
|||
Returns a url with the `config.url` prefixed. Output is encoded automatically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returns a url with the `config.url` prefixed. Output is encoded automatically. |
Co-authored-by: D-Sketon <[email protected]> Signed-off-by: Uiolee <[email protected]>
Check List
Please read and check followings before submitting a PR.
en
Englishru
Russianzh-cn
simplified Chinesezh-tw
traditional Chineseja
Japanese