This topic is locked

Search Panel ShowHide Option not localized

3/4/2010 1:38:40 PM
PHPRunner General questions
A
aalekizoglou author

In PHPR5.2 4905, the showhide option is not show in local language event if there is a localization in the language file. In fact the problem should be in searchpanelsimple.php where the localized captions are stored but the assignment to showHidePot_mess is not working.



$showHideOpt_mess = $this->srchPanelAttrs['ctrlTypeComboStatus'] ? "Απόκρυψη επιλογών" : "Εμφάνιση επιλογών";

// show criteries div

$xt->assign("showHideCtrls_attrs", 'onclick="searchController'.$this->id.'.toggleCtrlChooseMenu();"');

// show search type opt

$xt->assign("showHideCtrlsOpt_attrs", ' onclick="searchController'.$this->id.'.toggleCtrlTypeCombo();"');

// show hide search type opt message
$xt->assign("showHideOpt_mess", $showHideOpt_mess);
J
jacekq 3/4/2010

I have the same effect:

the 2 strings from *.lng file translated to Polish (SEARCH_SHOW_OPTIONS_BUTTON and SEARCH_HIDE_OPTIONS_BUTTON) are displayed in English.
Regards,

Jacek

Sergey Kornilov admin 3/4/2010

Thanks, noted.

A
aalekizoglou author 3/22/2010



Thanks, noted.


Sergey,
I suppose you haven't fixed that, since it's still happening in 5154.