Gem 有谁用 i18n-tasks 这个 Gem 吗?

Peter · March 09, 2015 · 1739 hits

Gem: https://github.com/glebm/i18n-tasks

虽然很好用,但是无论 i18n-tasks add-missing 还是 i18n-tasks translate-missing 添加了缺失的翻译后,都不是很好辨认新添加的翻译。

有没有可能在新添加的翻译后面用注释添加个记号,比如 # Todo,就像下面这样:

es:
  lang: Español
  activerecord:
    attributes:
      user:
        username: Username # Todo
        name: Name # Todo
        email: Correo electrónico
        password: Contraseña

功力不够,覆盖了下某些方法,没有成功,望高手指点一下,谢谢!

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.