chore(i18n,learn): processed translations (#51494)

This commit is contained in:
camperbot
2023-09-06 12:29:19 -07:00
committed by GitHub
parent 7903cb9a8e
commit d18eae0589
127 changed files with 878 additions and 618 deletions

View File

@@ -45,16 +45,16 @@ ourStorage.desk.drawer;
assert(gloveBoxContents === 'maps');
```
你的代码应该使用点号和方括号来访问 `myStorage`
Your code should use dot notation, where possible, to access `myStorage`.
```js
assert(/=\s*myStorage\.car\.inside\[\s*("|')glove box\1\s*\]/g.test(code));
assert.match(code, /myStorage\.car\.inside/);
```
应该用 `const` 声明 `gloveBoxContents`
```js
assert.match(code, /const\s+gloveBoxContents\s*=/)
assert.match(code, /const\s+gloveBoxContents\s*=\s*myStorage\.car\.inside\[\s*("|')glove box\1\s*\]|const\s*{\s*('|")glove box\2:\s*gloveBoxContents\s*}\s*=\s*myStorage\.car\.inside;/);
```
# --seed--