diff --git a/docs/typescriptlang/zh/cheatsheets.ts b/docs/typescriptlang/zh/cheatsheets.ts new file mode 100644 index 00000000..85d374ce --- /dev/null +++ b/docs/typescriptlang/zh/cheatsheets.ts @@ -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: "稍后阅读或打印", +} diff --git a/docs/typescriptlang/zh/zh.ts b/docs/typescriptlang/zh/zh.ts index 79ce65da..0327368e 100644 --- a/docs/typescriptlang/zh/zh.ts +++ b/docs/typescriptlang/zh/zh.ts @@ -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, @@ -17,4 +18,5 @@ export const lang = defineMessages({ ...playCopy, ...comCopy, ...handbookCopy, + ...cheatCopy })