diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-04-21 23:38:30 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-04-21 23:38:30 +0200 |
commit | 821203777d6844538df12b72be4ec2d651d02bb9 (patch) | |
tree | 8c66ee5f97262c6b78e1f73b86e48b53dc9e19e5 | |
parent | 357de9eb39328cc338df2c7bc125653ab0f62616 (diff) |
Rename 'cn' locale to 'zh', cn code is unassigned
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | exampleSite/config.yaml | 4 | ||||
-rw-r--r-- | exampleSite/content.zh/_index.md (renamed from exampleSite/content.cn/_index.md) | 0 | ||||
-rw-r--r-- | i18n/zh.yaml (renamed from i18n/cn.yaml) | 0 |
4 files changed, 4 insertions, 4 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 93325cf..424d320 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -31,9 +31,9 @@ enableGitInfo = true contentDir = 'content.ru' weight = 2 -[languages.cn] +[languages.zh] languageName = 'Chinese' - contentDir = 'content.cn' + contentDir = 'content.zh' weight = 3 [menu] diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index bf05b2a..2a4bc33 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -29,9 +29,9 @@ languages: languageName: Russian contentDir: content.ru weight: 2 - cn: + zh: languageName: Chinese - contentDir: content.cn + contentDir: content.zh weight: 3 menu: diff --git a/exampleSite/content.cn/_index.md b/exampleSite/content.zh/_index.md index 3e99823..3e99823 100644 --- a/exampleSite/content.cn/_index.md +++ b/exampleSite/content.zh/_index.md diff --git a/i18n/cn.yaml b/i18n/zh.yaml index 6f326d1..6f326d1 100644 --- a/i18n/cn.yaml +++ b/i18n/zh.yaml |