diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2010-03-17 20:30:45 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2010-03-17 20:30:45 +0300 |
commit | 5606e47b7eac2c343d006fcb240cd87fd92d6501 (patch) | |
tree | cdc280ef9fdf4520a9e147ca37b35614d160be2c /plugins/Goals/templates/single_goal.tpl | |
parent | 6dad219f14061660a53aae4f86faf1ec24c5187c (diff) |
Fixes #1068 added i18n in all existing Goal plugin strings & js strings
updated documentation to explain how to translate JS strings in plugins + how to reload a widget in dashboard (this will be available in http://dev.piwik.org/trac/wiki/Plugins/GlobalFunctions after the release)
git-svn-id: http://dev.piwik.org/svn/trunk@1929 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Goals/templates/single_goal.tpl')
-rw-r--r-- | plugins/Goals/templates/single_goal.tpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Goals/templates/single_goal.tpl b/plugins/Goals/templates/single_goal.tpl index 8beb4593c4..c0b45b8dde 100644 --- a/plugins/Goals/templates/single_goal.tpl +++ b/plugins/Goals/templates/single_goal.tpl @@ -2,12 +2,12 @@ <div style="clear:both;"></div> {if $nb_conversions > 0} - <h2>Conversions Overview</h2> + <h2>{'Goals_ConversionsOverview'|translate}</h2> <ul class="ulGoalTopElements"> - <li>Your best converting countries are: {include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.country}</li> - {if count($topSegments.keyword)>0}<li>Your top converting keywords are: {include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.keyword}</li>{/if} - {if count($topSegments.website)>0}<li>Your best converting websites referers are: {include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.website}</li>{/if} - <li>Returning visitors conversion rate is <b>{$conversion_rate_returning}%</b>, New Visitors conversion rate is <b>{$conversion_rate_new}%</b></li> + <li>{'Goals_BestCountries'|translate}{include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.country}</li> + {if count($topSegments.keyword)>0}<li>{'Goals_BestKeywords'|translate}{include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.keyword}</li>{/if} + {if count($topSegments.website)>0}<li>{'Goals_BestReferers'|translate}{include file='Goals/templates/list_top_segment.tpl' topSegment=$topSegments.website}</li>{/if} + <li>{'Goals_ReturningVisitorsConversionRateIs'|translate:"<b>$conversion_rate_returning%</b>"}, {'Goals_NewVisitorsConversionRateIs'|translate:"<b>$conversion_rate_new%</b>"}</li> </ul> {/if} <hr> |