On Wed, Jan 18, 2012 at 01:52:25PM -0500, Soulliere, Robert wrote:
[...] 

> 2. When I ran:   sudo -u opensrf xgettext.pl --plugin=tt2 
> --directory=Open-ILS/src/templates/opac/ 
> --output-dir=/openils/var/data/locale --output=tpac.en_CA.po
> 
> to roll my own en_CA.po file for Canadian English I noticed that the label 
> "Search the Catalog" was not added to the PO file while other labels in the 
> same searchbar.tt2 file were added.
> 
> I could add this label manually to the file, but was wondering  why some seem 
> to get added but others were not even though they seem to use the same 
> template identifiers?

Hmm, I just gave that a try and it's generating the label for me. 

#: Open-ILS/src/templates/opac/advanced.tt2:10 
Open-ILS/src/templates/opac/parts/searchbar.tt2:7
msgid "Search the Catalog"
msgstr ""

Locale::Maketext::Extract::VERSION = 0.38 on my test system.

-b

-- 
Bill Erickson
| Senior Software Developer
| Equinox Software, Inc. / Your Library's Guide to Open Source
| phone: 877-OPEN-ILS (673-6457)
| email: [email protected]
| web: http://esilibrary.com 

Reply via email to