Skip to content

Commit 6dbf0cf

Browse files
committed
[zh]Update content/zh/examples/README.md
1 parent a49bb7f commit 6dbf0cf

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

content/en/examples/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ where `<lang>` is the two character representation of a language. For example:
99
```
1010
go test k8s.io/website/content/en/examples
1111
```
12-

content/zh/examples/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
注意:这些测试是从 kubernetes 导入的代码实际上并不打算在存储库之外使用。
2-
这就导致了供应商依赖问题。因此,我们必须在 travis 配置这些行:
31
<!--
4-
Note: These tests are importing code from kubernetes that isn't really
5-
meant to be used outside the repo. This causes vendoring problems. As
6-
a result, we have to work around those with these lines in the travis
7-
config:
2+
To run the tests for a localization, use the following command:
83
-->
4+
要运行本地化测试,请使用以下命令:
95

106
```
11-
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
12-
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
13-
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
14-
- cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
15-
- rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
16-
- cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/
7+
go test k8s.io/website/content/<lang>/examples
8+
```
9+
10+
<!--
11+
where `<lang>` is the two character representation of a language. For example:
12+
-->
13+
其中 `<lang>` 是用两个字符表示一种语言。例如:
14+
15+
```
16+
go test k8s.io/website/content/en/examples
1717
```

0 commit comments

Comments
 (0)