From 17db605b17fbb726730c630403384079d8274be2 Mon Sep 17 00:00:00 2001 From: xtex Date: Fri, 8 Oct 2021 19:26:14 +0800 Subject: [PATCH] i18n: Chinese(Simplified) (#316) * i18n: Chinese(Simplified) * i18n: Chinese(Simplified) fix: half-width symbol * i18n: Chinese(Simplified) --- plugins/builtin/source/lang/zh_CN.cpp | 100 +++++++++++++------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/plugins/builtin/source/lang/zh_CN.cpp b/plugins/builtin/source/lang/zh_CN.cpp index f22862f35..bdbcfcc18 100644 --- a/plugins/builtin/source/lang/zh_CN.cpp +++ b/plugins/builtin/source/lang/zh_CN.cpp @@ -63,7 +63,7 @@ namespace hex::plugin::builtin { { "hex.common.decimal", "十进制" }, { "hex.common.hexadecimal", "十六进制" }, { "hex.common.octal", "八进制" }, - //{ "hex.common.info", "Information" }, + { "hex.common.info", "信息" }, { "hex.common.error", "错误" }, { "hex.common.fatal", "致命错误" }, { "hex.common.address", "地址" }, @@ -80,11 +80,11 @@ namespace hex::plugin::builtin { { "hex.common.dont_show_again", "不要再次显示" }, { "hex.common.link", "链接" }, { "hex.common.file", "文件" }, - //{ "hex.common.open", "Open" }, - //{ "hex.common.browse", "Browse..." }, + { "hex.common.open", "打开" }, + { "hex.common.browse", "浏览..." }, - //{ "hex.message.yara_rule_added", "Yara rule added!" }, - //{ "hex.message.magic_db_added", "Magic database added!" }, + { "hex.message.yara_rule_added", "Yara规则已添加!" }, + { "hex.message.magic_db_added", "魔术数据库已添加!" }, { "hex.view.bookmarks.name", "书签" }, { "hex.view.bookmarks.default_title", "书签 [0x{0:X} - 0x{1:X}]" }, @@ -102,7 +102,7 @@ namespace hex::plugin::builtin { { "hex.view.data_inspector.name", "数据分析器" }, { "hex.view.data_inspector.table.name", "名称" }, { "hex.view.data_inspector.table.value", "值" }, - //{ "hex.view.data_inspector.no_data", "No bytes selected"}, + { "hex.view.data_inspector.no_data", "没有选中字节"}, { "hex.view.data_processor.name", "数据处理器" }, { "hex.view.data_processor.menu.remove_selection", "移除已选" }, @@ -324,7 +324,7 @@ namespace hex::plugin::builtin { { "hex.view.store.tab.constants", "常量" }, { "hex.view.store.tab.yara", "Yara规则" }, { "hex.view.store.loading", "正在加载仓库内容..." }, - //{ "hex.view.diff.name", "Diffing" }, + { "hex.view.diff.name", "差异" }, /* Builtin plugin features */ @@ -334,7 +334,7 @@ namespace hex::plugin::builtin { { "hex.builtin.command.web.desc", "网站解析" }, { "hex.builtin.command.web.result", "导航到 '{0}'" }, - // Use half angle for inspector names because displayable space + // Use half width symbols for inspector names because displayable space { "hex.builtin.inspector.binary", "二进制(8位)" }, { "hex.builtin.inspector.u8", "uint8_t" }, { "hex.builtin.inspector.s8", "int8_t" }, @@ -586,53 +586,53 @@ namespace hex::plugin::builtin { { "hex.builtin.tools.wiki_explain.search", "搜索" }, { "hex.builtin.tools.wiki_explain.results", "结果" }, { "hex.builtin.tools.wiki_explain.invalid_response", "接收到来自Wikipedia的无效响应!" }, - //{ "hex.builtin.tools.file_tools", "File Tools" }, - //{ "hex.builtin.tools.file_tools.shredder", "Shredder" }, - //{ "hex.builtin.tools.file_tools.shredder.warning", "This tool IRRECOVERABLY destroys a file. Use with caution" }, - //{ "hex.builtin.tools.file_tools.shredder.input", "File to shred " }, - //{ "hex.builtin.tools.file_tools.shredder.picker", "Open File to Shred" }, - //{ "hex.builtin.tools.file_tools.shredder.fast", "Fast Mode" }, - //{ "hex.builtin.tools.file_tools.shredder.shredding", "Shredding..." }, - //{ "hex.builtin.tools.file_tools.shredder.shred", "Shred" }, - //{ "hex.builtin.tools.file_tools.shredder.error.open", "Failed to open selected file!" }, - //{ "hex.builtin.tools.file_tools.shredder.success", "Shredded successfully!" }, - //{ "hex.builtin.tools.file_tools.splitter", "Splitter" }, - //{ "hex.builtin.tools.file_tools.splitter.sizes.5_75_floppy", "5¼\" Floppy disk (1200KiB)" }, - //{ "hex.builtin.tools.file_tools.splitter.sizes.3_5_floppy", "3½\" Floppy disk (1400KiB)" }, - //{ "hex.builtin.tools.file_tools.splitter.sizes.zip100", "Zip 100 Disk (100MiB)" }, - //{ "hex.builtin.tools.file_tools.splitter.sizes.zip200", "Zip 200 Disk (200MiB)" }, - //{ "hex.builtin.tools.file_tools.splitter.sizes.cdrom650", "CD-ROM (650MiB)" }, - //{ "hex.builtin.tools.file_tools.splitter.sizes.cdrom700", "CD-ROM (700MiB)" }, - //{ "hex.builtin.tools.file_tools.splitter.sizes.fat32", "FAT32 (4GiB)" }, - //{ "hex.builtin.tools.file_tools.splitter.sizes.custom", "Custom" }, - //{ "hex.builtin.tools.file_tools.splitter.input", "File to split " }, - //{ "hex.builtin.tools.file_tools.splitter.picker.input", "Open File to split" }, - //{ "hex.builtin.tools.file_tools.splitter.output", "Output path " }, - //{ "hex.builtin.tools.file_tools.splitter.picker.output", "Set base path" }, - //{ "hex.builtin.tools.file_tools.splitter.picker.splitting", "Splitting..." }, - //{ "hex.builtin.tools.file_tools.splitter.picker.split", "Split" }, - //{ "hex.builtin.tools.file_tools.splitter.picker.error.open", "Failed to open selected file!" }, - //{ "hex.builtin.tools.file_tools.splitter.picker.error.size", "File is smaller than part size" }, - //{ "hex.builtin.tools.file_tools.splitter.picker.error.create", "Failed to create part file {0}" }, - //{ "hex.builtin.tools.file_tools.splitter.picker.success", "File split successfully!" }, - //{ "hex.builtin.tools.file_tools.combiner", "Combiner" }, - //{ "hex.builtin.tools.file_tools.combiner.add", "Add..." }, - //{ "hex.builtin.tools.file_tools.combiner.add.picker", "Add file" }, - //{ "hex.builtin.tools.file_tools.combiner.delete", "Delete" }, - //{ "hex.builtin.tools.file_tools.combiner.clear", "Clear" }, - //{ "hex.builtin.tools.file_tools.combiner.output", "Output file " }, - //{ "hex.builtin.tools.file_tools.combiner.output.picker", "Set output base path" }, - //{ "hex.builtin.tools.file_tools.combiner.combining", "Combining..." }, - //{ "hex.builtin.tools.file_tools.combiner.combine", "Combine" }, - //{ "hex.builtin.tools.file_tools.combiner.error.open_output", "Failed to create output file" }, - //{ "hex.builtin.tools.file_tools.combiner.open_input", "Failed to open input file {0}" }, - //{ "hex.builtin.tools.file_tools.combiner.success", "Files combined successfully!" }, + { "hex.builtin.tools.file_tools", "文件工具" }, + { "hex.builtin.tools.file_tools.shredder", "销毁" }, + { "hex.builtin.tools.file_tools.shredder.warning", "此工具将不可恢复地破坏文件。请谨慎使用。" }, + { "hex.builtin.tools.file_tools.shredder.input", "目标文件 " }, + { "hex.builtin.tools.file_tools.shredder.picker", "打开文件以销毁" }, + { "hex.builtin.tools.file_tools.shredder.fast", "快速模式" }, + { "hex.builtin.tools.file_tools.shredder.shredding", "销毁中..." }, + { "hex.builtin.tools.file_tools.shredder.shred", "销毁" }, + { "hex.builtin.tools.file_tools.shredder.error.open", "打开选择的文件失败!" }, + { "hex.builtin.tools.file_tools.shredder.success", "文件成功销毁!" }, + { "hex.builtin.tools.file_tools.splitter", "分割" }, + { "hex.builtin.tools.file_tools.splitter.sizes.5_75_floppy", "5寸软盘(1200KiB)" }, + { "hex.builtin.tools.file_tools.splitter.sizes.3_5_floppy", "3寸软盘(1400KiB)" }, + { "hex.builtin.tools.file_tools.splitter.sizes.zip100", "Zip极碟100(100MiB)" }, + { "hex.builtin.tools.file_tools.splitter.sizes.zip200", "Zip极碟200(200MiB)" }, + { "hex.builtin.tools.file_tools.splitter.sizes.cdrom650", "CD-ROM(650MiB)" }, + { "hex.builtin.tools.file_tools.splitter.sizes.cdrom700", "CD-ROM(700MiB)" }, + { "hex.builtin.tools.file_tools.splitter.sizes.fat32", "FAT32(4GiB)" }, + { "hex.builtin.tools.file_tools.splitter.sizes.custom", "自定义" }, + { "hex.builtin.tools.file_tools.splitter.input", "目标文件 " }, + { "hex.builtin.tools.file_tools.splitter.picker.input", "打开文件以分割" }, + { "hex.builtin.tools.file_tools.splitter.output", "输出路径 " }, + { "hex.builtin.tools.file_tools.splitter.picker.output", "选择输出路径" }, + { "hex.builtin.tools.file_tools.splitter.picker.splitting", "分割中..." }, + { "hex.builtin.tools.file_tools.splitter.picker.split", "分割" }, + { "hex.builtin.tools.file_tools.splitter.picker.error.open", "打开选择的文件失败!" }, + { "hex.builtin.tools.file_tools.splitter.picker.error.size", "文件小于单分块大小" }, + { "hex.builtin.tools.file_tools.splitter.picker.error.create", "创建分块文件 {0} 失败!" }, + { "hex.builtin.tools.file_tools.splitter.picker.success", "文件分割成功!" }, + { "hex.builtin.tools.file_tools.combiner", "合并" }, + { "hex.builtin.tools.file_tools.combiner.add", "添加..." }, + { "hex.builtin.tools.file_tools.combiner.add.picker", "添加文件" }, + { "hex.builtin.tools.file_tools.combiner.delete", "删除" }, + { "hex.builtin.tools.file_tools.combiner.clear", "清空" }, + { "hex.builtin.tools.file_tools.combiner.output", "输出文件 " }, + { "hex.builtin.tools.file_tools.combiner.output.picker", "选择输出路径" }, + { "hex.builtin.tools.file_tools.combiner.combining", "合并中..." }, + { "hex.builtin.tools.file_tools.combiner.combine", "合并" }, + { "hex.builtin.tools.file_tools.combiner.error.open_output", "创建输出文件失败!" }, + { "hex.builtin.tools.file_tools.combiner.open_input", "打开输入文件 {0} 失败" }, + { "hex.builtin.tools.file_tools.combiner.success", "文件合并成功!" }, { "hex.builtin.setting.imhex", "ImHex" }, { "hex.builtin.setting.imhex.recent_files", "最近文件" }, { "hex.builtin.setting.general", "通用" }, { "hex.builtin.setting.general.show_tips", "在启动时显示每日提示" }, - //{ "hex.builtin.setting.general.auto_load_patterns", "Auto-load supported pattern" }, + { "hex.builtin.setting.general.auto_load_patterns", "自动加载支持的模式" }, { "hex.builtin.setting.interface", "界面" }, { "hex.builtin.setting.interface.color", "颜色主题" }, { "hex.builtin.setting.interface.color.system", "跟随系统" },