diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-10-02 11:38:14 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-10-02 11:38:14 +0300 |
commit | 1687c542c86429b4e6193e39090160bb51dd5cc4 (patch) | |
tree | 0130c45228d3c991bc2597edc08ed0e3db4fa367 /plugins/API | |
parent | d1b5ae57a6ad7f9fce8bfc195ae8a91ceb32a26b (diff) |
Display links to Glossary on Help page
Diffstat (limited to 'plugins/API')
-rw-r--r-- | plugins/API/lang/en.json | 3 | ||||
-rw-r--r-- | plugins/API/templates/glossary.twig | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/API/lang/en.json b/plugins/API/lang/en.json index dfd08850f7..57ef19aa29 100644 --- a/plugins/API/lang/en.json +++ b/plugins/API/lang/en.json @@ -9,6 +9,7 @@ "TopLinkTooltip": "Access your Web Analytics data programmatically through a simple API in json, xml, etc.", "UserAuthentication": "User authentication", "UsingTokenAuth": "If you want to %s request data within a script, a crontab, etc. %s you need to add the parameter %s to the API calls URLs that require authentication.", - "Glossary": "Glossary" + "Glossary": "Glossary", + "LearnAboutCommonlyUsedTerms": "Learn about the commonly used terms to make the most of Piwik Analytics: %s and %s." } }
\ No newline at end of file diff --git a/plugins/API/templates/glossary.twig b/plugins/API/templates/glossary.twig index cd12bbbff6..39f4070197 100644 --- a/plugins/API/templates/glossary.twig +++ b/plugins/API/templates/glossary.twig @@ -12,7 +12,7 @@ <h2 piwik-enriched-headline>{{ title }}</h2> - {{ 'Learn about the commonly used terms to make the most of Piwik Analytics: %s and %s.'|translate( + {{ 'API_LearnAboutCommonlyUsedTerms'|translate( '<a href="#metrics">'~ 'General_Metrics'|translate ~ '</a>', '<a href="#reports">' ~ 'General_Reports'|translate ~ '</a>')|raw }} |