Skip to content

Commit fe95072

Browse files
Merge pull request typst-doc-cn#10 from YDX-2147483647/en
docs: revise all translations
2 parents 5159b07 + 54baeae commit fe95072

File tree

2 files changed

+50
-15
lines changed

2 files changed

+50
-15
lines changed

main.typ

Lines changed: 50 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -604,17 +604,17 @@
604604
```
605605

606606
=== #bbl(
607-
en: [Paragraph should be able to contain tight lists and block-level equations],
608-
zh: [如何避免公式、图表等块元素的下一行缩进],
607+
en: [Unexpected indentation after figures, lists and block equations],
608+
zh: [图表、列表、块级公式后异常缩进],
609609
)
610610

611611
#level.basic
612612
#issue("typst#3206")
613613
#workaround("https://typst-doc-cn.github.io/guide/FAQ/block-equation-in-paragraph.html")
614614

615615
#babel(
616-
en: [Chinese publications usually apply 2-em wide first-line indents.],
617-
zh: [中文出版品上,段首缩排以两个汉字的空间为标准。],
616+
en: [Figures, lists and block equations will break the paragraph, causing the following text to start a new paragraph. This becomes visually noticeable when a first-line indent is applied. In Chinese, it is common practice to use a 2-em first-line indent, making this issue particularly apparent.],
617+
zh: [图表、列表、块级公式会终结段落,导致后文另起一段。若设置了首行缩进,换段会很明显。而中文出版物普遍设置首行缩进两字,导致这一问题尤为突出。],
618618
)
619619

620620
```example
@@ -1077,15 +1077,30 @@ $ integral f dif x $
10771077
```
10781078

10791079
=== #bbl(
1080-
en: [Some entries in thesis and report bibliography items are not shown],
1081-
zh: [参考文献学位论文条目`[D]`后不显示“地点: 学校名称, 年份.”],
1080+
en: [`institution` and `school` are not shown],
1081+
zh: [`institution`机构名称和`school`学校名称不显示],
10821082
)
10831083

10841084
#level.broken
10851085
#issue("hayagriva#112")
10861086
#workaround("https://typst-doc-cn.github.io/guide/FAQ/bib-missing-school.html")
10871087

1088+
#babel(
1089+
en: [`institution` and `school` are not recognized as aliases of `publisher`, and typst does not understand `institute` in CSL either. The `school` field is conventionally associated with `@thesis` (`[D]`), and the `institute` field with `@report` (`[R]`). These fields should be placed between the location and the date after `[D]`/`[R]`.],
1090+
zh: [`institution`机构名称和`school`学校名称未被识别成`publisher`的别名,typst 亦不支持解析 CSL 中的 `institution``school`字段常用于学位论文`@thesis``[D]`),`institute`字段常用于报告`@report``[R]`),它们应显示在`[D]`/`[R]`后的地点与日期之间。],
1091+
)
1092+
10881093
```example-bib
1094+
@report{report,
1095+
author = {Robert Swearingen},
1096+
title = {Morphology and syntax of British sailors’ English},
1097+
series = {Technical Report},
1098+
number = {249},
1099+
institution = {Profanity Institute},
1100+
address = {New York},
1101+
year = {1985},
1102+
}
1103+
% SWEARINGEN R. #text(font: "New Computer Modern")[Morphology and syntax of British sailors’ English] [R]. 249. New York: Profanity Institute, 1985.
10891104
@thesis{王楠2016,
10901105
title = {在“共产主义视镜”下想象科学——“十七年”期间的中国科幻文学与科学话语},
10911106
author = {王楠},
@@ -1290,24 +1305,46 @@ $ integral f dif x $
12901305

12911306
=== #bbl(
12921307
en: [Ignore linebreaks between CJK characters in source code],
1293-
zh: [写中文文档时,如何去掉源码中换行导致的空格],
1308+
zh: [忽略源码中CJK字符间的换行],
12941309
)
12951310

12961311
#level.advanced
12971312
#issue("typst#792")
12981313
#workaround("https://typst-doc-cn.github.io/guide/FAQ/chinese-remove-space.html")
12991314
#workaround("https://typst.app/universe/package/cjk-unbreak")
13001315

1316+
```example
1317+
>>> Current: \
1318+
测试一下,
1319+
效果怎么样。
1320+
1321+
>>> Expected: \
1322+
>>> 测试一下,效果怎么样。
1323+
```
1324+
1325+
#babel(
1326+
en: [This issue is marked as advanced, because not all people want this behaviour.],
1327+
zh: [这一问题算作 Advanced,因为并非所有人都想要这种行为。],
1328+
)
1329+
13011330
=== #bbl(en: [Disable the spell checker of webapp], zh: [关闭 webapp 的拼写检查])
13021331

13031332
#level.advanced
13041333
#workaround("https://typst-doc-cn.github.io/guide/FAQ/webapp-spellcheck.html")
13051334

13061335
#babel(
1307-
en: [The spell checker embedded in the webapp does not support Chinese, marking all lines as misspelled.],
1308-
zh: [webapp 内嵌的拼写检查器不支持中文,每一行都会被标为拼写错误。],
1336+
en: [The spell checker embedded in the webapp does not support Chinese, marking all characters as misspelled, as shown in @fig:webapp-misspell.],
1337+
zh: [webapp 内嵌的拼写检查器不支持中文,每个字都会被标为拼写错误,如 @fig:webapp-misspell。],
13091338
)
13101339

1340+
#figure(
1341+
image(
1342+
"/public/webapp-misspell.png",
1343+
alt: "我要給阿Q做正傳,已經不止一兩年了。但一面要做,一面又往回想,這足見我不是一個“立言”的人,因為從來不朽之筆,須傳不朽之人,於是人以文傳,文以人傳——究竟誰靠誰傳,漸漸的不甚瞭然起來,而終於歸接到傳阿Q,仿佛思想裏有鬼似的。",
1344+
),
1345+
caption: bbl(en: [94 spelling mistakes], zh: [94个拼写错误]),
1346+
) <fig:webapp-misspell>
1347+
13111348
#set heading(numbering: none)
13121349

13131350
= #bbl(en: [Addendum], zh: [附录])
@@ -1333,29 +1370,27 @@ $ integral f dif x $
13331370

13341371
== #bbl(en: [References], zh: [参考资料])
13351372

1336-
- W3C documents
1373+
- #bbl(en: [W3C documents], zh: [W3C 文档])
13371374

13381375
- #link("https://www.w3.org/TR/clreq/")[Requirements for Chinese Text Layout - 中文排版需求]
13391376
- #link("https://www.w3.org/TR/clreq-gap/")[Chinese Layout Gap Analysis]
13401377

13411378
- #link("https://typst-doc-cn.github.io/guide/FAQ.html")[FAQ 常见问题 | Typst Doc CN 中文社区导航]
13421379

1343-
- Standards
1380+
- #bbl(en: [Standards], zh: [标准])
13441381

13451382
- #link("https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D8055ED3A7E05397BE0A0AB82A")[GB/T 7714—2015《信息与文献 参考文献著录规则》_Information and documentation—Rules for bibliographic references and citations to information resources_] (#link("https://lib.tsinghua.edu.cn/wj/GBT7714-2015.pdf")[PDF])
13461383
- #link("https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D7FE25D3A7E05397BE0A0AB82A")[GB/T 15834—2011《标点符号用法》_General rules for punctuation_] (#link("http://www.moe.gov.cn/jyb_sjzl/ziliao/A19/201001/W020190128580990138234.pdf")[PDF])
13471384
- #link("https://std.samr.gov.cn/hb/search/stdHBDetailed?id=8B1827F23645BB19E05397BE0A0AB44A")[CY/T 154—2017《中文出版物夹用英文的编辑规范》_Rules for editing Chinese publications interpolated with English_] (#link("https://www.nppa.gov.cn/xxgk/fdzdgknr/hybz/202210/P020221004608768453140.pdf")[PDF])
13481385

1349-
- Reference implementations
1386+
- #bbl(en: [Reference implementations], zh: [参考实现])
13501387

13511388
- #link("https://ctan.org/pkg/biblatex-gb7714-2015")[`biblatex-gb7714-2015`], #bbl(zh: [符合 GB/T 7714—2015 标准的 biblatex 参考文献样式], en: [A BibLaTeX implementation of the GB/T 7714—2015 bibliography style for Chinese users]) (#link("https://texdoc.org/serve/biblatex-gb7714-2015/0")[TeXdoc PDF])
13521389

1353-
== To be done
1390+
== #bbl(en: [To be done], zh: [待办])
13541391

13551392
- Content
13561393

1357-
- Illustrations / minimal examples
1358-
- Full Chinese/English translation
13591394
- Include resolved issues (for historians)
13601395

13611396
- Live long

public/webapp-misspell.png

20.5 KB
Loading

0 commit comments

Comments
 (0)