ruby-gettext / gettext

Gettext gem is a pure Ruby Localization(L10n) library and tool which is modeled after the GNU gettext package.
https://ruby-gettext.github.io/
69 stars 28 forks source link

rxgettext - added "--add-comments[=TAG]" command line option #16

Closed lslezak closed 11 years ago

lslezak commented 11 years ago

Added to be compatible with GNU xgettext.

The default value is TRANSLATORS: for backward compatibility.

lslezak commented 11 years ago

Our project, YaST installer and system management tool, switched to Ruby recently.

Previously we used GNU xgettext for extracting translatable strings, with Ruby we switched to rxgettext. However it turned out that --add-comments option which we use is not supported by rxgettext.

This pull request adds this option for better GNU gettext compatibility.

kou commented 11 years ago

Thanks for your pull requests! I'll merge your works after I reconstruct the current parser related codes. Please wait it.

lslezak commented 11 years ago

OK, thanks!

kou commented 11 years ago

Sorry for my late work. :< I've implemented it in master.