Alternative gettext parser for ruby files
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.document
.gitignore
LICENSE
README.rdoc
Rakefile

README.rdoc

IMPORTANT

ruby_gettext_extractor is currently solely used (and bundled) by michael grossers gettext_i18n_rails project. The bundled version can be considered to be the current upstream. This repository remains for historical purposes.

Please contact me on github if you are planning to use ruby_gettext_extractor outside the scope of gettext_i18n_rails.

ruby_gettext_extractor

ruby_gettext_extractor aims to replace the default ruby parser shipped with the gettext. The normal ruby gettext parser is unable to find gettext invokations within strings, like “Foo: #{_(”bar“)}”. Usually this itself wouldn't b a big issue but starting with Haml 2.2 haml uses exactly this kind of construct in its

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but

    bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2009 Reto Schüttel. See LICENSE for details.