Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/typescriptlang/zh/cheatsheets.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export const cheatCopy = {
cht_layout_title: "速查表",
cht_layout_description:
"涵盖TypeScript语法的速查表。",
cht_download: "下载 Zip",
cht_blurb_1: "可下载的,不同部分的常用Typescript语法参考页",
cht_blurb_2: "了解有关类、接口、类型和控制流分析的更多信息",

cht_cfa: "控制流程分析",
cht_interfaces: "接口",
cht_types: "类型",
cht_classes: "类",
cht_dl_title: "下载 PDF 和 PNG 文件",
cht_dl_subtitle: "稍后阅读或打印",
}
2 changes: 2 additions & 0 deletions docs/typescriptlang/zh/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { docCopy } from "./documentation"
import { indexCopy } from "./index"
import { comCopy } from "./community"
import { handbookCopy } from "./handbook"
import { cheatCopy } from "./cheatsheets"

export const lang = defineMessages({
...englishMessages,
Expand All @@ -17,4 +18,5 @@ export const lang = defineMessages({
...playCopy,
...comCopy,
...handbookCopy,
...cheatCopy
})