Skip to content

Commit

Permalink
fix: update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChenL committed Apr 19, 2024
1 parent 7b38ae8 commit bddee75
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 37 deletions.
22 changes: 12 additions & 10 deletions po/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rsdk\n"
"POT-Creation-Date: 2024-04-18T12:00:57Z\n"
"POT-Creation-Date: 2024-04-19T07:04:05Z\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -264,26 +264,28 @@ msgstr ""

#: docs/tutorials/usage.md:19
msgid ""
"Select the task you want to run. You can use arrow key to navigate, use "
"Enter key to select, and use Escape key to leave current window. In this "
"example, we will choose `Build system image`:"
"Select the task you want to run. \n"
"You can use arrow key to navigate, use Enter key to select, and use Escape "
"key to leave current window. \n"
"In this example, we will choose `Build system image`:"
msgstr ""

#: docs/tutorials/usage.md:36
msgid ""
"Select the product you want to build. You can use the space bar to select "
"the product, and the chosen product will have asterisk symbol placed in the "
"parentheses. **Enter key does not select the product when used alone!** In "
"this example, we will choose `rock-5b-6_1`:"
"Select the product you want to build. \n"
"You can use the space bar to select the product, and the chosen product will "
"have asterisk symbol placed in the parentheses. \n"
"**Enter key does not select the product when used alone!** \n"
"In this example, we will choose `rock-5b-6_1`:"
msgstr ""

#: docs/tutorials/usage.md:53
#: docs/tutorials/usage.md:54
msgid ""
"Select `Yes` to start the build process. `rsdk-tui` will then run the "
"associated CLI commands to complete the task:"
msgstr ""

#: docs/tutorials/usage.md:59
#: docs/tutorials/usage.md:60
msgid "'rock-5b-6_1'"
msgstr ""

Expand Down
49 changes: 22 additions & 27 deletions po/zh-CN.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rsdk\n"
"POT-Creation-Date: 2024-04-18T11:05:27Z\n"
"POT-Creation-Date: 2024-04-19T07:04:05Z\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: Language zh-CN\n"
Expand Down Expand Up @@ -60,7 +60,6 @@ msgid "rsdk-shell"
msgstr "rsdk-shell"

#: docs/SUMMARY.md:18

msgid "rsdk-build"
msgstr "rsdk-build"

Expand Down Expand Up @@ -274,7 +273,6 @@ msgid ""
msgstr "进入开发环境之后,您可以使用自动补全功能查询支持的命令列表。"

#: docs/tutorials/usage.md:9

msgid "Running a command with `--help` argument will display its help text."
msgstr "伴随 `--help` 参数运行命令时,将显示其帮助文本。"

Expand All @@ -287,7 +285,6 @@ msgid "`rsdk` command is the common CLI entry point."
msgstr "`rsdk` 命令是常用的 CLI 入口。"

#: docs/tutorials/usage.md:15

msgid "When it is run without any argument, `rsdk-tui` will be run instead."
msgstr "在不带任何参数的情况下运行时,将运行 `rsdk-tui`。"

Expand All @@ -297,33 +294,33 @@ msgstr "从终端执行 `rsdk` 来进入 TUI 向导模式。"

#: docs/tutorials/usage.md:19
msgid ""
"Select the task you want to run. You can use arrow key to navigate, use "
"Enter key to select, and use Escape key to leave current window. In this "
"example, we will choose `Build system image`:"
"Select the task you want to run. \n"
"You can use arrow key to navigate, use Enter key to select, and use Escape "
"key to leave current window. \n"
"In this example, we will choose `Build system image`:"
msgstr ""
"选择要运行的任务。您可以使用箭头键导航,使用"
"回车键进行选择,使用 Escape 键离开当前窗口。在这个"
"示例中,我们将选择 `Build system image`:"
"选择要运行的任务。 \n您可以使用方向键导航,使用回车键进行选择,"
"使用 Escape 键离开当前窗口。 \n在这个示例中,我们将选择 `Build system image`:"

#: docs/tutorials/usage.md:36
msgid ""
"Select the product you want to build. You can use the space bar to select "
"the product, and the chosen product will have asterisk symbol placed in the "
"parentheses. **Enter key does not select the product when used alone!** In "
"this example, we will choose `rock-5b-6_1`:"
"Select the product you want to build. \n"
"You can use the space bar to select the product, and the chosen product will "
"have asterisk symbol placed in the parentheses. \n"
"**Enter key does not select the product when used alone!** \n"
"In this example, we will choose `rock-5b-6_1`:"
msgstr ""
"选择想要构建的产品。您可以使用空格键选择产品,选择的产品将在括号出现星号。"
"**只使用回车键不会选择产品!**在本例中,我们将选择 `rock-5b-6_1`:"
"选择想要构建的产品。 \n您可以使用空格键选择产品,选择的产品将在括号出现星号。 \n"
"**只使用回车键不会选择产品!** \n在本例中,我们将选择 `rock-5b-6_1`:"

#: docs/tutorials/usage.md:53
#: docs/tutorials/usage.md:54
msgid ""
"Select `Yes` to start the build process. `rsdk-tui` will then run the "
"associated CLI commands to complete the task:"
msgstr ""
"选择 `Yes`,启动构建程序。然后 `rsdk-tui` 将运行"
"相关的 CLI 命令来完成任务:"
"选择 `Yes`,启动构建程序。然后 `rsdk-tui` 将运行相关的 CLI 命令来完成任务:"

#: docs/tutorials/usage.md:59
#: docs/tutorials/usage.md:60
msgid "'rock-5b-6_1'"
msgstr "'rock-5b-6_1'"

Expand Down Expand Up @@ -409,12 +406,11 @@ msgid ""
"Some enhancements (for example, bash completion and shell prompt) may not be "
"available outside of `rsdk shell` by default."
msgstr ""
"建议先运行 `rsdk shell` 设置工作环境,然后再运行其他命令。\n"
"不过,大多数命令都能顺利运行。\n"
"在 `rsdk shell` 之外,某些增强功能(例如,bash 补全和 shell 提示)在默认情况下可能不可用。"
"建议先运行 `rsdk shell` 设置工作环境,然后再运行其他命令。 \n"
"不过,大多数命令都能顺利运行。 \n在 `rsdk shell` 之外,"
"某些增强功能(例如,bash 补全和 shell 提示)在默认情况下可能不可用。"

#: docs/cmd/rsdk-build.md:3

msgid "Build RadxaOS image"
msgstr "构建 RadxaOS 镜像"

Expand All @@ -426,12 +422,11 @@ msgid ""
"Using ROCK 3C as an example, if you want to build a CLI image for RadxaOS "
"Bullseye, you can run the following command:"
msgstr ""
"当没有提供套件或版本参数时,`rsdk-build` 将使用特定产品的默认值,
这些默认值定义在 `src/share/rsdk/configs/products.json` 中相应数组的第一个元素。\n"
"当没有提供套件或版本参数时,`rsdk-build` 将使用特定产品的默认值,这些默认值定义在"
" `src/share/rsdk/configs/products.json` 中相应数组的第一个元素。 \n"
"以 ROCK 3C 为例,如果要为 RadxaOS Bullseye 构建 CLI 映像,可以运行以下命令:"

#: docs/cmd/rsdk-build.md:12

msgid "RadxaOS output path"
msgstr "RadxaOS 镜像输出路径"

Expand Down

0 comments on commit bddee75

Please sign in to comment.