[katello-devel] rake gettext:find no longer pulling strings from haml files

Tom McKay thomasmckay at redhat.com
Fri Dec 7 22:20:47 UTC 2012



----- Original Message -----
> From: "Tom McKay" <thomasmckay at redhat.com>
> To: "katello-devel" <katello-devel at redhat.com>
> Sent: Thursday, December 6, 2012 2:13:20 PM
> Subject: rake gettext:find no longer pulling strings from haml files
> 
> At some point it seems gettext:find stopped working on haml files.
> The following string does not make it to src/locale/app.pot
> 
> app/views/systems/_edit.html.haml:          - help_message =
> _("Setting the release version limits content to this version only,
> preventing newer packages from being available for installation.")
> 
> Does anyone recall making any changes that may have impacted this?
> When did we go from gettext to fast_gettext for example?
> 
> My versions
> 
> $ rpm -qa | grep gettext
> gettext-libs-0.17-16.el6.x86_64
> rubygem-gettext-2.1.0-5.el6.noarch
> gettext-0.17-16.el6.x86_64
> gettext-devel-0.17-16.el6.x86_64
> rubygem-gettext-doc-2.1.0-5.el6.noarch
> rubygem-fast_gettext-0.5.10-1.el6.noarch
> rubygem-gettext_i18n_rails-0.2.13-1.el6.noarch
> 

The problem I experienced was due to the version of ruby_parser used. Using 2.3.1 and all strings are pulled as expected from the haml files. Using 3.0.4 or 3.1.0 and no strings from any haml files are extracted. It is not clear to me what is wrong.




More information about the katello-devel mailing list