Skip to content

Commit

Permalink
lang: Updated Simplified Chinese translation (#1610)
Browse files Browse the repository at this point in the history
Thank you for an outstanding program! I have updated the Simplified
Chinese translation. Hope you can adopt it.
  • Loading branch information
YorkWaugh committed Mar 28, 2024
1 parent 32ad8dd commit aeabc0c
Show file tree
Hide file tree
Showing 8 changed files with 373 additions and 328 deletions.
577 changes: 301 additions & 276 deletions plugins/builtin/romfs/lang/zh_CN.json

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion plugins/diffing/romfs/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@
"country": "China",
"fallback": false,
"translations": {
"hex.diffing.algorithm.simple.name": "逐个字节简单算法",
"hex.diffing.algorithm.simple.description": "简单的 O(N) 逐字节比较。\n只能识别数据末尾的字节修改和插入/删除",
"hex.diffing.algorithm.myers.name": "迈尔斯位向量算法",
"hex.diffing.algorithm.myers.description": "智能的 O(N*M) 比较算法。可以识别数据中任何位置的修改、插入和删除",
"hex.diffing.algorithm.myers.settings.window_size": "窗口大小",
"hex.diffing.view.diff.name": "差异",
"hex.diffing.view.diff.added": "添加",
"hex.diffing.view.diff.modified": "修改",
"hex.diffing.view.diff.provider_a": "提供者A",
"hex.diffing.view.diff.provider_b": "提供者B",
"hex.diffing.view.diff.removed": "移除"
"hex.diffing.view.diff.removed": "移除",
"hex.diffing.view.diff.algorithm": "差异算法",
"hex.diffing.view.diff.settings": "无可用设置",
"hex.diffing.view.diff.settings.no_settings": "无可用设置"
}
}
24 changes: 12 additions & 12 deletions plugins/disassembler/romfs/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,28 +51,28 @@
"hex.disassembler.view.disassembler.mos65xx.65816_long_x": "65816 Long X",
"hex.disassembler.view.disassembler.mos65xx.65c02": "65C02",
"hex.disassembler.view.disassembler.mos65xx.w65c02": "W65C02",
"hex.disassembler.view.disassembler.name": "反汇编",
"hex.disassembler.view.disassembler.position": "位置",
"hex.disassembler.view.disassembler.ppc.booke": "PowerPC Book-E",
"hex.disassembler.view.disassembler.ppc.qpx": "PowerPC 四核处理扩展(QPX)",
"hex.disassembler.view.disassembler.ppc.spe": "PowerPC 单核引擎(SPE)",
"hex.disassembler.view.disassembler.region": "代码范围",
"hex.disassembler.view.disassembler.riscv.compressed": "压缩的 RISC-V",
"hex.disassembler.view.disassembler.settings.mode": "模式",
"hex.disassembler.view.disassembler.sh.dsp": "DSP",
"hex.disassembler.view.disassembler.sh.fpu": "FPU",
"hex.disassembler.view.disassembler.sh.sh2": "SH2",
"hex.disassembler.view.disassembler.sh.sh2a": "SH2A",
"hex.disassembler.view.disassembler.sh.sh3": "SH3",
"hex.disassembler.view.disassembler.sh.sh4": "SH4",
"hex.disassembler.view.disassembler.sh.sh4a": "SH4A",
"hex.disassembler.view.disassembler.sparc.v9": "Sparc V9",
"hex.disassembler.view.disassembler.sh.fpu": "FPU",
"hex.disassembler.view.disassembler.sh.dsp": "DSP",
"hex.disassembler.view.disassembler.tricore.110": "110",
"hex.disassembler.view.disassembler.tricore.120": "120",
"hex.disassembler.view.disassembler.tricore.130": "130",
"hex.disassembler.view.disassembler.tricore.131": "131",
"hex.disassembler.view.disassembler.tricore.160": "160",
"hex.disassembler.view.disassembler.tricore.161": "161",
"hex.disassembler.view.disassembler.tricore.162": "162"
"hex.disassembler.view.disassembler.tricore.162": "162",
"hex.disassembler.view.disassembler.name": "反汇编",
"hex.disassembler.view.disassembler.position": "位置",
"hex.disassembler.view.disassembler.ppc.booke": "PowerPC Book-E",
"hex.disassembler.view.disassembler.ppc.qpx": "PowerPC 四核处理扩展(QPX)",
"hex.disassembler.view.disassembler.ppc.spe": "PowerPC 单核引擎(SPE)",
"hex.disassembler.view.disassembler.region": "代码范围",
"hex.disassembler.view.disassembler.riscv.compressed": "压缩的 RISC-V",
"hex.disassembler.view.disassembler.settings.mode": "模式",
"hex.disassembler.view.disassembler.sparc.v9": "Sparc V9"
}
}
34 changes: 19 additions & 15 deletions plugins/hashes/romfs/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,8 @@
"fallback": false,
"language": "Chinese (Simplified)",
"translations": {
"hex.hashes.achievement.misc.create_hash.desc": "通过选择类型、为其命名并单击旁边的加号按钮,在“哈希”视图中创建新的哈希函数。",
"hex.hashes.achievement.misc.create_hash.name": "Hash!",
"hex.hashes.hash.common.iv": "初始值",
"hex.hashes.hash.common.key": "",
"hex.hashes.hash.common.personalization": "",
"hex.hashes.hash.common.poly": "多项式",
"hex.hashes.hash.common.refl_in": "输入值取反",
"hex.hashes.hash.common.refl_out": "输出值取反",
"hex.hashes.hash.common.rounds": "",
"hex.hashes.hash.common.salt": "",
"hex.hashes.hash.common.security_level": "",
"hex.hashes.hash.common.size": "",
"hex.hashes.hash.common.standard": "",
"hex.hashes.hash.common.standard.custom": "",
"hex.hashes.hash.common.xor_out": "结果异或值",
"hex.hashes.achievement.misc.create_hash.desc": "通过选择类型、为其命名并单击旁边的加号按钮,在“哈希”视图中创建新的哈希函数。",
"hex.hashes.view.hashes.function": "哈希函数",
"hex.hashes.view.hashes.hash": "哈希",
"hex.hashes.view.hashes.hover_info": "将鼠标放在 Hex 编辑器的选区上,按住 SHIFT 来查看其哈希。",
Expand All @@ -27,6 +14,23 @@
"hex.hashes.view.hashes.remove": "移除哈希",
"hex.hashes.view.hashes.table.name": "名称",
"hex.hashes.view.hashes.table.result": "结果",
"hex.hashes.view.hashes.table.type": "类型"
"hex.hashes.view.hashes.table.type": "类型",
"hex.hashes.hash.common.iv": "初始值",
"hex.hashes.hash.common.poly": "多项式",
"hex.hashes.hash.common.key": "",
"hex.hashes.hash.common.security_level": "安全等级",
"hex.hashes.hash.common.size": "哈希大小",
"hex.hashes.hash.common.input_size": "输入值大小",
"hex.hashes.hash.common.output_size": "输出值大小",
"hex.hashes.hash.common.rounds": "哈希轮数",
"hex.hashes.hash.common.salt": "",
"hex.hashes.hash.common.standard": "标准",
"hex.hashes.hash.common.standard.custom": "自定义",
"hex.hashes.hash.common.personalization": "个性化",
"hex.hashes.hash.common.refl_in": "输入值取反",
"hex.hashes.hash.common.refl_out": "输出值取反",
"hex.hashes.hash.common.xor_out": "结果异或值",
"hex.hashes.hash.sum": "总和",
"hex.hashes.hash.sum.fold": "折叠结果"
}
}
36 changes: 21 additions & 15 deletions plugins/ui/romfs/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"fallback": false,
"language": "Chinese (Simplified)",
"translations": {
"hex.ui.common.add": "",
"hex.ui.common.add": "添加",
"hex.ui.common.address": "地址",
"hex.ui.common.allow": "允许",
"hex.ui.common.begin": "起始",
Expand All @@ -16,42 +16,43 @@
"hex.ui.common.choose_file": "选择文件",
"hex.ui.common.close": "关闭",
"hex.ui.common.comment": "注释",
"hex.ui.common.continue": "",
"hex.ui.common.continue": "继续",
"hex.ui.common.count": "数量",
"hex.ui.common.decimal": "十进制",
"hex.ui.common.deny": "拒绝",
"hex.ui.common.dont_show_again": "不要再次显示",
"hex.ui.common.edit": "",
"hex.ui.common.edit": "编辑",
"hex.ui.common.encoding.ascii": "ASCII",
"hex.ui.common.encoding.utf16be": "UTF-16BE",
"hex.ui.common.encoding.utf16le": "UTF-16LE",
"hex.ui.common.encoding.utf8": "UTF-8",
"hex.ui.common.end": "末尾",
"hex.ui.common.endian": "端序",
"hex.ui.common.warning": "警告",
"hex.ui.common.error": "错误",
"hex.ui.common.fatal": "致命错误",
"hex.ui.common.file": "文件",
"hex.ui.common.filter": "过滤器",
"hex.ui.common.hexadecimal": "十六进制",
"hex.ui.common.info": "信息",
"hex.ui.common.instruction": "指示",
"hex.ui.common.key": "",
"hex.ui.common.key": "",
"hex.ui.common.link": "链接",
"hex.ui.common.little": "",
"hex.ui.common.little_endian": "小端序",
"hex.ui.common.load": "加载",
"hex.ui.common.loading": "",
"hex.ui.common.loading": "加载...",
"hex.ui.common.match_selection": "匹配选择",
"hex.ui.common.name": "名称",
"hex.ui.common.no": "",
"hex.ui.common.number_format": "数字进制",
"hex.ui.common.octal": "八进制",
"hex.ui.common.off": "",
"hex.ui.common.offset": "偏移",
"hex.ui.common.okay": "好的",
"hex.ui.common.on": "",
"hex.ui.common.okay": "确认",
"hex.ui.common.open": "打开",
"hex.ui.common.path": "",
"hex.ui.common.on": "",
"hex.ui.common.off": "",
"hex.ui.common.path": "路径",
"hex.ui.common.percentage": "百分比",
"hex.ui.common.processing": "处理",
"hex.ui.common.project": "项目",
Expand All @@ -60,7 +61,7 @@
"hex.ui.common.range.entire_data": "所有数据",
"hex.ui.common.range.selection": "选区",
"hex.ui.common.region": "区域",
"hex.ui.common.remove": "",
"hex.ui.common.remove": "移除",
"hex.ui.common.reset": "重置",
"hex.ui.common.set": "设置",
"hex.ui.common.settings": "设置",
Expand All @@ -81,13 +82,15 @@
"hex.ui.common.type.u64": "uint64_t",
"hex.ui.common.type.u8": "uint8_t",
"hex.ui.common.value": "",
"hex.ui.common.warning": "警告",
"hex.ui.common.yes": "",
"hex.ui.hex_editor.ascii_view": "显示 ASCII 栏",
"hex.ui.hex_editor.custom_encoding_view": "显示高级解码栏",
"hex.ui.hex_editor.data_size": "总大小",
"hex.ui.hex_editor.gray_out_zero": "显示零字节为灰色",
"hex.ui.hex_editor.columns": "",
"hex.ui.hex_editor.human_readable_units_footer": "将数据转换为人类可读的单位",
"hex.ui.hex_editor.data_size": "数据大小",
"hex.ui.hex_editor.gray_out_zero": "显示零字节为灰色",
"hex.ui.hex_editor.minimap": "小地图",
"hex.ui.hex_editor.minimap.width": "宽度",
"hex.ui.hex_editor.no_bytes": "没有可显示的字节",
"hex.ui.hex_editor.page": "分页",
"hex.ui.hex_editor.region": "范围",
Expand All @@ -96,6 +99,7 @@
"hex.ui.hex_editor.uppercase_hex": "大写十六进制",
"hex.ui.hex_editor.visualizer": "数据处理器的数据可视化格式",
"hex.ui.pattern_drawer.color": "颜色",
"hex.ui.pattern_drawer.comment": "注释",
"hex.ui.pattern_drawer.double_click": "双击查看更多",
"hex.ui.pattern_drawer.end": "结束",
"hex.ui.pattern_drawer.export": "导出为...",
Expand All @@ -104,14 +108,16 @@
"hex.ui.pattern_drawer.size": "大小",
"hex.ui.pattern_drawer.spec_name": "显示标准名称",
"hex.ui.pattern_drawer.start": "开始",
"hex.ui.pattern_drawer.tree_style.tree": "",
"hex.ui.pattern_drawer.tree_style.auto_expanded": "自动展开树",
"hex.ui.pattern_drawer.tree_style.flattened": "扁平化",
"hex.ui.pattern_drawer.tree_style.tree": "",
"hex.ui.pattern_drawer.type": "类型",
"hex.ui.pattern_drawer.updating": "更新模式中...",
"hex.ui.pattern_drawer.value": "",
"hex.ui.pattern_drawer.var_name": "名称",
"hex.ui.pattern_drawer.visualizer.unknown": "未知可视化器",
"hex.ui.pattern_drawer.visualizer.invalid_parameter_count": "无效参数数",
"hex.ui.pattern_drawer.visualizer.unknown": "未知可视化器"
"hex.ui.diagram.byte_type_distribution.plain_text": "纯文本",
"hex.ui.diagram.byte_type_distribution.similar_bytes": "类似字节"
}
}
16 changes: 8 additions & 8 deletions plugins/visualizers/romfs/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"fallback": false,
"language": "Chinese (Simplified)",
"translations": {
"hex.visualizers.pl_visualizer.3d.ambient_brightness": "",
"hex.visualizers.pl_visualizer.3d.diffuse_brightness": "",
"hex.visualizers.pl_visualizer.3d.light_color": "",
"hex.visualizers.pl_visualizer.3d.light_position": "",
"hex.visualizers.pl_visualizer.3d.more_settings": "",
"hex.visualizers.pl_visualizer.3d.object_reflectiveness": "",
"hex.visualizers.pl_visualizer.3d.specular_brightness": "",
"hex.visualizers.pl_visualizer.3d.texture_file": "",
"hex.visualizers.pl_visualizer.3d.light_position": "光线位置",
"hex.visualizers.pl_visualizer.3d.ambient_brightness": "环境亮度",
"hex.visualizers.pl_visualizer.3d.diffuse_brightness": "漫射亮度",
"hex.visualizers.pl_visualizer.3d.specular_brightness": "镜面亮度",
"hex.visualizers.pl_visualizer.3d.object_reflectiveness": "物体反射率",
"hex.visualizers.pl_visualizer.3d.light_color": "光线颜色",
"hex.visualizers.pl_visualizer.3d.more_settings": "更多设置",
"hex.visualizers.pl_visualizer.3d.texture_file": "纹理文件路径",
"hex.visualizers.pl_visualizer.coordinates.latitude": "维度",
"hex.visualizers.pl_visualizer.coordinates.longitude": "精度",
"hex.visualizers.pl_visualizer.coordinates.query": "查找地址",
Expand Down
2 changes: 1 addition & 1 deletion plugins/windows/romfs/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"language": "Chinese (Simplified)",
"translations": {
"hex.builtin.setting.general.context_menu_entry": "窗口上下文菜单项",
"hex.builtin.setting.interface.show_resource_usage": "",
"hex.builtin.setting.interface.show_resource_usage": "在底部中显示资源使用情况",
"hex.windows.view.tty_console.auto_scroll": "自动滚动",
"hex.windows.view.tty_console.baud": "波特率",
"hex.windows.view.tty_console.clear": "清除",
Expand Down
2 changes: 2 additions & 0 deletions plugins/yara_rules/romfs/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"fallback": false,
"language": "Chinese (Simplified)",
"translations": {
"hex.yara.information_section.advanced_data_info": "高级数据信息",
"hex.yara.information_section.advanced_data_info.no_information": "没有找到更多信息",
"hex.yara_rules.view.yara.error": "Yara 编译器错误: {0}",
"hex.yara_rules.view.yara.header.matches": "匹配",
"hex.yara_rules.view.yara.header.rules": "规则",
Expand Down

0 comments on commit aeabc0c

Please sign in to comment.