diff --git a/src/partials/language/zh.html b/src/partials/language/zh_CN.html similarity index 96% rename from src/partials/language/zh.html rename to src/partials/language/zh_CN.html index b578a8deb..c662d1645 100644 --- a/src/partials/language/zh.html +++ b/src/partials/language/zh_CN.html @@ -1,5 +1,5 @@ {% macro t(key) %}{{ { - "language": "zh", + "language": "zh_CN", "clipboard.copy": "复制", "clipboard.copied": "粘贴", "edit.link.title": "编辑此页", diff --git a/src/partials/language/zh_TW.html b/src/partials/language/zh_TW.html new file mode 100644 index 000000000..61ca459ca --- /dev/null +++ b/src/partials/language/zh_TW.html @@ -0,0 +1,18 @@ +{% macro t(key) %}{{ { + "language": "zh_TW", + "clipboard.copy": "拷貝", + "clipboard.copied": "粘貼", + "edit.link.title": "編輯此頁", + "footer.previous": "前進", + "footer.next": "後退", + "meta.comments": "評論", + "meta.source": "來源", + "search.placeholder": "搜索", + "search.result.placeholder": "鍵入以開始檢索", + "search.result.none": "沒有找到符合條件的結果", + "search.result.one": "找到 1 个符合條件的結果", + "search.result.other": "# 個符合條件的結果", + "search.tokenizer": "[\,\。]+", + "source.link.title": "前往 Github 倉庫", + "toc.title": "目錄" +}[key] }}{% endmacro %}