@halfdan opened this Issue on May 8th 2010 Member

The Goals plugin didn't show the proper translation for it's menu items.

Reason:

  • Piwik_AddMenu was used without a proper translation string. (Goals_AddNewGoal)
  • No translation for menu item found -> Goals_Overview created.

Please add the line:
"Goals_Overview" => "Overview",

to the en.php.

@halfdan commented on May 8th 2010 Member
@halfdan commented on May 9th 2010 Member

Attachment:
Goals.php.diff

@halfdan commented on May 8th 2010 Member

Additionally add

'Goals_WhereThe' => 'where the',

to the en.php as the string "where the" was hardcoded in templates/form_add_goal.tpl.

Fixed in attachment.

@halfdan commented on May 9th 2010 Member

I've overlooked the most obvious translation - the menu item. To summarise the changes:
Add:

'Goals_Overview' => 'Overview',
'Goals_Goals' => 'Goals',
'Goals_WhereThe' => 'where the',

to en.php and apply the last comitted diffs.

@mattab commented on May 13th 2010 Owner

(In [2172]) Fixes #1344 thanks halfdan for patch!

This Issue was closed on May 13th 2010
Powered by GitHub Issue Mirror