From 9d210712006cf82dc57c30196f85035006c469dd Mon Sep 17 00:00:00 2001 From: Bram Chen Date: Mon, 29 Jul 2024 20:18:34 +0800 Subject: [PATCH] Update chinese language files (#8444) * Update chinese language files * add chinese translations for OpenControlPanel/Hint in Buttons.multids * Update chinese language files * Add chinese translations for procedure and function snippet to "stamp button" --- languages/zh-Hans/Buttons.multids | 1 + languages/zh-Hans/Snippets/FunctionDefinition.tid | 7 +++++++ languages/zh-Hans/Snippets/ProcedureDefinition.tid | 7 +++++++ languages/zh-Hant/Buttons.multids | 1 + languages/zh-Hant/Snippets/FunctionDefinition.tid | 7 +++++++ languages/zh-Hant/Snippets/ProcedureDefinition.tid | 7 +++++++ 6 files changed, 30 insertions(+) create mode 100644 languages/zh-Hans/Snippets/FunctionDefinition.tid create mode 100644 languages/zh-Hans/Snippets/ProcedureDefinition.tid create mode 100644 languages/zh-Hant/Snippets/FunctionDefinition.tid create mode 100644 languages/zh-Hant/Snippets/ProcedureDefinition.tid diff --git a/languages/zh-Hans/Buttons.multids b/languages/zh-Hans/Buttons.multids index 3fa13f740..87be34a82 100644 --- a/languages/zh-Hans/Buttons.multids +++ b/languages/zh-Hans/Buttons.multids @@ -80,6 +80,7 @@ NewMarkdown/Caption: 添加 Markdown 条目 NewMarkdown/Hint: 创建一个新的 Markdown 条目 NewTiddler/Caption: 添加条目 NewTiddler/Hint: 创建一个新的条目 +OpenControlPanel/Hint: 开启控制台 OpenWindow/Caption: 开启于新窗口 OpenWindow/Hint: 在新窗口中开启条目 Palette/Caption: 调色板 diff --git a/languages/zh-Hans/Snippets/FunctionDefinition.tid b/languages/zh-Hans/Snippets/FunctionDefinition.tid new file mode 100644 index 000000000..fa7793d8a --- /dev/null +++ b/languages/zh-Hans/Snippets/FunctionDefinition.tid @@ -0,0 +1,7 @@ +title: $:/language/Snippets/FunctionDefinition +tags: $:/tags/TextEditor/Snippet +caption: 函数定义 + +\function f.name(param1,param2:"默认值") [!is[blank]else] + +<> diff --git a/languages/zh-Hans/Snippets/ProcedureDefinition.tid b/languages/zh-Hans/Snippets/ProcedureDefinition.tid new file mode 100644 index 000000000..d6445349b --- /dev/null +++ b/languages/zh-Hans/Snippets/ProcedureDefinition.tid @@ -0,0 +1,7 @@ +title: $:/language/Snippets/ProcedureDefinition +tags: $:/tags/TextEditor/Snippet +caption: 程序定义 + +\procedure procName(param1:"预设值",param2) +这里就是您的文字了。 +\end diff --git a/languages/zh-Hant/Buttons.multids b/languages/zh-Hant/Buttons.multids index b45b88f79..c17974998 100644 --- a/languages/zh-Hant/Buttons.multids +++ b/languages/zh-Hant/Buttons.multids @@ -80,6 +80,7 @@ NewMarkdown/Caption: 新增 Markdown 條目 NewMarkdown/Hint: 建立一個新的 Markdown 條目 NewTiddler/Caption: 新增條目 NewTiddler/Hint: 建立一個新的條目 +OpenControlPanel/Hint: 開啟控制台 OpenWindow/Caption: 開啟於新視窗 OpenWindow/Hint: 在新視窗中開啟條目 Palette/Caption: 調色盤 diff --git a/languages/zh-Hant/Snippets/FunctionDefinition.tid b/languages/zh-Hant/Snippets/FunctionDefinition.tid new file mode 100644 index 000000000..c42ed096a --- /dev/null +++ b/languages/zh-Hant/Snippets/FunctionDefinition.tid @@ -0,0 +1,7 @@ +title: $:/language/Snippets/FunctionDefinition +tags: $:/tags/TextEditor/Snippet +caption: 函數定義 + +\function f.name(param1,param2:"預設值") [!is[blank]else] + +<> diff --git a/languages/zh-Hant/Snippets/ProcedureDefinition.tid b/languages/zh-Hant/Snippets/ProcedureDefinition.tid new file mode 100644 index 000000000..8a92ae666 --- /dev/null +++ b/languages/zh-Hant/Snippets/ProcedureDefinition.tid @@ -0,0 +1,7 @@ +title: $:/language/Snippets/ProcedureDefinition +tags: $:/tags/TextEditor/Snippet +caption: 程序定義 + +\procedure procName(param1:"預設值",param2) +這裡就是您的文字了。 +\end