{"id":19019224,"url":"https://github.com/exsper/mapping-tools-cn","last_synced_at":"2025-04-23T05:17:57.643Z","repository":{"id":251492702,"uuid":"837433663","full_name":"Exsper/mapping-tools-cn","owner":"Exsper","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-31T07:29:49.000Z","size":2202,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T05:17:49.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exsper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-03T01:28:18.000Z","updated_at":"2025-04-15T14:52:40.000Z","dependencies_parsed_at":"2024-08-03T13:24:55.723Z","dependency_job_id":"aa6f6b06-ac12-47ed-8f2c-8ba83197b5e8","html_url":"https://github.com/Exsper/mapping-tools-cn","commit_stats":null,"previous_names":["exsper/mapping-tools-cn"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exsper%2Fmapping-tools-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exsper%2Fmapping-tools-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exsper%2Fmapping-tools-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exsper%2Fmapping-tools-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exsper","download_url":"https://codeload.github.com/Exsper/mapping-tools-cn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372944,"owners_count":21419724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T20:11:35.347Z","updated_at":"2025-04-23T05:17:57.608Z","avatar_url":"https://github.com/Exsper.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mapping Tools 汉化工程\n\n🚧**本汉化项目尚在测试阶段**🚧\n\n汉化 [Mapping_Tools](https://github.com/OliBomby/Mapping_Tools) 专用项目，非汉化问题请转到原英文项目。\n\n有翻译问题请提交issue或转到讨论 [Discussion](https://github.com/Exsper/mapping-tools-cn/discussions)。\n\n考虑到 Mapping_Tools 更新频繁且无官方语言切换模块，故制作此项目\n\n使用翻译表修改项目文件字符串的方式进行翻译，解决因原项目更新导致需重复翻译的问题\n\n## 目前进度\n\n✅ 基本词条逐项翻译 ![进度](https://geps.dev/progress/100)\n\n✅ 细节词条补充翻译 ![进度](https://geps.dev/progress/100)\n\n♿ 翻译项目功能检查\n\n♿ 汉化内容校对修正\n\n⏱ 发布正式汉化版本\n\n⏱ 后续版本跟进翻译\n\n## 环境需求\n\n- node.js\n\n- .NET 5.0\n\n## 文件说明\n\n- 文件夹 ```Mapping_Tools``` 为原项目文件夹\n\n- 文件夹 ```Mapping_Tools_CN``` 为翻译后的项目文件夹\n\n- 文件 ```BuildTranslationJson.js``` 用于制作和更新翻译JSON文件\n\n- 文件 ```Translations/translate.json``` 生成的JSON翻译表\n\n- 文件 ```Translations/comboBoxTranslate.json``` 自行添加的ComboBox相关内容翻译表\n  \n  与 ```translate.json``` 不同，```comboBoxTranslate.json``` 翻译的不是字符串，而是原代码，修改内容必须谨慎防止破坏原有功能\n\n- 文件 ```Translate.js``` 用于生成汉化后的项目\n\n## 汉化步骤\n\n1. 更新原项目\n\n   使用git更新 ```Mapping_Tools```\n\n2. 生成翻译JSON\n\n   使用nodejs运行 ```BuildTranslationJson.js``` ，或直接运行 ```2. 生成翻译表.ps1```\n\n   **会自动继承现有翻译内容，不用担心原项目更新后丢失原有翻译**\n\n3. 汉化文本\n\n   修改 ```Translations``` 文件夹下的 ```translate.json```\n\n   不推荐新手修改 ```comboBoxTranslate.json```\n\n4. 生成项目\n\n   使用nodejs运行 ```Translate.js``` ，或直接运行 ```4. 生成翻译项目.ps1``` ，生成 ```Mapping_Tools_CN``` 项目文件\n\n5. 生成程序\n\n   在```Mapping_Tools_CN```中生成程序并发布，或直接运行 ```5. 生成程序.ps1```\n\n## 注意事项\n\n- 因为使用翻译表（JSON文件）替换字符串的方式进行项目翻译，所以翻译表带有引号和格式，在翻译时请务必保留原格式\n\n## 在Github上发布版本\n\n```bash\ngit tag v*.*.* \ngit push --tags\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexsper%2Fmapping-tools-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexsper%2Fmapping-tools-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexsper%2Fmapping-tools-cn/lists"}