Webhelp responsive search pagination widget is not localizable

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
mrlee
Posts: 1
Joined: Wed Mar 20, 2019 11:39 am

Webhelp responsive search pagination widget is not localizable

Post by mrlee » Wed Mar 20, 2019 11:42 am

Hi,
The search result page pagination widget of the webhelp plugin (v20) has the text of the "Next" and "Previous" buttons hard-coded in the Javascript search.js file. Could you open a defect to extract the text into the localization files.
In the meantime, a fix would be appreciated.

Here is the code extract for reference:
Code: Select all
$('#wh-search-pagination').bootpag({
total: totalPageNumber, // total pages
page: pageToShow, // default page
maxVisible: 10, // visible pagination
leaps: true, // next/prev leaps through maxVisible
next: 'Next',
prev: 'Previous'
}).on("page", function(event, num){
util.debug("Display page with number: ", num);


Regards,
Rémihttps://www.oxygenxml.com

cosmin_andrei
Posts: 51
Joined: Mon Jun 12, 2017 10:50 am

Re: Webhelp responsive search pagination widget is not localizable

Post by cosmin_andrei » Wed Mar 20, 2019 3:36 pm

Hello,

Thank you for your email.

Note that this issue was solved in the latest version of Oxygen (v21). Please download and install this version and let us know if the problem persist.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support

Post Reply