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 @@
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}
- - Your best converting countries are: {include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.country}
- {if count($topSegments.keyword)>0}- Your top converting keywords are: {include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.keyword}
{/if}
- {if count($topSegments.website)>0}- Your best converting websites referers are: {include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.website}
{/if}
- - Returning visitors conversion rate is {$conversion_rate_returning}%, New Visitors conversion rate is {$conversion_rate_new}%
+ - {'Goals_BestCountries'|translate}{include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.country}
+ {if count($topSegments.keyword)>0}- {'Goals_BestKeywords'|translate}{include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.keyword}
{/if}
+ {if count($topSegments.website)>0}- {'Goals_BestReferers'|translate}{include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.website}
{/if}
+ - {'Goals_ReturningVisitorsConversionRate'|translate}{$conversion_rate_returning}%, {'Goals_NewVisitorsConversionRate'|translate}{$conversion_rate_new}%
{/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 @@