[OPEN-ILS-DEV] Evergreen 2.2 TPac language/locale questions

Soulliere, Robert robert.soulliere at mohawkcollege.ca
Wed Jan 18 14:18:59 EST 2012


Thanks Bill,

On another attempt, I found the auto-generated label. Must have been a faulty search string when I searched for it the first time.

Regards,
Robert

Robert Soulliere, BA (Hons), MLIS
Systems Librarian
Mohawk College Library
robert.soulliere at mohawkcollege.ca
Telephone: 905 575 1212 x3936
Fax: 905 575 2011
________________________________________
From: open-ils-dev-bounces at list.georgialibraries.org [open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Bill Erickson [erickson at esilibrary.com]
Sent: January 18, 2012 2:07 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Evergreen 2.2 TPac language/locale questions

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: erickson at esilibrary.com
| web: http://esilibrary.com

This E-mail contains privileged and confidential information intended
only for the individual or entity named in the message.  If the reader
of this message is not the intended recipient, or the agent responsible
to deliver it to the intended recipient, you are hereby notified that
any review, dissemination, distribution or copying of this communication
is prohibited.  If this communication was received in error, please
notify the sender by reply E-mail immediately, and delete and destroy
the original message.


More information about the Open-ils-dev mailing list