osu-translate-zh / osu-wiki

osu!wiki 中文翻译
Other
15 stars 8 forks source link

[zh-fix_eng_punctuation] fix eng punctuation in chinese sentence #77

Closed inkydragon closed 5 years ago

inkydragon commented 6 years ago

Description

参见 #72

修复的问题

  1. 英文标点符号 ,.: 换为对应的中文标点 ,。:
  2. 删除句子之间,标点符号之后的空格
  3. 修复不正确的加粗 (未成功加粗,需要添加空格)
  4. 修复滥用的逗号,并列项中改为顿号
  5. 修复不正确的 Out of date 标记
  6. 添加新的 Out of date 标记 (有待检查是否有人开坑)
  7. 删除括号内最后的句号

发现的其他问题

(已标记,未修复)

  1. wiki link
  2. 图片引用
  3. 格式缩进

Status

Additional Notes

使用的正则表达式

  1. 英文逗号、冒号+空格 [,:][ ]* 误判:数字分隔符;地址头;时间
  2. 行尾的英文句号 \.$
    • ([\u4e00-\u9fa5])([\.])([\u4e00-\u9fa5])
  3. 标点符号后的空格 ([(),。?!])([ ])+ 误判:表格;后面有转义字符
  4. 加粗后未空格 ([\u4e00-\u9fa5,。!])([\*]+)([\u4e00-\u9fa5]) 误判:前后是标点符号
已过气,现有的问题见下面的回复👇 ## Chinese Wiki Completion - [x] [关于](https://osu.ppy.sh/help/wiki/About) - [x] [文章风格规范](https://osu.ppy.sh/help/wiki/Article_Styling_Criteria) 【长文待复查】 - [x] [BanchoBot](https://osu.ppy.sh/help/wiki/BanchoBot) - [x] [Beatmap Editor](https://osu.ppy.sh/help/wiki/Beatmap_Editor) 【图片未正确显示】 - [x] [Beatmap Editor / AiMod](https://osu.ppy.sh/help/wiki/Beatmap_Editor/AiMod) 【有滥用加粗的嫌疑 4.未修复】 - [x] [Beatmap Editor / 音符时值](https://osu.ppy.sh/help/wiki/Beatmap_Editor/Beat_Snap_Divisor) - [x] [Beatmap Editor / Compose](https://osu.ppy.sh/help/wiki/Beatmap_Editor/Compose) - [x] [Beatmap Editor / Song Setup](https://osu.ppy.sh/help/wiki/Beatmap_Editor/Song_Setup) - [x] [Beatmap Editor / Timing](https://osu.ppy.sh/help/wiki/Beatmap_Editor/Timing) - [x] [Beatmapping](https://osu.ppy.sh/help/wiki/Beatmapping) - [x] [聊天面板](https://osu.ppy.sh/help/wiki/Chat_Console) - [x] [竞赛](https://osu.ppy.sh/help/wiki/Contests) - [x] [技术支持](https://osu.ppy.sh/help/wiki/Do_you_really_want_to_ask_peppy) - [ ] [FAQ](https://osu.ppy.sh/help/wiki/FAQ) 【含有未汉化部分,使用HTML表格】 - Game Modifiers - [x] [Game Modifiers / 摘要](https://osu.ppy.sh/help/wiki/Game_Modifiers/Summary) - Guides - [x] [Guides / Custom Sample Overrides](https://osu.ppy.sh/help/wiki/Guides/Custom_Sample_Overrides) - [x] [Guides / 如何找 mod](https://osu.ppy.sh/help/wiki/Guides/Getting_Your_Map_Modded) - [x] [Guides / Rank 图教战手册](https://osu.ppy.sh/help/wiki/Guides/How_To_Get_Your_Map_Ranked) 【可能要分段】 - [x] [Guides / Searching and Downloading Beatmaps](https://osu.ppy.sh/help/wiki/Guides/Searching_and_Downloading_Beatmaps) - [x] [帮助中心](https://osu.ppy.sh/help/wiki/Help_Centre) 【长文待复查】 - History_of_osu! - [ ] [History of osu! / 更新日志 / Changelog](https://osu.ppy.sh/help/wiki/History_of_osu!/osu!_wiki) 【英文维基部分未翻译;含有ToDoList待清理】 - [x] [Installation](https://osu.ppy.sh/help/wiki/Installation) - [ ] [用户选项](https://osu.ppy.sh/help/wiki/Interface) 【使用HTML标签;markdown未正确解析】 - [ ] [什么是互联网中继聊天?](https://osu.ppy.sh/help/wiki/Internet_Relay_Chat) 【表格排版不正确,待修复】 - Legal - [x] [Legal / osu! 版权政策](https://osu.ppy.sh/help/wiki/Legal/Copyright) - [x] [奖章](https://osu.ppy.sh/help/wiki/Medals) - [x] [基本修图方法](https://osu.ppy.sh/help/wiki/Modding) 【长文待复查】 - [ ] [选项](https://osu.ppy.sh/help/wiki/Options) 【使用HTML标签、表格,并且未正确显示】 - [x] [osu! 文件格式](https://osu.ppy.sh/help/wiki/osu!_File_Formats) - [x] [osu! File Formats / .osr 文件](https://osu.ppy.sh/help/wiki/osu!_File_Formats/Osr_(file_format)) - [x] [osu! Program Files](https://osu.ppy.sh/help/wiki/osu!_Program_Files) - [x] [osu! wiki 贡献指南](https://osu.ppy.sh/help/wiki/osu!_wiki_Contribution_Guide) 【图片无法正常显示】 - [x] [osu! wiki Contribution Guide / 常见问题](https://osu.ppy.sh/help/wiki/osu!_wiki_Contribution_Guide/Common_Issues) - [x] [osu! wiki Contribution Guide / GitHub 桌面客户端](https://osu.ppy.sh/help/wiki/osu!_wiki_Contribution_Guide/GitHub_Desktop) - [x] [osu! wiki Contribution Guide / GitHub Web Interface](https://osu.ppy.sh/help/wiki/osu!_wiki_Contribution_Guide/GitHub_Web_Interface) - [x] [osu!api](https://osu.ppy.sh/help/wiki/osu!api) - [x] [osu!supporter](https://osu.ppy.sh/help/wiki/osu!supporter) 【图片无法正常显示;OOD】 - [x] [osu!tourney](https://osu.ppy.sh/help/wiki/osu!tourney) - People - [x] [People / 社区贡献者](https://osu.ppy.sh/help/wiki/People/Community_Contributors) - [x] [People / Global Moderation Team](https://osu.ppy.sh/help/wiki/People/Global_Moderation_Team) - [x] [People / Language Moderators](https://osu.ppy.sh/help/wiki/People/Language_Moderators) - [x] [People / osu! Alumni](https://osu.ppy.sh/help/wiki/People/osu!_Alumni) - [x] [People / Quality Assurance Team](https://osu.ppy.sh/help/wiki/People/Quality_Assurance_Team) - [x] [People / Support Team](https://osu.ppy.sh/help/wiki/People/Support_Team) - [x] [People / The Team](https://osu.ppy.sh/help/wiki/People/The_Team) - Performance_Points - [x] [Performance Points / 历史](https://osu.ppy.sh/help/wiki/Performance_Points/ppv1) 【使用HTML标签】 - [x] [Ranking Criteria](https://osu.ppy.sh/help/wiki/Ranking_Criteria) 【有未翻译部分;长文待复查】 - [x] [Ranking Criteria / 行为准则:摸图和作图](https://osu.ppy.sh/help/wiki/Ranking_Criteria/Code_of_Conduct) - [x] [Ranking Criteria / 难度命名](https://osu.ppy.sh/help/wiki/Ranking_Criteria/Difficulty_Naming) - [x] [Ranking Criteria / osu!](https://osu.ppy.sh/help/wiki/Ranking_Criteria/osu!) 【长文待复查】 - [x] [Ranking Criteria / osu!catch](https://osu.ppy.sh/help/wiki/Ranking_Criteria/osu!catch) - [x] [Ranking Criteria / osu!mania Ranking Criteria](https://osu.ppy.sh/help/wiki/Ranking_Criteria/osu!mania) - [x] [Ranking Criteria / osu!taiko Ranking Criteria](https://osu.ppy.sh/help/wiki/Ranking_Criteria/osu!taiko) 【长文待复查】 - [x] [Ranking Criteria / 皮肤组列表](https://osu.ppy.sh/help/wiki/Ranking_Criteria/Skin_Set_List) - [x] [注册](https://osu.ppy.sh/help/wiki/Registration) 【图片未正常显示】 - [x] [举报不当行为](https://osu.ppy.sh/help/wiki/Reporting_Bad_Behaviour) - [x] [Reporting Bad Behaviour / 应对作弊行为](https://osu.ppy.sh/help/wiki/Reporting_Bad_Behaviour/Handling_Foul_Play) - [x] [规章制度](https://osu.ppy.sh/help/wiki/Rules) - [x] [Shortcut Key Reference](https://osu.ppy.sh/help/wiki/Shortcut_Key_Reference) 【#OOD;图片未正常显示】 - [x] [Storyboards](https://osu.ppy.sh/help/wiki/Storyboards) 【#OOD】 - Submission - [x] [Submission / Beatmap Ranking Procedure](https://osu.ppy.sh/help/wiki/Submission/Beatmap_Ranking_Procedure) - [x] [锦标赛](https://osu.ppy.sh/help/wiki/Tournaments) 【日期格式有待修改】 - CMT_4K - [x] [CMT 4K / 2017年华人 osu!mania 4K 大赛](https://osu.ppy.sh/help/wiki/Tournaments/CMT_4K/2017) - CWC - [x] [CWC / osu! Catch the Beat World Cup 2014](https://osu.ppy.sh/help/wiki/Tournaments/CWC/2014) - [x] [CWC / osu! Catch the Beat World Cup 2015](https://osu.ppy.sh/help/wiki/Tournaments/CWC/2015) - OWC - [x] [OWC / osu! World Cup 2013](https://osu.ppy.sh/help/wiki/Tournaments/OWC/2013) - [x] [OWC / osu! World Cup 2015](https://osu.ppy.sh/help/wiki/Tournaments/OWC/2015) 【大量未翻译内容】 - TWC - [x] [TWC / osu! Taiko World Cup 2014](https://osu.ppy.sh/help/wiki/Tournaments/TWC/2014) 【大量未翻译内容】 - [x] [欢迎](https://osu.ppy.sh/help/wiki/Welcome) 【已在[其他分支(pr#76)](https://github.com/osu-translate-zh/osu-wiki/pull/76)修复】
inkydragon commented 5 years ago

待我解决一下冲突,实际上已经可以合并了。 还有一些没解决的问题,应该再单开 pr

标点符号未完全修复的部分

未完全修复标点符号主要原因是有未翻译的部分,也就是夹带英文,或者是有其他的干扰因素。

发现的其他问题

Drickle commented 5 years ago

I'll merge this first