Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.5.0-b1
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Install an additional language
- Add a language file for widget and update Widget.submit
- Select the newly installed language
- Visit the Clients list page
- Expand the filter section
- See that the button is still labeled "Submit"
Update the Widget constructor to:
public function __construct() { Loader::loadComponents($this, ['Session']); Language::setLang($this->Session->read('blesta_language')); Language::loadLang('widget'); }
Also WidgetClient references 'Widget.submit' when it should reference 'WidgetClient.submit'.
Update the WidgetClient constructor to:
public function __construct() { Loader::loadComponents($this, ['Session']); Language::setLang($this->Session->read('blesta_language')); Language::loadLang('widget_client'); }