chore(i18n,curriculum): update translations (#42930)

This commit is contained in:
camperbot
2021-07-19 22:22:21 +05:30
committed by GitHub
parent 31486b368b
commit 7dcb77fa6f
124 changed files with 727 additions and 727 deletions

View File

@@ -26,15 +26,15 @@ name=John+Doe&age=25
# --instructions--
`package.json` 中安裝 `body-parser` 模塊, 然後在文件頂部 `require` 進來, 用變量 `bodyParser` 保存它。 通過中間件的 `bodyParser.urlencoded({extended: false})` 方法處理 URL 編碼數據, Pass the function returned by the previous method call to `app.use()`. As usual, the middleware must be mounted before all the routes that depend on it.
`package.json` 中安裝 `body-parser` 模塊, 然後在文件頂部 `require` 進來, 用變量 `bodyParser` 保存它。 通過中間件的 `bodyParser.urlencoded({extended: false})` 方法處理 URL 編碼數據, 將通過先前的方法調用返回的函數傳遞到 `app.use()`。 中間件通常掛載在所有需要它的路由之前。
**Note:** `extended` is a configuration option that tells `body-parser` which parsing needs to be used. When `extended=false` it uses the classic encoding `querystring` library. When `extended=true` it uses `qs` library for parsing.
**注意:** `extended` 是一個配置選項, 告訴 `body-parser` 需要使用哪個解析。 當 `extended=false` 時,它使用經典編碼 `querystring` 庫。 當 `extended=true`時,它使用 `qs` 庫進行解析。
When using `extended=false`, values can be only strings or arrays. The object returned when using `querystring` does not prototypically inherit from the default JavaScript `Object`, which means functions like `hasOwnProperty`, `toString` will not be available. The extended version allows more data flexibility, but it is outmatched by JSON.
當使用 `extended=false` 時,值可以只是字符串或數組。 使用 `querystring` 時返回的對象並不繼承的 JavaScript `Object`,這意味着 `hasOwnProperty``toString` 等函數將不可用。 拓展版本的數據更加靈活,但稍遜於 JSON
# --hints--
The 'body-parser' middleware should be mounted
應該掛載 “body-parser” 中間件
```js
(getUserInput) =>