Skip to content

Commit 78f3391

Browse files
authored
Merge pull request #49956 from my-git9/np-22693
[zh-cn]sync diagram-guide page-content-types
2 parents c042dcd + 20f514b commit 78f3391

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

content/zh-cn/docs/contribute/style/diagram-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ Here is the `{{</* figure */>}}` shortcode for the diagram defined in an
10601060
`.svg` image file saved to `/images/docs/components-of-kubernetes.svg`:
10611061
10621062
```none
1063-
{{</* figure src="/images/docs/components-of-kubernetes.svg" alt="Kubernetes pod running inside a cluster" class="diagram-large" caption="Figure 4. Kubernetes Architecture Components */>}}
1063+
{{</* figure src="/images/docs/components-of-kubernetes.svg" alt="Kubernetes pod running inside a cluster" class="diagram-large" caption="Figure 4. Kubernetes Architecture Components" */>}}
10641064
```
10651065
-->
10661066
**图表本身**

content/zh-cn/docs/contribute/style/page-content-types.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,21 +105,21 @@ You can declare a `prerequisites` heading as follows:
105105

106106
<!--
107107
The `heading` shortcode expects one string parameter.
108-
The heading string parameter matches the prefix of a variable in the `i18n/<lang>.toml` files.
108+
The heading string parameter matches the prefix of a variable in the `i18n/<lang>/<lang>.toml` files.
109109
For example:
110110
-->
111111
短代码 `heading` 需要一个字符串参数。
112-
该字符串参数要与 `i18n/<语言>.toml` 文件中以其为前缀的某个变量匹配。
112+
该字符串参数要与 `i18n/<语言>/<语言>.toml` 文件中以其为前缀的某个变量匹配。
113113
例如:
114114

115-
`i18n/en.toml`:
115+
`i18n/en/en.toml`:
116116

117117
```toml
118118
[whatsnext_heading]
119119
other = "What's next"
120120
```
121121

122-
`i18n/ko.toml`:
122+
`i18n/ko/ko.toml`:
123123

124124
```toml
125125
[whatsnext_heading]

0 commit comments

Comments
 (0)