2021-09-20 18:41:22 +02:00
|
|
|
#include <hex/api/content_registry.hpp>
|
2022-02-01 18:09:40 +01:00
|
|
|
#include <hex/api/localization.hpp>
|
2021-09-20 18:41:22 +02:00
|
|
|
|
|
|
|
namespace hex::plugin::windows {
|
|
|
|
|
|
|
|
void registerLanguageZhCN() {
|
|
|
|
ContentRegistry::Language::addLocalizations("zh-CN", {
|
2022-02-02 00:36:09 +01:00
|
|
|
{ "hex.windows.title_bar_button.feedback", "反馈" },
|
|
|
|
{ "hex.windows.title_bar_button.debug_build", "调试构建"},
|
|
|
|
|
2022-06-28 08:39:30 +02:00
|
|
|
{ "hex.windows.view.tty_console.name", "TTY 控制台" },
|
2021-09-20 18:41:22 +02:00
|
|
|
{ "hex.windows.view.tty_console.config", "配置"},
|
|
|
|
{ "hex.windows.view.tty_console.port", "端口" },
|
2021-09-21 21:30:52 +02:00
|
|
|
{ "hex.windows.view.tty_console.reload", "刷新" },
|
2021-09-20 18:41:22 +02:00
|
|
|
{ "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", "奇偶校验位" },
|
2022-06-28 08:39:30 +02:00
|
|
|
{ "hex.windows.view.tty_console.cts", "使用 CTS 流控制" },
|
2021-09-20 18:41:22 +02:00
|
|
|
{ "hex.windows.view.tty_console.connect", "连接" },
|
|
|
|
{ "hex.windows.view.tty_console.disconnect", "断开" },
|
2022-06-28 08:39:30 +02:00
|
|
|
{ "hex.windows.view.tty_console.connect_error", "无法连接到 COM 端口!" },
|
|
|
|
{ "hex.windows.view.tty_console.no_available_port", "未选择有效的 COM 端口或无可用 COM 端口!" },
|
2021-09-20 18:41:22 +02:00
|
|
|
{ "hex.windows.view.tty_console.clear", "清除" },
|
|
|
|
{ "hex.windows.view.tty_console.auto_scroll", "自动滚动" },
|
|
|
|
{ "hex.windows.view.tty_console.console", "控制台" },
|
2022-06-28 08:39:30 +02:00
|
|
|
{ "hex.windows.view.tty_console.send_etx", "发送 ETX" },
|
|
|
|
{ "hex.windows.view.tty_console.send_eot", "发送 EOT" },
|
|
|
|
{ "hex.windows.view.tty_console.send_sub", "发送 SUB" },
|
2021-09-20 18:41:22 +02:00
|
|
|
|
2022-01-29 01:21:52 +01:00
|
|
|
{ "hex.builtin.setting.general.context_menu_entry", "窗口上下文菜单项" },
|
2021-09-20 18:41:22 +02:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|