Bug 35589 - Search buttons not using i18n
Summary: Search buttons not using i18n
Status: RESOLVED FIXED
Alias: None
Product: Lenya
Classification: Unclassified
Component: Lucene Integration (show other bugs)
Version: 1.2.3
Hardware: All All
: P2 normal
Target Milestone: 1.4
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-02 21:13 UTC by solprovider
Modified: 2005-07-03 10:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solprovider 2005-07-02 21:13:00 UTC
Version=Lenya 1.2.4.  Bugzilla does not have that option yet.

This assumes the new Search was added to the "default" pub.  (I have not looked
at 1.4 yet.)  On JUN 23, a user emailed me directly instead of the User ML,
Gmail put it into Spam folder, and I did not find it until after the release.

FILE: default/lenya/xslt/navigation/search.xsl 
ADD: xmlns:i18n="http://apache.org/cocoon/i18n/2.1
CHANGE: 
<input class="searchsubmit" type="submit" value="Search" name="find"/>
TO:
<input class="searchsubmit" i18n:attr="value" type="submit" value="Search"
name="find"/>

FILE: default/lenya/xslt/search/search-and-results.xsl
CHANGE:
<input i18n:attr="value" type="submit" value="Search"/>
TO:
<input i18n:attr="value" type="submit" value="Search"/>
Comment 1 Gregor J. Rothfuss 2005-07-03 18:18:18 UTC
thanks, applied