From c7a745e0870fa059acdccd71520bf08b4f90c014 Mon Sep 17 00:00:00 2001 From: ezirmusitua Date: Sun, 19 Nov 2023 16:23:29 +0800 Subject: [PATCH] apply suggestion https://github.com/WasmEdge/docs/pull/185\#discussion_r1392621661 Signed-off-by: ezirmusitua --- .../current/start/build-and-run/cli.md | 2 +- .../current/start/getting-started/quick_start.md | 6 +++--- .../current/start/getting-started/quick_start_docker.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/start/build-and-run/cli.md b/i18n/zh/docusaurus-plugin-content-docs/current/start/build-and-run/cli.md index a614a56d..3699374d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/start/build-and-run/cli.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/start/build-and-run/cli.md @@ -20,7 +20,7 @@ sidebar_position: 1 ```bash $ wasmedge -v -wasmedge 版本 {{ wasmedge_version }} +wasmedge version {{ wasmedge_version }} ``` 用户可以运行 `wasmedge -h` 快速了解命令行选项,或者[在这里查看详细的 `wasmedge` CLI 选项](#选项)。`wasmedge` 工具的用法将是: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/start/getting-started/quick_start.md b/i18n/zh/docusaurus-plugin-content-docs/current/start/getting-started/quick_start.md index a3305c55..8779ca99 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/start/getting-started/quick_start.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/start/getting-started/quick_start.md @@ -80,14 +80,14 @@ wget https://github.com/second-state/rust-examples/releases/latest/download/serv ```bash $ wasmedge server.wasm -监听在 http://0.0.0.0:8080 +Listening on http://0.0.0.0:8080 ``` 从另一个终端窗口执行以下步骤。 ```bash $ curl http://localhost:8080/ -尝试将数据 POST 到 /echo,如: `curl localhost:8080/echo -XPOST -d 'hello world'` +Try POSTing data to /echo such as: `curl localhost:8080/echo -XPOST -d 'hello world'` $ curl http://localhost:8080/echo -X POST -d "Hello WasmEdge" Hello WasmEdge @@ -135,7 +135,7 @@ wget https://raw.githubusercontent.com/second-state/wasmedge-quickjs/main/exampl ```bash $ wasmedge --dir .:. wasmedge_quickjs.wasm server.js -监听 8080 ... +Listening on 8080 ... ``` 从另一个终端窗口执行以下步骤。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/start/getting-started/quick_start_docker.md b/i18n/zh/docusaurus-plugin-content-docs/current/start/getting-started/quick_start_docker.md index e493d8b4..62a75e72 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/start/getting-started/quick_start_docker.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/start/getting-started/quick_start_docker.md @@ -54,14 +54,14 @@ Hello WasmEdge! ```bash $ docker run -dp 8080:8080 --rm --runtime=io.containerd.wasmedge.v1 --platform=wasi/wasm secondstate/rust-example-server:latest -正在监听 http://0.0.0.0:8080 +Listening on http://0.0.0.0:8080 ``` 在另一个终端窗口中执行以下操作。 ```bash $ curl http://localhost:8080/ -尝试对 /echo 发送数据,如: `curl localhost:8080/echo -XPOST -d 'hello world'` +Try POSTing data to /echo such as: `curl localhost:8080/echo -XPOST -d 'hello world'` $ curl http://localhost:8080/echo -X POST -d "Hello WasmEdge" Hello WasmEdge