diff options
Diffstat (limited to 'app')
12 files changed, 75 insertions, 10 deletions
diff --git a/app/DoctrineMigrations/Version20160916201049.php b/app/DoctrineMigrations/Version20160916201049.php new file mode 100644 index 00000000..ac8e6966 --- /dev/null +++ b/app/DoctrineMigrations/Version20160916201049.php | |||
@@ -0,0 +1,44 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Application\Migrations; | ||
4 | |||
5 | use Doctrine\DBAL\Migrations\AbstractMigration; | ||
6 | use Doctrine\DBAL\Schema\Schema; | ||
7 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; | ||
8 | use Symfony\Component\DependencyInjection\ContainerInterface; | ||
9 | |||
10 | class Version20160916201049 extends AbstractMigration implements ContainerAwareInterface | ||
11 | { | ||
12 | /** | ||
13 | * @var ContainerInterface | ||
14 | */ | ||
15 | private $container; | ||
16 | |||
17 | public function setContainer(ContainerInterface $container = null) | ||
18 | { | ||
19 | $this->container = $container; | ||
20 | } | ||
21 | |||
22 | private function getTable($tableName) | ||
23 | { | ||
24 | return $this->container->getParameter('database_table_prefix') . $tableName; | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * @param Schema $schema | ||
29 | */ | ||
30 | public function up(Schema $schema) | ||
31 | { | ||
32 | $this->addSql('ALTER TABLE '.$this->getTable('config').' ADD pocket_consumer_key VARCHAR(255) DEFAULT NULL'); | ||
33 | } | ||
34 | |||
35 | /** | ||
36 | * @param Schema $schema | ||
37 | */ | ||
38 | public function down(Schema $schema) | ||
39 | { | ||
40 | $this->abortIf($this->connection->getDatabasePlatform()->getName() == 'sqlite', 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); | ||
41 | |||
42 | $this->addSql('ALTER TABLE `'.$this->getTable('config').'` DROP pocket_consumer_key'); | ||
43 | } | ||
44 | } | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml index 905d7b2b..85079330 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml | |||
@@ -8,7 +8,6 @@ export_csv: Aktiver eksport til CSV | |||
8 | export_json: Aktiver eksport til JSON | 8 | export_json: Aktiver eksport til JSON |
9 | export_txt: Aktiver eksport til TXT | 9 | export_txt: Aktiver eksport til TXT |
10 | export_xml: Aktiver eksport til XML | 10 | export_xml: Aktiver eksport til XML |
11 | pocket_consumer_key: Brugers nøgle til Pocket for at importere materialer (https://getpocket.com/developer/docs/authentication) | ||
12 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | # import_with_redis: Enable Redis to import data asynchronously | 12 | # import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: Shaarli-URL, hvis tjenesten er aktiv | 13 | shaarli_url: Shaarli-URL, hvis tjenesten er aktiv |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml index eab50ff2..eaba14cd 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml | |||
@@ -8,7 +8,6 @@ export_csv: CSV-Export aktivieren | |||
8 | export_json: JSON-Export aktivieren | 8 | export_json: JSON-Export aktivieren |
9 | export_txt: TXT-Export aktivieren | 9 | export_txt: TXT-Export aktivieren |
10 | export_xml: XML-Export aktivieren | 10 | export_xml: XML-Export aktivieren |
11 | pocket_consumer_key: Consumer-Key für Pocket, um Inhalte zu importieren (https://getpocket.com/developer/docs/authentication) | ||
12 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | # import_with_redis: Enable Redis to import data asynchronously | 12 | # import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: Shaarli-URL, sofern der Service aktiviert ist | 13 | shaarli_url: Shaarli-URL, sofern der Service aktiviert ist |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml index 446c9d05..8aaa27e7 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml | |||
@@ -8,7 +8,6 @@ export_csv: Enable CSV export | |||
8 | export_json: Enable JSON export | 8 | export_json: Enable JSON export |
9 | export_txt: Enable TXT export | 9 | export_txt: Enable TXT export |
10 | export_xml: Enable XML export | 10 | export_xml: Enable XML export |
11 | pocket_consumer_key: Consumer key for Pocket to import contents (https://getpocket.com/developer/docs/authentication) | ||
12 | import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | import_with_redis: Enable Redis to import data asynchronously | 12 | import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: Shaarli URL, if the service is enabled | 13 | shaarli_url: Shaarli URL, if the service is enabled |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml index 42f48bf7..bf3a79af 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml | |||
@@ -8,7 +8,6 @@ export_csv: Activar exportación a CSV | |||
8 | export_json: Activar exportación a JSON | 8 | export_json: Activar exportación a JSON |
9 | export_txt: Activar exportación a TXT | 9 | export_txt: Activar exportación a TXT |
10 | export_xml: Activar exportación a XML | 10 | export_xml: Activar exportación a XML |
11 | pocket_consumer_key: Consumer key for Pocket to import contents (https://getpocket.com/developer/docs/authentication) | ||
12 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | # import_with_redis: Enable Redis to import data asynchronously | 12 | # import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: Shaarli URL, si el servicio está activado | 13 | shaarli_url: Shaarli URL, si el servicio está activado |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml index 6fc17c98..d86c4343 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml | |||
@@ -8,7 +8,6 @@ export_csv: فعالسازی برونسپاری به CSV | |||
8 | export_json: فعالسازی برونسپاری به JSON | 8 | export_json: فعالسازی برونسپاری به JSON |
9 | export_txt: فعالسازی برونسپاری به TXT | 9 | export_txt: فعالسازی برونسپاری به TXT |
10 | export_xml: فعالسازی برونسپاری به XML | 10 | export_xml: فعالسازی برونسپاری به XML |
11 | pocket_consumer_key: کلید کاربری Pocket برای درونریزی مطالب (https://getpocket.com/developer/docs/authentication) | ||
12 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | # import_with_redis: Enable Redis to import data asynchronously | 12 | # import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: نشانی Shaarli، اگر فعال بود | 13 | shaarli_url: نشانی Shaarli، اگر فعال بود |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml index 08351b77..5e1ecf26 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml | |||
@@ -8,7 +8,6 @@ export_csv: Activer l'export CSV | |||
8 | export_json: Activer l'export JSON | 8 | export_json: Activer l'export JSON |
9 | export_txt: Activer l'export TXT | 9 | export_txt: Activer l'export TXT |
10 | export_xml: Activer l'export XML | 10 | export_xml: Activer l'export XML |
11 | pocket_consumer_key: Clé d'authentification Pocket pour importer les données (https://getpocket.com/developer/docs/authentication) | ||
12 | import_with_rabbitmq: Activer RabbitMQ pour gérer les imports de façon asynchrone | 11 | import_with_rabbitmq: Activer RabbitMQ pour gérer les imports de façon asynchrone |
13 | import_with_redis: Activer Redis pour gérer les imports de façon asynchrone | 12 | import_with_redis: Activer Redis pour gérer les imports de façon asynchrone |
14 | shaarli_url: URL de Shaarli, si le service Shaarli est activé | 13 | shaarli_url: URL de Shaarli, si le service Shaarli est activé |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml index 0c8a906d..9d820e4b 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml | |||
@@ -8,7 +8,6 @@ export_csv: Abilita esportazione CSV | |||
8 | export_json: Abilita esportazione JSON | 8 | export_json: Abilita esportazione JSON |
9 | export_txt: Abilita esportazione TXT | 9 | export_txt: Abilita esportazione TXT |
10 | export_xml: Abilita esportazione XML | 10 | export_xml: Abilita esportazione XML |
11 | pocket_consumer_key: Consumer key per Pocket per importare i contenuti (https://getpocket.com/developer/docs/authentication) | ||
12 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | # import_with_redis: Enable Redis to import data asynchronously | 12 | # import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: Shaarli URL, se il servizio è abilitato | 13 | shaarli_url: Shaarli URL, se il servizio è abilitato |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml index f578095e..49dc7732 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml | |||
@@ -8,7 +8,6 @@ export_csv: Activar l'expòrt CSV | |||
8 | export_json: Activar l'expòrt JSON | 8 | export_json: Activar l'expòrt JSON |
9 | export_txt: Activar l'expòrt TXT | 9 | export_txt: Activar l'expòrt TXT |
10 | export_xml: Activar l'expòrt XML | 10 | export_xml: Activar l'expòrt XML |
11 | pocket_consumer_key: Clau d'autentificacion Pocket per importar las donadas (https://getpocket.com/developer/docs/authentication) | ||
12 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | # import_with_redis: Enable Redis to import data asynchronously | 12 | # import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: URL de Shaarli, se lo servici Shaarli es activat | 13 | shaarli_url: URL de Shaarli, se lo servici Shaarli es activat |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml index 351ee2a8..2365f2b3 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml | |||
@@ -8,7 +8,6 @@ export_csv: Włącz eksport do CSV | |||
8 | export_json: Włącz eksport do JSON | 8 | export_json: Włącz eksport do JSON |
9 | export_txt: Włącz eksport do TXT | 9 | export_txt: Włącz eksport do TXT |
10 | export_xml: Włącz eksport do XML | 10 | export_xml: Włącz eksport do XML |
11 | pocket_consumer_key: Klucz klienta Pocket do importu zawartości (https://getpocket.com/developer/docs/authentication) | ||
12 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | # import_with_redis: Enable Redis to import data asynchronously | 12 | # import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: Adress URL Shaarli, jeżeli usługa jest włączona | 13 | shaarli_url: Adress URL Shaarli, jeżeli usługa jest włączona |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml index b9b41ee7..20d664f7 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml | |||
@@ -8,7 +8,6 @@ export_csv: Permite exportare CSV | |||
8 | export_json: Permite exportare JSON | 8 | export_json: Permite exportare JSON |
9 | export_txt: Permite exportare TXT | 9 | export_txt: Permite exportare TXT |
10 | export_xml: Permite exportare XML | 10 | export_xml: Permite exportare XML |
11 | pocket_consumer_key: Cheie consumator pentru importarea contentului din Pocket (https://getpocket.com/developer/docs/authentication) | ||
12 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | 11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously |
13 | # import_with_redis: Enable Redis to import data asynchronously | 12 | # import_with_redis: Enable Redis to import data asynchronously |
14 | shaarli_url: Shaarli URL, dacă serviciul este permis | 13 | shaarli_url: Shaarli URL, dacă serviciul este permis |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml new file mode 100644 index 00000000..4b4d3edb --- /dev/null +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml | |||
@@ -0,0 +1,31 @@ | |||
1 | # download_pictures: Download pictures on your server | ||
2 | # carrot: Enable share to Carrot | ||
3 | # diaspora_url: Diaspora URL, if the service is enabled | ||
4 | # export_epub: Enable ePub export | ||
5 | # export_mobi: Enable .mobi export | ||
6 | # export_pdf: Enable PDF export | ||
7 | # export_csv: Enable CSV export | ||
8 | # export_json: Enable JSON export | ||
9 | # export_txt: Enable TXT export | ||
10 | # export_xml: Enable XML export | ||
11 | # import_with_rabbitmq: Enable RabbitMQ to import data asynchronously | ||
12 | # import_with_redis: Enable Redis to import data asynchronously | ||
13 | # shaarli_url: Shaarli URL, if the service is enabled | ||
14 | # share_diaspora: Enable share to Diaspora | ||
15 | # share_mail: Enable share by email | ||
16 | # share_shaarli: Enable share to Shaarli | ||
17 | # share_twitter: Enable share to Twitter | ||
18 | # show_printlink: Display a link to print content | ||
19 | # wallabag_support_url: Support URL for wallabag | ||
20 | # wallabag_url: URL of *your* wallabag instance | ||
21 | # entry: "article" | ||
22 | # export: "export" | ||
23 | # import: "import" | ||
24 | # misc: "misc" | ||
25 | # modify_settings: "apply" | ||
26 | # piwik_host: Host of your website in Piwik | ||
27 | # piwik_site_id: ID of your website in Piwik | ||
28 | # piwik_enabled: Enable Piwik | ||
29 | # demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)" | ||
30 | # demo_mode_username: "Demo user" | ||
31 | # share_public: Allow public url for entries | ||