VisitsSummary index does not properly translate time period #591

anonymous-piwik-user opened this Issue Mar 9, 2009 · 1 comment

2 participants


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.

Piwik Open Source Analytics member

fixed in 977

@anonymous-piwik-user anonymous-piwik-user added this to the RobotRock milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment