Skip to content

Commit 7421a77

Browse files
fix: translate names in code block (#1528)
Co-authored-by: Xavi Lee <xavilee2002@outlook.com>
1 parent 1d48bdc commit 7421a77

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/content/learn/rendering-lists.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,24 +105,24 @@ Warning: Each child in a list should have a unique "key" prop.
105105
```js
106106
const people = [{
107107
id: 0,
108-
name: 'Creola Katherine Johnson',
109-
profession: 'mathematician',
108+
name: '凯瑟琳·约翰逊',
109+
profession: '数学家',
110110
}, {
111111
id: 1,
112-
name: 'Mario José Molina-Pasquel Henríquez',
113-
profession: 'chemist',
112+
name: '马里奥·莫利纳',
113+
profession: '化学家',
114114
}, {
115115
id: 2,
116-
name: 'Mohammad Abdus Salam',
117-
profession: 'physicist',
116+
name: '穆罕默德·阿卜杜勒·萨拉姆',
117+
profession: '物理学家',
118118
}, {
119119
id: 3,
120-
name: 'Percy Lavon Julian',
121-
profession: 'chemist',
120+
name: '珀西·莱温·朱利亚',
121+
profession: '化学家',
122122
}, {
123123
id: 4,
124-
name: 'Subrahmanyan Chandrasekhar',
125-
profession: 'astrophysicist',
124+
name: '苏布拉马尼扬·钱德拉塞卡',
125+
profession: '天体物理学家',
126126
}];
127127
```
128128

0 commit comments

Comments
 (0)