1
0
mirror of synced 2024-11-27 17:10:51 +01:00
ImHex/plugins/windows/source/lang/zh_CN.cpp
xtex eb779c5986
i18n: more zh_CN, fix: crashes when connecting with no COM port, feat: remove View suffix for view menu (#305)
* fix: crashes when connecting with no COM port

* feat: remove `View` suffix for view menu

* i18n: add more to Chinese(Simplified)

* Revert "Merge branch 'master' of github.com:xtexChooser/ImHex"

This reverts commit 8afcfe8f9d, reversing
changes made to 7651ad6661.
2021-09-21 21:30:52 +02:00

32 lines
1.7 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include <hex/api/content_registry.hpp>
#include <hex/helpers/lang.hpp>
namespace hex::plugin::windows {
void registerLanguageZhCN() {
ContentRegistry::Language::addLocalizations("zh-CN", {
{ "hex.windows.view.tty_console.name", "TTY控制台" },
{ "hex.windows.view.tty_console.config", "配置"},
{ "hex.windows.view.tty_console.port", "端口" },
{ "hex.windows.view.tty_console.reload", "刷新" },
{ "hex.windows.view.tty_console.baud", "波特率" },
{ "hex.windows.view.tty_console.num_bits", "数据位" },
{ "hex.windows.view.tty_console.stop_bits", "终止位" },
{ "hex.windows.view.tty_console.parity_bits", "奇偶校验位" },
{ "hex.windows.view.tty_console.cts", "使用CTS流控制" },
{ "hex.windows.view.tty_console.connect", "连接" },
{ "hex.windows.view.tty_console.disconnect", "断开" },
{ "hex.windows.view.tty_console.connect_error", "无法连接到COM端口" },
{ "hex.windows.view.tty_console.no_available_port", "未选择有效的COM端口或无可用COM端口" },
{ "hex.windows.view.tty_console.clear", "清除" },
{ "hex.windows.view.tty_console.auto_scroll", "自动滚动" },
{ "hex.windows.view.tty_console.console", "控制台" },
{ "hex.windows.view.tty_console.send_etx", "发送ETX" },
{ "hex.windows.view.tty_console.send_eot", "发送EOT" },
{ "hex.windows.view.tty_console.send_sub", "发送SUB" }
});
}
}