Switch language name 'zh' to 'zh-cn'
This is the first step to rename 'zh' to 'zh-cn'. There are several reasons why we rename the language name.
- The upstream docsy theme changed the language name, leading to many warnings during site build;
The side-effect is that the i18n strings are no longer working.
- We believe renaming the language is the right thing to do, because this move can make room for other variants of Chinese language, such as 'zh-tw', 'zh-sg' etc.
There would be several follow-ups to this PR, such as fixing the intra-site links, adding redirects etc.
We will lock up changes to zh/zh-cn pages for the moment, until this one gets in.
This PR is based on commit cdad0a7342.
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
---
|
||||
title: 合作伙伴
|
||||
bigheader: Kubernetes 合作伙伴
|
||||
abstract: 发展 Kubernetes 生态圈
|
||||
class: gridPage
|
||||
cid: partners
|
||||
---
|
||||
|
||||
<!--
|
||||
title: Partners
|
||||
bigheader: Kubernetes Partners
|
||||
abstract: Growing the Kubernetes ecosystem.
|
||||
class: gridPage
|
||||
cid: partners
|
||||
-->
|
||||
|
||||
<section id="users">
|
||||
<main class="main-section">
|
||||
<!-- <h5>Kubernetes works with partners to create a strong, vibrant codebase that supports a spectrum of complementary platforms.</h5> -->
|
||||
<h5>Kubernetes 与合作伙伴携手打造一个强大、活跃的代码库,支持一系列互补平台。</h5>
|
||||
<div class="col-container">
|
||||
<div class="col-nav">
|
||||
<center>
|
||||
<h5>
|
||||
<!-- <b>Kubernetes Certified Service Providers</b> -->
|
||||
<b>Kubernetes 认证服务提供商</b>
|
||||
</h5>
|
||||
<!-- <br>Vetted service providers with deep experience helping enterprises successfully adopt Kubernetes. -->
|
||||
<br>经过审核的服务提供商在帮助企业成功采用 Kubernetes 方面有深厚的经验。
|
||||
<br><br><br>
|
||||
<!-- <button id="kcsp" class="button" onClick="updateSrc(this.id)">See KCSP Partners</button> -->
|
||||
<button id="kcsp" class="button" onClick="updateSrc(this.id)">参见 KCSP 合作伙伴</button>
|
||||
<!-- <br><br>Interested in becoming a <a href="https://www.cncf.io/certification/kcsp/">KCSP</a>? -->
|
||||
<br><br>想要成为<a href="https://www.cncf.io/certification/kcsp/">KCSP</a>吗?
|
||||
</center>
|
||||
</div>
|
||||
<div class="col-nav">
|
||||
<center>
|
||||
<h5>
|
||||
<!-- b>Certified Kubernetes Distributions, Hosted Platforms, and Installers</b -->
|
||||
<b>Kubernetes 认证的发行版本、托管平台以及安装工具</b>
|
||||
<!-- </h5>Software conformance ensures that every vendor’s version of Kubernetes supports the required APIs. -->
|
||||
</h5>软件合规性确保各厂商的 Kubernetes 版本都支持必需的 API。
|
||||
<br><br><br>
|
||||
<!-- <button id="conformance" class="button" onClick="updateSrc(this.id)">See Conformance Partners</button> -->
|
||||
<button id="conformance" class="button" onClick="updateSrc(this.id)">参见合规性合作伙伴</button>
|
||||
<!-- <br><br>Interested in becoming<a href="https://www.cncf.io/certification/software-conformance/">Kubernetes Certified</a>? -->
|
||||
<br><br>想要成为<a href="https://www.cncf.io/certification/software-conformance/">Kubernetes 认证的厂商</a>吗?
|
||||
</center>
|
||||
</div>
|
||||
<div class="col-nav">
|
||||
<center>
|
||||
<!-- <h5><b>Kubernetes Training Partners</b></h5> -->
|
||||
<h5><b>Kubernetes 培训合作伙伴</b></h5>
|
||||
<!-- <br>Vetted training providers who have deep experience in cloud native technology training. -->
|
||||
<br>经过审核的培训机构在云原生技术培训方面有深厚的经验。
|
||||
<br><br><br><br>
|
||||
<!-- <button id="ktp" class="button" onClick="updateSrc(this.id)">See KTP Partners</button> -->
|
||||
<button id="ktp" class="button" onClick="updateSrc(this.id)">参见 KTP 合作伙伴</button>
|
||||
<!-- <br><br>Interested in becoming a <a href="https://www.cncf.io/certification/training/">KTP</a>? -->
|
||||
<br><br>想要成为<a href="https://www.cncf.io/certification/training/">KTP</a>吗?
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var defaultLink = "https://landscape.cncf.io/category=kubernetes-certified-service-provider&format=card-mode&grouping=category&embed=yes";
|
||||
var firstLink = "https://landscape.cncf.io/category=certified-kubernetes-distribution,certified-kubernetes-hosted,certified-kubernetes-installer&format=card-mode&grouping=category&embed=yes";
|
||||
var secondLink = "https://landscape.cncf.io/category=kubernetes-training-partner&format=card-mode&grouping=category&embed=yes";
|
||||
|
||||
function updateSrc(buttonId) {
|
||||
if (buttonId == "kcsp") {
|
||||
$("#landscape").attr("src",defaultLink);
|
||||
window.location.hash = "#kcsp";
|
||||
}
|
||||
if (buttonId == "conformance") {
|
||||
$("#landscape").attr("src",firstLink);
|
||||
window.location.hash = "#conformance";
|
||||
}
|
||||
if (buttonId == "ktp") {
|
||||
$("#landscape").attr("src",secondLink);
|
||||
window.location.hash = "#ktp";
|
||||
}
|
||||
}
|
||||
|
||||
// Automatically load the correct iframe based on the URL fragment
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var showContent = "kcsp";
|
||||
if (window.location.hash) {
|
||||
console.log('hash is:', window.location.hash.substring(1));
|
||||
showContent = window.location.hash.substring(1);
|
||||
}
|
||||
updateSrc(showContent);
|
||||
});
|
||||
</script>
|
||||
<body>
|
||||
<div id="frameHolder">
|
||||
<iframe id="landscape" title="CNCF Landscape" frameBorder="0" scrolling="no" style="width: 1px; min-width: 100%" src=""></iframe>
|
||||
<script src="https://landscape.cncf.io/iframeResizer.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
</main>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
{{< include "partner-style.css" >}}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user