diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2016-02-19 15:27:57 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2016-02-19 15:27:57 +0100 |
commit | 07643dde08a7cd3f5a556021643e64dd1d5e89f2 (patch) | |
tree | f8767b88b8913ad7464e6553d2a2e5c1a82c0146 /app | |
parent | fa64d861105bd0713acd7ac5d116353273524b4f (diff) | |
download | wallabag-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.yml | 3 | ||||
-rw-r--r-- | app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml | 3 | ||||
-rw-r--r-- | app/config/services.yml | 8 |
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" | |||
22 | import: "import" | 22 | import: "import" |
23 | misc: "misc" | 23 | misc: "misc" |
24 | modify_settings: "apply" | 24 | modify_settings: "apply" |
25 | piwik_host: Host of your website in Piwik | ||
26 | piwik_site_id: ID of your website in Piwik | ||
27 | piwik_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" | |||
22 | import: "import" | 22 | import: "import" |
23 | misc: "divers" | 23 | misc: "divers" |
24 | modify_settings: "appliquer" | 24 | modify_settings: "appliquer" |
25 | piwik_host: URL de votre site dans Piwik | ||
26 | piwik_site_id: ID de votre site dans Piwik | ||
27 | piwik_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%"] |