1
0
mirror of synced 2024-11-12 10:10:53 +01:00

feat(i18n): update Chinese(Simplified) translation (#406)

* feat(i18n): update Chinese(Simplified) translation

* feat(i18n): update Chinese(Simplified) translation

* fix(i18n): cpp syntax error
This commit is contained in:
xtexChooser 2022-01-29 08:21:52 +08:00 committed by GitHub
parent 3cf9658a17
commit 3987a5df6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 46 deletions

View File

@ -17,14 +17,14 @@ namespace hex::plugin::builtin {
{ "hex.welcome.start.open_file", "打开文件" },
{ "hex.welcome.start.open_project", "打开工程" },
{ "hex.welcome.start.recent", "最近文件" },
//{ "hex.welcome.start.open_other", "Other Providers" },
{ "hex.welcome.start.open_other", "其他提供者" },
{ "hex.welcome.header.help", "帮助" },
{ "hex.welcome.help.repo", "GitHub仓库" },
{ "hex.welcome.help.repo.link", "https://imhex.werwolv.net/git" },
{ "hex.welcome.help.gethelp", "获得帮助" },
{ "hex.welcome.help.gethelp.link", "https://github.com/WerWolv/ImHex/discussions/categories/get-help" },
//{ "hex.welcome.help.discord", "Discord Server" },
//{ "hex.welcome.help.discord.link", "https://imhex.werwolv.net/discord" },
{ "hex.welcome.help.discord", "Discord服务器" },
{ "hex.welcome.help.discord.link", "https://imhex.werwolv.net/discord" },
{ "hex.welcome.header.plugins", "已加载插件" },
{ "hex.welcome.plugins.plugin", "插件" },
{ "hex.welcome.plugins.author", "作者" },
@ -79,16 +79,16 @@ namespace hex::plugin::builtin {
{ "hex.common.file", "文件" },
{ "hex.common.open", "打开" },
{ "hex.common.browse", "浏览..." },
//{ "hex.common.choose_file", "Choose file" },
{ "hex.common.choose_file", "选择文件" },
//{ "hex.message.file_handler_failed", "Failed to open file with registered file handler." },
{ "hex.message.file_handler_failed", "通过注册的文件处理器打开文件失败。" },
/* Builtin plugin features */
{ "hex.builtin.menu.file", "文件" },
{ "hex.builtin.menu.edit", "编辑" },
{ "hex.builtin.menu.view", "视图" },
//{ "hex.builtin.menu.layout", "Layout" },
{ "hex.builtin.menu.layout", "布局" },
{ "hex.builtin.menu.view.fps", "显示FPS" },
{ "hex.builtin.menu.view.demo", "显示ImGui演示" },
{ "hex.builtin.menu.help", "帮助" },
@ -115,8 +115,8 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.data_processor.menu.remove_selection", "移除已选" },
{ "hex.builtin.view.data_processor.menu.remove_node", "移除节点" },
{ "hex.builtin.view.data_processor.menu.remove_link", "移除链接" },
//{ "hex.builtin.view.data_processor.menu.file.load_processor", "Load data processor..." },
//{ "hex.builtin.view.data_processor.menu.file.save_processor", "Save data processor..." },
{ "hex.builtin.view.data_processor.menu.file.load_processor", "加载数据处理器..." },
{ "hex.builtin.view.data_processor.menu.file.save_processor", "保存数据处理器..." },
{ "hex.builtin.view.disassembler.name", "反汇编" },
{ "hex.builtin.view.disassembler.position", "位置" },
@ -141,13 +141,13 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.disassembler.mips.mips3", "MIPS III" },
{ "hex.builtin.view.disassembler.mips.micro", "Micro MIPS" },
{ "hex.builtin.view.disassembler.ppc.qpx", "Quad Processing Extensions" },
{ "hex.builtin.view.disassembler.ppc.spe", "Signal Processing Engine" },
//{ "hex.builtin.view.disassembler.ppc.booke", "Book-E" },
{ "hex.builtin.view.disassembler.ppc.qpx", "PowerPC四核处理扩展QPX" },
{ "hex.builtin.view.disassembler.ppc.spe", "PowerPC单核引擎SPE" },
{ "hex.builtin.view.disassembler.ppc.booke", "PowerPC Book-E" },
{ "hex.builtin.view.disassembler.sparc.v9", "Sparc V9" },
//{ "hex.builtin.view.disassembler.riscv.compressed", "Compressed" },
{ "hex.builtin.view.disassembler.riscv.compressed", "压缩的RISC-V" },
{ "hex.builtin.view.disassembler.m68k.000", "000" },
{ "hex.builtin.view.disassembler.m68k.010", "010" },
@ -175,8 +175,8 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.disassembler.mos65xx.65816_long_x", "65816 Long X" },
{ "hex.builtin.view.disassembler.mos65xx.65816_long_mx", "65816 Long MX" },
//{ "hex.builtin.view.disassembler.bpf.classic", "Classic" },
//{ "hex.builtin.view.disassembler.bpf.extended", "Extended" },
{ "hex.builtin.view.disassembler.bpf.classic", "传统BPFcBPF" },
{ "hex.builtin.view.disassembler.bpf.extended", "扩展BPFeBPF" },
{ "hex.builtin.view.disassembler.disassemble", "反汇编" },
{ "hex.builtin.view.disassembler.disassembling", "反汇编中..." },
@ -198,10 +198,10 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.help.about.source", "源代码位于GitHub:" },
{ "hex.builtin.view.help.about.donations", "赞助" },
{ "hex.builtin.view.help.about.thanks", "如果你喜欢我的工作,请赞助以帮助此项目继续前进。非常感谢 <3" },
//{ "hex.builtin.view.help.about.contributor", "Contributors" },
{ "hex.builtin.view.help.about.contributor", "贡献者" },
{ "hex.builtin.view.help.about.libs", "使用的库" },
{ "hex.builtin.view.help.about.paths", "ImHex目录" },
// "hex.builtin.view.help.about.license", "License" },
{ "hex.builtin.view.help.about.license", "许可证" },
{ "hex.builtin.view.help.documentation", "ImHex文档" },
{ "hex.builtin.view.help.pattern_cheat_sheet", "模式语言帮助"},
{ "hex.builtin.view.help.calc_cheat_sheet", "计算器帮助" },
@ -224,12 +224,12 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.hexeditor.script.script.title", "加载器脚本:打开脚本" },
{ "hex.builtin.view.hexeditor.script.file", "文件" },
{ "hex.builtin.view.hexeditor.script.file.title", "加载器脚本:打开文件" },
//{ "hex.builtin.view.hexeditor.processing", "Importing / Exporting" },
{ "hex.builtin.view.hexeditor.processing", "导入 / 导出" },
{ "hex.builtin.view.hexeditor.menu.file.open_file", "打开文件..." },
{ "hex.builtin.view.hexeditor.menu.file.open_recent", "打开最近" },
//{ "hex.builtin.view.hexeditor.menu.file.clear_recent", "Clear" },
//{ "hex.builtin.view.hexeditor.menu.file.open_other", "Open Other..." },
{ "hex.builtin.view.hexeditor.menu.file.clear_recent", "清除" },
{ "hex.builtin.view.hexeditor.menu.file.open_other", "打开其他..." },
{ "hex.builtin.view.hexeditor.menu.file.save", "保存" },
{ "hex.builtin.view.hexeditor.menu.file.save_as", "另存为..." },
{ "hex.builtin.view.hexeditor.menu.file.close", "关闭" },
@ -282,7 +282,7 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.hexeditor.menu.edit.bookmark", "添加书签" },
{ "hex.builtin.view.hexeditor.menu.edit.set_base", "设置基地址" },
{ "hex.builtin.view.hexeditor.menu.edit.resize", "修改大小..." },
//{ "hex.builtin.view.hexeditor.menu.edit.insert", "Insert..." },
{ "hex.builtin.view.hexeditor.menu.edit.insert", "插入..." },
{ "hex.builtin.view.information.name", "数据信息" },
{ "hex.builtin.view.information.control", "控制" },
@ -314,16 +314,16 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.pattern_editor.accept_pattern.pattern_language", "模式" },
{ "hex.builtin.view.pattern_editor.accept_pattern.question", "是否应用找到的模式?" },
{ "hex.builtin.view.pattern_editor.menu.file.load_pattern", "加载模式文件..." },
//{ "hex.builtin.view.pattern_editor.menu.file.save_pattern", "Save pattern..." },
{ "hex.builtin.view.pattern_editor.menu.file.save_pattern", "保存模式文件..." },
{ "hex.builtin.view.pattern_editor.open_pattern", "打开模式" },
{ "hex.builtin.view.pattern_editor.evaluating", "计算中..." },
{ "hex.builtin.view.pattern_editor.auto", "自动计算" },
//{ "hex.builtin.view.pattern_editor.console", "Console" },
//{ "hex.builtin.view.pattern_editor.env_vars", "Environment Variables" },
//{ "hex.builtin.view.pattern_editor.settings", "Settings" },
//{ "hex.builtin.view.pattern_editor.dangerous_function.name", "Allow dangerous function?" },
//{ "hex.builtin.view.pattern_editor.dangerous_function.desc", "This pattern tried to call a dangerous function.\nAre you sure you want to trust this pattern?" },
//{ "hex.builtin.view.pattern_editor.no_in_out_vars", "Define some global variables with the 'in' or 'out' specifier for them to appear here." },
{ "hex.builtin.view.pattern_editor.console", "控制台" },
{ "hex.builtin.view.pattern_editor.env_vars", "环境变量" },
{ "hex.builtin.view.pattern_editor.settings", "设置" },
{ "hex.builtin.view.pattern_editor.dangerous_function.name", "允许危险的函数?" },
{ "hex.builtin.view.pattern_editor.dangerous_function.desc", "此模式试图调用一个危险的函数。\n你确定要信任此模式吗?" },
{ "hex.builtin.view.pattern_editor.no_in_out_vars", "使用 'in' 或 'out' 修饰符定义一些全局变量,以使它们出现在这里。" },
{ "hex.builtin.view.pattern_data.name", "模式数据" },
{ "hex.builtin.view.pattern_data.var_name", "名称" },
@ -358,10 +358,10 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.yara.error", "Yara编译器错误: " },
{ "hex.builtin.view.yara.header.matches", "匹配" },
{ "hex.builtin.view.yara.matches.identifier", "标识符" },
//{ "hex.builtin.view.yara.matches.variable", "Variable" },
{ "hex.builtin.view.yara.matches.variable", "变量" },
{ "hex.builtin.view.yara.whole_data", "全文件匹配!" },
{ "hex.builtin.view.yara.no_rules", "没有找到YARA规则。请将规则放到ImHex的'yara'目录下。" },
//{ "hex.builtin.view.yara.rule_added", "Yara规则已添加" },
{ "hex.builtin.view.yara.rule_added", "Yara规则已添加" },
{ "hex.builtin.view.constants.name", "常量" },
{ "hex.builtin.view.constants.row.category", "分类" },
@ -382,14 +382,14 @@ namespace hex::plugin::builtin {
{ "hex.builtin.view.store.tab.magics", "魔术数据库" },
{ "hex.builtin.view.store.tab.constants", "常量" },
{ "hex.builtin.view.store.tab.yara", "Yara规则" },
//{ "hex.builtin.view.store.tab.encodings", "Encodings" },
{ "hex.builtin.view.store.tab.encodings", "编码" },
{ "hex.builtin.view.store.loading", "正在加载仓库内容..." },
//{ "hex.builtin.view.store.download_error", "Failed to download file! Destination folder does not exist." },
{ "hex.builtin.view.store.download_error", "下载文件失败!目标文件夹不存在。" },
{ "hex.builtin.view.diff.name", "差异" },
//{ "hex.builtin.view.provider_settings.name", "Provider Settings" },
//{ "hex.builtin.view.provider_settings.load_popup", "Open Provider" },
{ "hex.builtin.view.provider_settings.name", "提供者设置" },
{ "hex.builtin.view.provider_settings.load_popup", "打开提供者" },
{ "hex.builtin.command.calc.desc", "计算器" },
{ "hex.builtin.command.cmd.desc", "指令" },
@ -727,19 +727,19 @@ namespace hex::plugin::builtin {
{ "hex.builtin.provider.file.access", "最后访问时间" },
{ "hex.builtin.provider.file.modification", "最后更改时间" },
//{ "hex.builtin.provider.file", "File Provider" },
//{ "hex.builtin.provider.gdb", "GDB Server Provider" },
//{ "hex.builtin.provider.gdb.name", "GDB Server <{0}:{1}>" },
//{ "hex.builtin.provider.gdb.server", "Server" },
//{ "hex.builtin.provider.gdb.ip", "IP Address" },
//{ "hex.builtin.provider.gdb.port", "Port" },
//{ "hex.builtin.provider.disk", "Raw Disk Provider" },
//{ "hex.builtin.provider.disk.selected_disk", "Disk" },
//{ "hex.builtin.provider.disk.disk_size", "Disk Size" },
//{ "hex.builtin.provider.disk.sector_size", "Sector Size" },
//{ "hex.builtin.provider.disk.reload", "Reload" },
{ "hex.builtin.provider.file", "文件" },
{ "hex.builtin.provider.gdb", "GDB服务器" },
{ "hex.builtin.provider.gdb.name", "GDB服务器 <{0}:{1}>" },
{ "hex.builtin.provider.gdb.server", "服务器" },
{ "hex.builtin.provider.gdb.ip", "IP地址" },
{ "hex.builtin.provider.gdb.port", "端口" },
{ "hex.builtin.provider.disk", "原始磁盘" },
{ "hex.builtin.provider.disk.selected_disk", "磁盘" },
{ "hex.builtin.provider.disk.disk_size", "磁盘大小" },
{ "hex.builtin.provider.disk.sector_size", "扇区大小" },
{ "hex.builtin.provider.disk.reload", "刷新" },
//{ "hex.builtin.layouts.default", "Default" }
{ "hex.builtin.layouts.default", "默认" }
});
}

View File

@ -25,7 +25,7 @@ namespace hex::plugin::windows {
{ "hex.windows.view.tty_console.send_eot", "发送EOT" },
{ "hex.windows.view.tty_console.send_sub", "发送SUB" },
//{ "hex.builtin.setting.general.context_menu_entry", "Windows context menu entry" },
{ "hex.builtin.setting.general.context_menu_entry", "窗口上下文菜单项" },
});
}