Index: plugins/Goals/templates/list_goal_edit.tpl =================================================================== --- plugins/Goals/templates/list_goal_edit.tpl (revision 1661) +++ plugins/Goals/templates/list_goal_edit.tpl (working copy) @@ -2,20 +2,20 @@ - - - - - + + + + + {foreach from=$goals item=goal} - + - - + + {/foreach}
IdGoal NameGoal is Triggered whenRevenueEditDelete{'Goals_GoalName'|translate}{'Goals_GoalIsTriggeredWhen'|translate}{'Goals_ColumnRevenue'|translate}{'General_Edit'|translate}{'General_Delete'|translate}
{$goal.idgoal} {$goal.name}{$goal.match_attribute} {if isset($goal.pattern_type)}
Pattern {$goal.pattern_type}: {$goal.pattern}{/if}
{$goal.match_attribute} {if isset($goal.pattern_type)}
{'General_Pattern'|translate} {$goal.pattern_type}: {$goal.pattern}{/if}
{if $goal.revenue==0}-{else}{$currency}{$goal.revenue}{/if} Edit Delete {'General_Edit'|translate} {'General_Delete'|translate}
Index: plugins/Goals/templates/GoalForm.js =================================================================== --- plugins/Goals/templates/GoalForm.js (revision 1661) +++ plugins/Goals/templates/GoalForm.js (working copy) @@ -94,7 +94,7 @@ $('a[name=linkDeleteGoal]').click( function() { var goalId = $(this).attr('id'); var goal = piwik.goals[goalId]; - if(confirm(sprintf("Are you sure you want to delete the Goal '%s'?", goal.name))) + if(confirm(sprintf("{'Goals_DeleteGoalConfirm'|translate}", goal.name))) { $.ajax( getAjaxDeleteGoal( goalId ) ); } Index: plugins/Goals/templates/add_new_goal.tpl =================================================================== --- plugins/Goals/templates/add_new_goal.tpl (revision 1661) +++ plugins/Goals/templates/add_new_goal.tpl (working copy) @@ -2,7 +2,5 @@ {if $userCanEditGoals} {include file=Goals/templates/add_edit_goal.tpl} {else} -Only an Administrator or the Super User can add Goals for a given website. -Please ask your Piwik administrator to set up a Goal for your website. -
Tracking Goals are a great tool to help you maximize your website performance! +{'Goals_NoGoalsNeedAccess'|translate} {/if} Index: plugins/Goals/templates/single_goal.tpl =================================================================== --- plugins/Goals/templates/single_goal.tpl (revision 1661) +++ plugins/Goals/templates/single_goal.tpl (working copy) @@ -2,12 +2,12 @@
{if $nb_conversions > 0} -

Conversions Overview

+

{'Goals_Conversions_Overview'|translate}

{/if}
Index: plugins/Goals/templates/overview.tpl =================================================================== --- plugins/Goals/templates/overview.tpl (revision 1661) +++ plugins/Goals/templates/overview.tpl (working copy) @@ -7,12 +7,12 @@

{$goal.name} (goal)

{sparkline src=$goal.urlSparklineConversions} - {'%s conversions'|translate:"$nb_conversions"}
+ {'Goals_Conversions'|translate:"$nb_conversions"}
{sparkline src=$goal.urlSparklineConversionRate} - {'%s conversion rate'|translate:"$conversion_rate%"}
- {* (more) *} + {'Goals_ConversionRate'|translate:"$conversion_rate%"}
+ {* ({'General_More'|translate}) *} {/foreach} Index: plugins/Goals/templates/release_notes.tpl =================================================================== --- plugins/Goals/templates/release_notes.tpl (revision 1661) +++ plugins/Goals/templates/release_notes.tpl (working copy) @@ -1,4 +1,5 @@ -
+
+



About the Goal Tracking Plugin
@@ -34,3 +35,4 @@
 - Goal conversions, revenue, etc. by hour
 - I would like to be able to plot conversions, for a given keyword/website, over the last N days/weeks/etc. See	#534
 - when entering the regex to detect as a goal, we could query the piwik API for this regex and list all URLs that match the regex; allows for an easy debug/check that the regex is correct and will be triggererd when expected
+
Index: plugins/Goals/templates/title_and_evolution_graph.tpl =================================================================== --- plugins/Goals/templates/title_and_evolution_graph.tpl (revision 1661) +++ plugins/Goals/templates/title_and_evolution_graph.tpl (working copy) @@ -6,13 +6,13 @@
{sparkline src=$urlSparklineConversions} - {'%s conversions'|translate:"$nb_conversions"}
+ {'Goals_Conversions'|translate:"$nb_conversions"}
{if $revenue != 0 }
{sparkline src=$urlSparklineRevenue} - {'%s overall revenue'|translate:"$currency$revenue"}
+ {'Goals_OverallRevenue'|translate:"$currency$revenue"}
{/if}
{sparkline src=$urlSparklineConversionRate} - {'%s overall conversion rate (visits with a completed goal)'|translate:"$conversion_rate%"}
+ {'Goals_OverallConversionRate'|translate:"$conversion_rate%"}
Index: plugins/Goals/templates/form_add_goal.tpl =================================================================== --- plugins/Goals/templates/form_add_goal.tpl (revision 1661) +++ plugins/Goals/templates/form_add_goal.tpl (working copy) @@ -10,25 +10,25 @@ - + - @@ -37,9 +37,9 @@ @@ -62,12 +62,9 @@ - + @@ -75,7 +72,7 @@
- +
Index: plugins/Goals/templates/add_edit_goal.tpl =================================================================== --- plugins/Goals/templates/add_edit_goal.tpl (revision 1661) +++ plugins/Goals/templates/add_edit_goal.tpl (working copy) @@ -1,9 +1,9 @@
{if isset($onlyShowAddNewGoal)} -

Add a new Goal

+

{'Goals_AddNewGoal'|translate}

{else} -

+ Add a new Goal +

+ {'Goals_AddNewGoal'|translate} or Edit existing Goals

{/if} Index: plugins/Goals/templates/list_top_segment.tpl =================================================================== --- plugins/Goals/templates/list_top_segment.tpl (revision 1661) +++ plugins/Goals/templates/list_top_segment.tpl (working copy) @@ -1,5 +1,5 @@ {foreach from=$topSegment item=element name=topGoalElements} - +{$element.conversion_rate}% {'Goals_ColumnConversionRate'|translate}'> {$element.name}{logoHtml metadata=$element.metadata alt=$element.name}{if $smarty.foreach.topGoalElements.iteration == $smarty.foreach.topGoalElements.total-1} and {elseif $smarty.foreach.topGoalElements.iteration < $smarty.foreach.topGoalElements.total-1}, {else}{/if} {/foreach} {* (more) *}
Goal Name {'Goals_GoalName'|translate}
Goal is triggered + {'Goals_GoalIsTriggered'|translate} - +
- +
- +
where the @@ -48,7 +48,7 @@
(optional) - +
(optional) Goal default value is (optional) {'Goals_DefaultRevenue'|translate} {$currency} -
- For example, a Contact Form submitted by a visitor
- may be worth $10 on average. Piwik will help you understand
- how well your visitors segments are performing.
+
{'Goals_DefaultRevenueHelp'|translate}