diff options
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%"] |