From 5ef3bf0d28b6a388f5fc4ede7120b80ccf8aa8e2 Mon Sep 17 00:00:00 2001 From: newbe36524 Date: Fri, 5 Mar 2021 12:09:35 +0800 Subject: [PATCH] Change name of submodule --- .gitmodules | 4 ++-- daprdocs/config.toml | 14 +++++++------- {l18n => translations}/docs-zh | 0 3 files changed, 9 insertions(+), 9 deletions(-) rename {l18n => translations}/docs-zh (100%) diff --git a/.gitmodules b/.gitmodules index 53189ae90..3d8a47fd8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,7 +10,7 @@ [submodule "sdkdocs/dotnet"] path = sdkdocs/dotnet url = https://github.com/dapr/dotnet-sdk.git -[submodule "l18n/docs-zh"] - path = l18n/docs-zh +[submodule "translations/docs-zh"] + path = translations/docs-zh url = https://github.com/dapr/docs-zh.git branch = v1.0_content diff --git a/daprdocs/config.toml b/daprdocs/config.toml index 7957dd23c..8348915d3 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -12,12 +12,12 @@ languageCode = "en-us" [languages] [languages.en] - title = "English" + title = "Dapr Docs" weight = 1 contentDir = "content/en" languageName = "English" [languages.zh-hans] - title = "简体中文" + title = "Dapr 文档库" weight = 2 contentDir = "content/zh-hans" languageName = "简体中文" @@ -73,23 +73,23 @@ id = "UA-149338238-3" lang = "en" [[module.mounts]] - source = "../l18n/docs-zh/content/zh-hans" + source = "../translations/docs-zh/content/zh-hans" target = "content" lang = "zh-hans" [[module.mounts]] - source = "../l18n/docs-zh/content/contributing" + source = "../translations/docs-zh/content/contributing" target = "content/contributing/" lang = "zh-hans" [[module.mounts]] - source = "../l18n/docs-zh/content/sdks_python" + source = "../translations/docs-zh/content/sdks_python" target = "content/developing-applications/sdks/python" lang = "zh-hans" [[module.mounts]] - source = "../l18n/docs-zh/content/sdks_php" + source = "../translations/docs-zh/content/sdks_php" target = "content/developing-applications/sdks/php" lang = "zh-hans" [[module.mounts]] - source = "../l18n/docs-zh/content/sdks_dotnet" + source = "../translations/docs-zh/content/sdks_dotnet" target = "content/developing-applications/sdks/dotnet" lang = "zh-hans" diff --git a/l18n/docs-zh b/translations/docs-zh similarity index 100% rename from l18n/docs-zh rename to translations/docs-zh