aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2016-02-19 15:27:57 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2016-02-19 15:27:57 +0100
commit07643dde08a7cd3f5a556021643e64dd1d5e89f2 (patch)
treef8767b88b8913ad7464e6553d2a2e5c1a82c0146 /app
parentfa64d861105bd0713acd7ac5d116353273524b4f (diff)
downloadwallabag-07643dde08a7cd3f5a556021643e64dd1d5e89f2.tar.gz
wallabag-07643dde08a7cd3f5a556021643e64dd1d5e89f2.tar.zst
wallabag-07643dde08a7cd3f5a556021643e64dd1d5e89f2.zip
Fix #1137: implemented Piwik
Diffstat (limited to 'app')
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml3
-rw-r--r--app/config/services.yml8
3 files changed, 14 insertions, 0 deletions
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml
index 1c47ed2d..719e51ea 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml
@@ -22,3 +22,6 @@ export: "export"
22import: "import" 22import: "import"
23misc: "misc" 23misc: "misc"
24modify_settings: "apply" 24modify_settings: "apply"
25piwik_host: Host of your website in Piwik
26piwik_site_id: ID of your website in Piwik
27piwik_enabled: Enable Piwik
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml
index ddb78a13..ab5dfc72 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml
@@ -22,3 +22,6 @@ export: "export"
22import: "import" 22import: "import"
23misc: "divers" 23misc: "divers"
24modify_settings: "appliquer" 24modify_settings: "appliquer"
25piwik_host: URL de votre site dans Piwik
26piwik_site_id: ID de votre site dans Piwik
27piwik_enabled: Activer Piwik
diff --git a/app/config/services.yml b/app/config/services.yml
index 80d6c1a1..71862fd2 100644
--- a/app/config/services.yml
+++ b/app/config/services.yml
@@ -19,6 +19,14 @@ services:
19 tags: 19 tags:
20 - { name: twig.extension } 20 - { name: twig.extension }
21 21
22 wallabag.twig_piwik_extension:
23 class: Wallabag\CoreBundle\Twig\WallabagPiwikExtension
24 public: false
25 arguments:
26 - "@craue_config"
27 tags:
28 - { name: twig.extension }
29
22 wallabag.locale_listener: 30 wallabag.locale_listener:
23 class: Wallabag\CoreBundle\EventListener\LocaleListener 31 class: Wallabag\CoreBundle\EventListener\LocaleListener
24 arguments: ["%kernel.default_locale%"] 32 arguments: ["%kernel.default_locale%"]