diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2020-04-30 09:14:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 09:14:52 +0200 |
commit | 557e810c1f2b2e662f163fc419014e80d5484e3a (patch) | |
tree | 58d033f3a8eefbeaa6a3732e2bf4eb7855cea336 /app | |
parent | 23ea2c8f74f662b851db8bab2046b82d13e2837b (diff) | |
parent | 9717d0129889ad73716be38766faede12adc333d (diff) | |
download | wallabag-557e810c1f2b2e662f163fc419014e80d5484e3a.tar.gz wallabag-557e810c1f2b2e662f163fc419014e80d5484e3a.tar.zst wallabag-557e810c1f2b2e662f163fc419014e80d5484e3a.zip |
Merge pull request #4363 from wallabag/piwik-to-matomo
Upgrade Piwik Twig Extension to Matomo
Diffstat (limited to 'app')
19 files changed, 82 insertions, 54 deletions
diff --git a/app/DoctrineMigrations/Version20200428072628.php b/app/DoctrineMigrations/Version20200428072628.php new file mode 100644 index 00000000..57fbebc2 --- /dev/null +++ b/app/DoctrineMigrations/Version20200428072628.php | |||
@@ -0,0 +1,28 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Application\Migrations; | ||
6 | |||
7 | use Doctrine\DBAL\Schema\Schema; | ||
8 | use Wallabag\CoreBundle\Doctrine\WallabagMigration; | ||
9 | |||
10 | /** | ||
11 | * Renamed Piwik to Matomo in configuration. | ||
12 | */ | ||
13 | final class Version20200428072628 extends WallabagMigration | ||
14 | { | ||
15 | public function up(Schema $schema): void | ||
16 | { | ||
17 | $this->addSql('UPDATE ' . $this->getTable('internal_setting', true) . " SET name = 'matomo_enabled' where name = 'piwik_enabled';"); | ||
18 | $this->addSql('UPDATE ' . $this->getTable('internal_setting', true) . " SET name = 'matomo_host' where name = 'piwik_host';"); | ||
19 | $this->addSql('UPDATE ' . $this->getTable('internal_setting', true) . " SET name = 'matomo_site_id' where name = 'piwik_site_id';"); | ||
20 | } | ||
21 | |||
22 | public function down(Schema $schema): void | ||
23 | { | ||
24 | $this->addSql('UPDATE ' . $this->getTable('internal_setting', true) . " SET name = 'piwik_enabled' where name = 'matomo_enabled';"); | ||
25 | $this->addSql('UPDATE ' . $this->getTable('internal_setting', true) . " SET name = 'piwik_host' where name = 'matomo_host';"); | ||
26 | $this->addSql('UPDATE ' . $this->getTable('internal_setting', true) . " SET name = 'piwik_site_id' where name = 'matomo_site_id';"); | ||
27 | } | ||
28 | } | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml index 6d6a60d6..86d41b23 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml | |||
@@ -27,9 +27,9 @@ export: "eksport" | |||
27 | import: "import" | 27 | import: "import" |
28 | misc: "misc" | 28 | misc: "misc" |
29 | modify_settings: "Gem ændring" | 29 | modify_settings: "Gem ændring" |
30 | piwik_host: Hosting af din side hos Piwik (uden http:// eller https://) | 30 | matomo_host: Hosting af din side hos Matomo (uden http:// eller https://) |
31 | piwik_site_id: ID for din side hos Piwik | 31 | matomo_site_id: ID for din side hos Matomo |
32 | piwik_enabled: Aktiver Piwik | 32 | matomo_enabled: Aktiver Matomo |
33 | demo_mode_enabled: "Aktiver demo-indstilling? (anvendes kun til wallabags offentlige demo)" | 33 | demo_mode_enabled: "Aktiver demo-indstilling? (anvendes kun til wallabags offentlige demo)" |
34 | demo_mode_username: "Demobruger" | 34 | demo_mode_username: "Demobruger" |
35 | # share_public: Allow public url for entries | 35 | # share_public: Allow public url for entries |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml index a4fa592b..ebfd020d 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml | |||
@@ -27,9 +27,9 @@ export: 'Export' | |||
27 | import: 'Import' | 27 | import: 'Import' |
28 | misc: 'Verschiedenes' | 28 | misc: 'Verschiedenes' |
29 | modify_settings: 'Übernehmen' | 29 | modify_settings: 'Übernehmen' |
30 | piwik_host: 'Host deiner Webseite in Piwik (ohne http:// oder https://)' | 30 | matomo_host: 'Host deiner Webseite in Matomo (ohne http:// oder https://)' |
31 | piwik_site_id: 'ID deiner Webseite in Piwik' | 31 | matomo_site_id: 'ID deiner Webseite in Matomo' |
32 | piwik_enabled: 'Piwik aktivieren' | 32 | matomo_enabled: 'Matomo aktivieren' |
33 | demo_mode_enabled: 'Test-Modus aktivieren? (nur für die öffentliche wallabag-Demo genutzt)' | 33 | demo_mode_enabled: 'Test-Modus aktivieren? (nur für die öffentliche wallabag-Demo genutzt)' |
34 | demo_mode_username: 'Test-Benutzer' | 34 | demo_mode_username: 'Test-Benutzer' |
35 | share_public: 'Erlaube eine öffentliche URL für Einträge' | 35 | share_public: 'Erlaube eine öffentliche URL für Einträge' |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml index 239c69eb..d7eb08df 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml | |||
@@ -27,9 +27,9 @@ export: "export" | |||
27 | import: "import" | 27 | import: "import" |
28 | misc: "misc" | 28 | misc: "misc" |
29 | modify_settings: "apply" | 29 | modify_settings: "apply" |
30 | piwik_host: Host of your website in Piwik (without http:// or https://) | 30 | matomo_host: Host of your website in Matomo (without http:// or https://) |
31 | piwik_site_id: ID of your website in Piwik | 31 | matomo_site_id: ID of your website in Matomo |
32 | piwik_enabled: Enable Piwik | 32 | matomo_enabled: Enable Matomo |
33 | demo_mode_enabled: "Enable demo mode? (Only used for the public wallabag demo)" | 33 | demo_mode_enabled: "Enable demo mode? (Only used for the public wallabag demo)" |
34 | demo_mode_username: "Demo user" | 34 | demo_mode_username: "Demo user" |
35 | share_public: Allow public URL for entries | 35 | share_public: Allow public URL for entries |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml index f9bd27f2..1cb2a585 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml | |||
@@ -27,9 +27,9 @@ export: "exportar" | |||
27 | import: "importar" | 27 | import: "importar" |
28 | misc: "misc" | 28 | misc: "misc" |
29 | modify_settings: "guardar" | 29 | modify_settings: "guardar" |
30 | piwik_host: Host de tu website en Piwik (sin http:// o https://) | 30 | matomo_host: Host de tu website en Matomo (sin http:// o https://) |
31 | piwik_site_id: ID de tu website en Piwik | 31 | matomo_site_id: ID de tu website en Matomo |
32 | piwik_enabled: Activar Piwik | 32 | matomo_enabled: Activar Matomo |
33 | demo_mode_enabled: "Activar modo demo (sólo usado en la demo pública de wallabag)" | 33 | demo_mode_enabled: "Activar modo demo (sólo usado en la demo pública de wallabag)" |
34 | demo_mode_username: "Nombre de usuario demo" | 34 | demo_mode_username: "Nombre de usuario demo" |
35 | share_public: Permitir URL pública para los artículos | 35 | share_public: Permitir URL pública para los artículos |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml index 15e4d6fd..50e5cc51 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml | |||
@@ -27,9 +27,9 @@ export: "برونسپاری" | |||
27 | import: "درونریزی" | 27 | import: "درونریزی" |
28 | misc: "غیره" | 28 | misc: "غیره" |
29 | modify_settings: "اعمال" | 29 | modify_settings: "اعمال" |
30 | # piwik_host: Host of your website in Piwik (without http:// or https://) | 30 | # matomo_host: Host of your website in Matomo (without http:// or https://) |
31 | # piwik_site_id: ID of your website in Piwik | 31 | # matomo_site_id: ID of your website in Matomo |
32 | # piwik_enabled: Enable Piwik | 32 | # matomo_enabled: Enable Matomo |
33 | # demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)" | 33 | # demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)" |
34 | # demo_mode_username: "Demo user" | 34 | # demo_mode_username: "Demo user" |
35 | # share_public: Allow public url for entries | 35 | # share_public: Allow public url for entries |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml index fe91044a..b66d5f02 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml | |||
@@ -27,9 +27,9 @@ export: "export" | |||
27 | import: "import" | 27 | import: "import" |
28 | misc: "divers" | 28 | misc: "divers" |
29 | modify_settings: "appliquer" | 29 | modify_settings: "appliquer" |
30 | piwik_host: URL de votre site dans Piwik (sans http:// ou https://) | 30 | matomo_host: URL de votre site dans Matomo (sans http:// ou https://) |
31 | piwik_site_id: ID de votre site dans Piwik | 31 | matomo_site_id: ID de votre site dans Matomo |
32 | piwik_enabled: Activer Piwik | 32 | matomo_enabled: Activer Matomo |
33 | demo_mode_enabled: "Activer le mode démo ? (utiliser uniquement pour la démo publique de wallabag)" | 33 | demo_mode_enabled: "Activer le mode démo ? (utiliser uniquement pour la démo publique de wallabag)" |
34 | demo_mode_username: "Utilisateur de la démo" | 34 | demo_mode_username: "Utilisateur de la démo" |
35 | share_public: Autoriser une URL publique pour les articles | 35 | share_public: Autoriser une URL publique pour les articles |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml index 3d5681fb..1b87b604 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml | |||
@@ -27,9 +27,9 @@ export: "esporta" | |||
27 | import: "importa" | 27 | import: "importa" |
28 | misc: "misc" | 28 | misc: "misc" |
29 | modify_settings: "applica" | 29 | modify_settings: "applica" |
30 | piwik_host: Host del tuo sito in Piwik (senza http:// o https://) | 30 | matomo_host: Host del tuo sito in Matomo (senza http:// o https://) |
31 | piwik_site_id: ID del tuo sito in Piwik | 31 | matomo_site_id: ID del tuo sito in Matomo |
32 | piwik_enabled: Abilita Piwik | 32 | matomo_enabled: Abilita Matomo |
33 | demo_mode_enabled: "Abilita modalità demo ? (usato solo per la demo pubblica di wallabag)" | 33 | demo_mode_enabled: "Abilita modalità demo ? (usato solo per la demo pubblica di wallabag)" |
34 | demo_mode_username: "Utente Demo" | 34 | demo_mode_username: "Utente Demo" |
35 | # share_public: Allow public url for entries | 35 | # share_public: Allow public url for entries |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ja.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ja.yml index d6559265..5010901d 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ja.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ja.yml | |||
@@ -27,9 +27,9 @@ export: "エクスポート" | |||
27 | import: "インポート" | 27 | import: "インポート" |
28 | misc: "misc" | 28 | misc: "misc" |
29 | modify_settings: "適用" | 29 | modify_settings: "適用" |
30 | piwik_host: Piwik でのウェブサイトのホスト (http:// または https:// は不要) | 30 | matomo_host: Matomo でのウェブサイトのホスト (http:// または https:// は不要) |
31 | piwik_site_id: Piwik でのあなたのウェブサイトの ID | 31 | matomo_site_id: Matomo でのあなたのウェブサイトの ID |
32 | piwik_enabled: Piwik を有効にする | 32 | matomo_enabled: Matomo を有効にする |
33 | demo_mode_enabled: "デモモードを有効にしますか? (パブリック Wallabag のデモにのみ使用)" | 33 | demo_mode_enabled: "デモモードを有効にしますか? (パブリック Wallabag のデモにのみ使用)" |
34 | demo_mode_username: "デモユーザー" | 34 | demo_mode_username: "デモユーザー" |
35 | share_public: 記事の公開 URL を許可する | 35 | share_public: 記事の公開 URL を許可する |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml index 13771799..13ee347a 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml | |||
@@ -27,9 +27,9 @@ export: "expòrt" | |||
27 | import: "impòrt" | 27 | import: "impòrt" |
28 | misc: "divèrs" | 28 | misc: "divèrs" |
29 | modify_settings: "aplicar" | 29 | modify_settings: "aplicar" |
30 | piwik_host: URL de vòstre site dins Piwik (sense http:// o https://) | 30 | matomo_host: URL de vòstre site dins Matomo (sense http:// o https://) |
31 | piwik_site_id: ID de vòstre site dins Piwik | 31 | matomo_site_id: ID de vòstre site dins Matomo |
32 | piwik_enabled: Activar Piwik | 32 | matomo_enabled: Activar Matomo |
33 | demo_mode_enabled: "Activar lo mode demostracion ? (utilizar solament per la demostracion publica de wallabag)" | 33 | demo_mode_enabled: "Activar lo mode demostracion ? (utilizar solament per la demostracion publica de wallabag)" |
34 | demo_mode_username: "Utilizaire de la demostracion" | 34 | demo_mode_username: "Utilizaire de la demostracion" |
35 | share_public: Autorizar una URL publica pels articles | 35 | share_public: Autorizar una URL publica pels articles |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml index 7c125fcf..e44fa58d 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml | |||
@@ -26,9 +26,9 @@ export: "eksport" | |||
26 | import: "import" | 26 | import: "import" |
27 | misc: "różne" | 27 | misc: "różne" |
28 | modify_settings: "zatwierdź" | 28 | modify_settings: "zatwierdź" |
29 | piwik_host: Host twojej strony Piwik (bez http:// lub https://) | 29 | matomo_host: Host twojej strony Matomo (bez http:// lub https://) |
30 | piwik_site_id: ID twojej strony Piwik | 30 | matomo_site_id: ID twojej strony Matomo |
31 | piwik_enabled: Włacz Piwik | 31 | matomo_enabled: Włacz Matomo |
32 | demo_mode_enabled: "Włacz tryb demo? (używany wyłącznie dla publicznej demonstracji Wallabag)" | 32 | demo_mode_enabled: "Włacz tryb demo? (używany wyłącznie dla publicznej demonstracji Wallabag)" |
33 | demo_mode_username: "Użytkownik Demonstracyjny" | 33 | demo_mode_username: "Użytkownik Demonstracyjny" |
34 | share_public: Zezwalaj na publiczny adres url dla wpisow | 34 | share_public: Zezwalaj na publiczny adres url dla wpisow |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pt.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pt.yml index 6f5fb02e..d4a22ac5 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pt.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pt.yml | |||
@@ -28,9 +28,9 @@ export: "exportar" | |||
28 | import: "importar" | 28 | import: "importar" |
29 | misc: "misc" | 29 | misc: "misc" |
30 | modify_settings: "aplicar" | 30 | modify_settings: "aplicar" |
31 | piwik_host: Host de seu website Piwik | 31 | matomo_host: Host de seu website Matomo |
32 | piwik_site_id: ID de seu website Piwik | 32 | matomo_site_id: ID de seu website Matomo |
33 | piwik_enabled: Habilitar Piwik | 33 | matomo_enabled: Habilitar Matomo |
34 | demo_mode_enabled: "Habilitar modo demo? (somente usado para o demo público do wallabag)" | 34 | demo_mode_enabled: "Habilitar modo demo? (somente usado para o demo público do wallabag)" |
35 | demo_mode_username: "Usuário demo" | 35 | demo_mode_username: "Usuário demo" |
36 | # share_public: Allow public url for entries | 36 | # share_public: Allow public url for entries |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml index 9d927cc0..d3f398f7 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml | |||
@@ -27,9 +27,9 @@ export: "exportă" | |||
27 | import: "importă" | 27 | import: "importă" |
28 | misc: "diverse" | 28 | misc: "diverse" |
29 | modify_settings: "aplică" | 29 | modify_settings: "aplică" |
30 | # piwik_host: Host of your website in Piwik (without http:// or https://) | 30 | # matomo_host: Host of your website in Matomo (without http:// or https://) |
31 | # piwik_site_id: ID of your website in Piwik | 31 | # matomo_site_id: ID of your website in Matomo |
32 | # piwik_enabled: Enable Piwik | 32 | # matomo_enabled: Enable Matomo |
33 | # demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)" | 33 | # demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)" |
34 | # demo_mode_username: "Demo user" | 34 | # demo_mode_username: "Demo user" |
35 | # share_public: Allow public url for entries | 35 | # share_public: Allow public url for entries |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ru.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ru.yml index 2eb7b237..3bc87165 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ru.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ru.yml | |||
@@ -27,9 +27,9 @@ export: "экспорт" | |||
27 | import: "импорт" | 27 | import: "импорт" |
28 | misc: "разное" | 28 | misc: "разное" |
29 | modify_settings: "применить" | 29 | modify_settings: "применить" |
30 | piwik_host: "Ссылка на Ваш сайт на Piwik (с http:// или https://)" | 30 | matomo_host: "Ссылка на Ваш сайт на Matomo (с http:// или https://)" |
31 | piwik_site_id: "ID Вашего сайта на Piwik" | 31 | matomo_site_id: "ID Вашего сайта на Matomo" |
32 | piwik_enabled: "Включить Piwik" | 32 | matomo_enabled: "Включить Matomo" |
33 | demo_mode_enabled: "Включить демо режим ? (только для публичной демонстрации wallabag)" | 33 | demo_mode_enabled: "Включить демо режим ? (только для публичной демонстрации wallabag)" |
34 | demo_mode_username: "Демо пользователь" | 34 | demo_mode_username: "Демо пользователь" |
35 | share_public: "Разрешить публичные ссылки на записи" | 35 | share_public: "Разрешить публичные ссылки на записи" |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.th.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.th.yml index 93c0d6b4..2937af01 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.th.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.th.yml | |||
@@ -25,9 +25,9 @@ export: "นำข้อมูลออก" | |||
25 | import: "นำเข้าข้อมูล" | 25 | import: "นำเข้าข้อมูล" |
26 | misc: "เบ็ดเตล็ด" | 26 | misc: "เบ็ดเตล็ด" |
27 | modify_settings: "ปรับใช้" | 27 | modify_settings: "ปรับใช้" |
28 | piwik_host: โฮสบนเว็บไซต์ของคุณใน Piwik (ยกเว้น http:// หรือ https://) | 28 | matomo_host: โฮสบนเว็บไซต์ของคุณใน Matomo (ยกเว้น http:// หรือ https://) |
29 | piwik_site_id: ไอดีบนเว็บไซต์ของคุณใน Piwik | 29 | matomo_site_id: ไอดีบนเว็บไซต์ของคุณใน Matomo |
30 | piwik_enabled: เปิดการใช้ Piwik | 30 | matomo_enabled: เปิดการใช้ Matomo |
31 | demo_mode_enabled: "เปิดการใช้งานโหมดเดโม ? (เฉพาะการใช้สำหรับเดโมสาธารณะของ wallabag)" | 31 | demo_mode_enabled: "เปิดการใช้งานโหมดเดโม ? (เฉพาะการใช้สำหรับเดโมสาธารณะของ wallabag)" |
32 | demo_mode_username: "ผู้ใช้ส่วนเดโม" | 32 | demo_mode_username: "ผู้ใช้ส่วนเดโม" |
33 | share_public: ยอมรับ URL สาธารณะจากการเข้าถึงข้อมูล | 33 | share_public: ยอมรับ URL สาธารณะจากการเข้าถึงข้อมูล |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml index 6de880ec..0af824ff 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml | |||
@@ -28,9 +28,9 @@ | |||
28 | # import: "import" | 28 | # import: "import" |
29 | # misc: "misc" | 29 | # misc: "misc" |
30 | # modify_settings: "apply" | 30 | # modify_settings: "apply" |
31 | # piwik_host: Host of your website in Piwik (without http:// or https://) | 31 | # matomo_host: Host of your website in Matomo (without http:// or https://) |
32 | # piwik_site_id: ID of your website in Piwik | 32 | # matomo_site_id: ID of your website in Matomo |
33 | # piwik_enabled: Enable Piwik | 33 | # matomo_enabled: Enable Matomo |
34 | # demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)" | 34 | # demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)" |
35 | # demo_mode_username: "Demo user" | 35 | # demo_mode_username: "Demo user" |
36 | # share_public: Allow public url for entries | 36 | # share_public: Allow public url for entries |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml index 59dd7f1b..28fe2d14 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml | |||
@@ -27,9 +27,9 @@ export: "导出" | |||
27 | import: "导入" | 27 | import: "导入" |
28 | misc: "杂项" | 28 | misc: "杂项" |
29 | modify_settings: "申请" | 29 | modify_settings: "申请" |
30 | piwik_host: 你的网站在 Piwik 的主机名(不包括 http:// or https://) | 30 | matomo_host: 你的网站在 Matomo 的主机名(不包括 http:// or https://) |
31 | piwik_site_id: 你的网站在 Piwik 的 ID | 31 | matomo_site_id: 你的网站在 Matomo 的 ID |
32 | piwik_enabled: 启用 Piwik | 32 | matomo_enabled: 启用 Matomo |
33 | demo_mode_enabled: "启用演示模式?(仅用于 wallabag 公开演示)" | 33 | demo_mode_enabled: "启用演示模式?(仅用于 wallabag 公开演示)" |
34 | demo_mode_username: "Demo user" | 34 | demo_mode_username: "Demo user" |
35 | share_public: 允许为项目启用公开链接 | 35 | share_public: 允许为项目启用公开链接 |
diff --git a/app/config/services.yml b/app/config/services.yml index c2c867cf..aab2a056 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -20,8 +20,8 @@ services: | |||
20 | tags: | 20 | tags: |
21 | - { name: twig.extension } | 21 | - { name: twig.extension } |
22 | 22 | ||
23 | wallabag.twig_piwik_extension: | 23 | wallabag.twig_matomo_extension: |
24 | class: PiwikTwigExtension\PiwikTwigExtension | 24 | class: MatomoTwigExtension\MatomoTwigExtension |
25 | public: false | 25 | public: false |
26 | tags: | 26 | tags: |
27 | - { name: twig.extension } | 27 | - { name: twig.extension } |
diff --git a/app/config/wallabag.yml b/app/config/wallabag.yml index 4dad9200..f3da314c 100644 --- a/app/config/wallabag.yml +++ b/app/config/wallabag.yml | |||
@@ -125,15 +125,15 @@ wallabag_core: | |||
125 | value: 0 | 125 | value: 0 |
126 | section: import | 126 | section: import |
127 | - | 127 | - |
128 | name: piwik_enabled | 128 | name: matomo_enabled |
129 | value: 0 | 129 | value: 0 |
130 | section: analytics | 130 | section: analytics |
131 | - | 131 | - |
132 | name: piwik_host | 132 | name: matomo_host |
133 | value: v2.wallabag.org | 133 | value: matomo.wallabag.org |
134 | section: analytics | 134 | section: analytics |
135 | - | 135 | - |
136 | name: piwik_site_id | 136 | name: matomo_site_id |
137 | value: 1 | 137 | value: 1 |
138 | section: analytics | 138 | section: analytics |
139 | - | 139 | - |