From e793baa0d2d04c26e465f377fa661ec62539141c Mon Sep 17 00:00:00 2001 From: Wen Junhua Date: Tue, 6 Feb 2024 22:36:03 +0800 Subject: [PATCH] fix: add chinese language fix --- exampleSite/config/_default/languages.zh-CN.toml | 2 +- exampleSite/content/{_index.zh-cn.md => _index.zh-han.md} | 0 i18n/{zh-CN.yaml => zh-Han.yaml} | 0 i18n/{zh-TW.yaml => zh-Hant.yaml} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename exampleSite/content/{_index.zh-cn.md => _index.zh-han.md} (100%) rename i18n/{zh-CN.yaml => zh-Han.yaml} (100%) rename i18n/{zh-TW.yaml => zh-Hant.yaml} (100%) diff --git a/exampleSite/config/_default/languages.zh-CN.toml b/exampleSite/config/_default/languages.zh-CN.toml index 31cba1cf..d3ac63cf 100644 --- a/exampleSite/config/_default/languages.zh-CN.toml +++ b/exampleSite/config/_default/languages.zh-CN.toml @@ -1,4 +1,4 @@ -languageCode = "zh-CN" +languageCode = "zh-Han" languageName = "简体中文" languageDirection = "ltr" weight = 2 diff --git a/exampleSite/content/_index.zh-cn.md b/exampleSite/content/_index.zh-han.md similarity index 100% rename from exampleSite/content/_index.zh-cn.md rename to exampleSite/content/_index.zh-han.md diff --git a/i18n/zh-CN.yaml b/i18n/zh-Han.yaml similarity index 100% rename from i18n/zh-CN.yaml rename to i18n/zh-Han.yaml diff --git a/i18n/zh-TW.yaml b/i18n/zh-Hant.yaml similarity index 100% rename from i18n/zh-TW.yaml rename to i18n/zh-Hant.yaml