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');
}
Activity
| Field | Original Value | New Value |
|---|---|---|
| Rank | Ranked higher |
| Sprint | 5.5.0 Sprint 3 [ 155 ] |
| Rank | Ranked higher |
| Priority | Major [ 3 ] | Minor [ 4 ] |
| Assignee | Abdy Franco [ abdy ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Remaining Estimate | 0 minutes [ 0 ] | |
| Time Spent | 30 minutes [ 1800 ] | |
| Worklog Id | 15700 [ 15700 ] |
| Status | In Progress [ 3 ] | In Review [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Time Spent | 30 minutes [ 1800 ] | 35 minutes [ 2100 ] |
| Worklog Id | 15704 [ 15704 ] |
| Status | In Review [ 5 ] | Closed [ 6 ] |