diff --git a/lang/en.php b/lang/en.php index 7287b3330b73fd39ebaaf868938c77657560d94f..bdd4933e5caad0337836148436d9055ca8550932 100644 --- a/lang/en.php +++ b/lang/en.php @@ -683,6 +683,7 @@ $translations = array( 'CustomVariables_ColumnCustomVariableValue' => 'Custom Variable value', 'CustomVariables_ScopeVisit' => 'scope visit', 'CustomVariables_ScopePage' => 'scope page', + 'CustomVariables_TrackingHelp' => 'Help: %1$sTracking Custom Variables in Piwik%2$s', 'CustomVariables_CustomVariablesReportDocumentation' => 'This report contains information about your Custom Variables. Click on a variable name to see the distribution of the values. %s For more information about Custom Variables in general, read the %sCustom Variables documentation on piwik.org%s', 'Dashboard_PluginDescription' => 'Your Web Analytics Dashboard. You can customize Your Dashboard: add new widgets, change the order of your widgets. Each user can access his own custom Dashboard.', 'Dashboard_Dashboard' => 'Dashboard', diff --git a/plugins/CustomVariables/Controller.php b/plugins/CustomVariables/Controller.php index 5985e69360402ed2e3761237ba6c83cd5b109bfe..cfe5052cd91020e731cfb63d61a338f2c0ffe87c 100644 --- a/plugins/CustomVariables/Controller.php +++ b/plugins/CustomVariables/Controller.php @@ -36,7 +36,7 @@ class Piwik_CustomVariables_Controller extends Piwik_Controller $view->setColumnTranslation('label', Piwik_Translate('CustomVariables_ColumnCustomVariableName')); $view->setSortedColumn( 'nb_visits' ); $view->setLimit( 10 ); - $view->setFooterMessage( 'Help: <a target="_blank" href="http://piwik.org/docs/custom-variables/">Tracking Custom Variables in Piwik</a>'); + $view->setFooterMessage( Piwik_Translate('CustomVariables_TrackingHelp', array('<a target="_blank" href="http://piwik.org/docs/custom-variables/">', '</a>')) ); $this->setMetricsVariablesView($view); return $this->renderView($view, $fetch); }