mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 08:22:54 +00:00
Merge pull request #2625 from weili520/translate_error
fix: The prompt text of the demo is not translated
This commit is contained in:
commit
7db31b393c
|
|
@ -34,7 +34,8 @@ facebookLink = "https://www.facebook.com/kubesphere"
|
|||
twitterLink = "https://twitter.com/KubeSphere"
|
||||
mediumLink = "https://itnext.io/@kubesphere"
|
||||
linkedinLink = "https://www.linkedin.com/company/kubesphere/"
|
||||
|
||||
DemoLinkEn = "https://kubesphere.cloud/en/console/managed-cluster/"
|
||||
DemoLinkZh = "https://kubesphere.cloud/console/managed-cluster/"
|
||||
|
||||
[languages.en]
|
||||
contentDir = "content/en"
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@ addBaiduAnalytics = true
|
|||
|
||||
bilibiliLink = "https://space.bilibili.com/438908638"
|
||||
|
||||
DemoLink = "https://kubesphere.cloud/console/managed-cluster/"
|
||||
|
||||
[languages.en.params]
|
||||
useSendcloud = true
|
||||
mailchimpSubscribeUrl = "https://www.sendcloud.net/v3/api/subInvite/subscription?invitecode=1dc5a4fb-894c-4470-b01d-ca7fa9d47a46"
|
||||
|
|
|
|||
|
|
@ -8,5 +8,4 @@ hotjarTracking = true
|
|||
youtubeLink = "https://www.youtube.com/c/KubeSphere"
|
||||
addLinkedin = true
|
||||
addTwitter = true
|
||||
useSendcloud = false
|
||||
DemoLink = "https://kubesphere.cloud/en/console/managed-cluster/"
|
||||
useSendcloud = false
|
||||
|
|
@ -41,7 +41,9 @@
|
|||
- id: demo content 2
|
||||
translation: 2.进入管理控制台,点击创建托管集群服务。
|
||||
- id: demo content 3
|
||||
translation: 3.使用默认账户和密码 (admin/P@88word)登录 KubeSphere。
|
||||
translation: 3.新建一个安装了 KubeSphere 的 K8s 集群。
|
||||
- id: demo content 4
|
||||
translation: 4.使用默认账户和密码 (admin/P@88word)登录 KubeSphere。
|
||||
- id: Coming Soon
|
||||
translation: Coming Soon
|
||||
- id: Read More
|
||||
|
|
|
|||
|
|
@ -77,15 +77,20 @@
|
|||
{{ end }}
|
||||
</li>
|
||||
<li class='btn-li'>
|
||||
<a href="{{ .Site.Params.DemoLink }}" target="_blank" rel="noopener noreferrer">
|
||||
<button class="demo-btn">{{ i18n "Demo" }} →</button>
|
||||
</a>
|
||||
{{ if eq .Site.Language.Lang "zh"}}
|
||||
<a href="{{ .Site.Params.DemoLinkZh }}" target="_blank" rel="noopener noreferrer">
|
||||
<button class="demo-btn">{{ i18n "Demo" }} →</button>
|
||||
</a>
|
||||
{{ else }}
|
||||
<a href="{{ .Site.Params.DemoLinkEn }}" target="_blank" rel="noopener noreferrer">
|
||||
<button class="demo-btn">{{ i18n "Demo" }} →</button>
|
||||
</a>
|
||||
{{ end }}
|
||||
<ol class="dropdown-menu">
|
||||
<li>{{ i18n "demo content 1" }}</li>
|
||||
<li>{{ i18n "demo content 2" }}</li>
|
||||
<li>{{ i18n "demo content 3" }}</li>
|
||||
<li>{{ i18n "demo content 4" }}</li>
|
||||
<li>{{ i18n "demo content 5" }}</li>
|
||||
</ol>
|
||||
</li>
|
||||
<!-- <li class='link-li'>
|
||||
|
|
|
|||
Loading…
Reference in New Issue