You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The title on the VisitsSummary::index() -page is not properly translated. In /plugings/VisitsSummary/Controller.php the function index() contains the following:
and the translation string in the template (VisitsSummary_Evolution) is:
```
‘VisitsSummary_Evolution’ => ‘Evolution on the last 30 %ss’,
```
This does not work for other languages than English because:
1) The $period is not translated
2) This assumes that plural version of the time period can be conjugated by just adding a letter
The period should be translated, and this means that actually new translation items must be added for day, month and year for this context.
The text was updated successfully, but these errors were encountered:
The title on the VisitsSummary::index() -page is not properly translated. In /plugings/VisitsSummary/Controller.php the function index() contains the following:
```
$currentPeriod = Piwik_Common::getRequestVar(‘period’);
$view→period = $currentPeriod;
```
and the translation string in the template (VisitsSummary_Evolution) is:
```
‘VisitsSummary_Evolution’ => ‘Evolution on the last 30 %ss’,
```
This does not work for other languages than English because:
1) The $period is not translated
2) This assumes that plural version of the time period can be conjugated by just adding a letter
The period should be translated, and this means that actually new translation items must be added for day, month and year for this context.
The text was updated successfully, but these errors were encountered: