Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

VisitsSummary index does not properly translate time period #591

Closed
anonymous-piwik-user opened this Issue · 1 comment

2 participants

Anonymous Piwik user Matthieu Aubry
Anonymous Piwik user

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.

Matthieu Aubry
Owner

fixed in 977

Anonymous Piwik user anonymous-piwik-user added this to the RobotRock milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.