简体   繁体   English

如何从Ruby / Rails项目中提取所有人类可读的字符串以进行拼写和语法检查?

[英]How do I extract all human-readable strings from my Ruby/Rails project for spell and grammar checking?

In my RoR project I have human readable strings stored all over the place (eg HAML template, Javascript, Controller, Models, etc). 在我的RoR项目中,我将可读字符串存储在各处(例如HAML模板,Javascript,控制器,模型等)。 Before I take the site public I'd like to extract all of these human readable strings out of my code for spell/grammar checking. 在将该站点公开之前,我想从我的代码中提取所有这些人类可读的字符串,以进行拼写/语法检查。

Are there any gems or rake jobs that will extract all of these human readable strings for review? 是否有任何宝石或耙工作会提取所有这些人类可读的字符串以供检查?

最适合您需求的宝石可能是Copycopter

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM