diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-02 10:27:15 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-02 11:32:38 +0200 |
commit | 1b9cd91782ed8341d2e608371201348c59986f23 (patch) | |
tree | d09d844f2e4a4168fe8c5d3a5482726c38061213 | |
parent | 426bb453d295900fb3e35dce2f9081a42639cf27 (diff) | |
download | wallabag-1b9cd91782ed8341d2e608371201348c59986f23.tar.gz wallabag-1b9cd91782ed8341d2e608371201348c59986f23.tar.zst wallabag-1b9cd91782ed8341d2e608371201348c59986f23.zip |
Add translation
13 files changed, 13 insertions, 1 deletions
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml index d1f7e3b5..20e938f5 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml | |||
@@ -34,3 +34,4 @@ demo_mode_username: "Demobruger" | |||
34 | # share_public: Allow public url for entries | 34 | # share_public: Allow public url for entries |
35 | # download_images_enabled: Download images locally | 35 | # download_images_enabled: Download images locally |
36 | # restricted_access: Enable authentication for websites with paywall | 36 | # restricted_access: Enable authentication for websites with paywall |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml index 1105675b..526d41bc 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml | |||
@@ -34,3 +34,4 @@ demo_mode_username: "Test-Benutzer" | |||
34 | share_public: Erlaube eine öffentliche URL für Einträge | 34 | share_public: Erlaube eine öffentliche URL für Einträge |
35 | # download_images_enabled: Download images locally | 35 | # download_images_enabled: Download images locally |
36 | # restricted_access: Enable authentication for websites with paywall | 36 | # restricted_access: Enable authentication for websites with paywall |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml index 802599b3..3c0037f3 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml | |||
@@ -34,3 +34,4 @@ demo_mode_username: "Demo user" | |||
34 | share_public: Allow public url for entries | 34 | share_public: Allow public url for entries |
35 | download_images_enabled: Download images locally | 35 | download_images_enabled: Download images locally |
36 | restricted_access: Enable authentication for websites with paywall | 36 | restricted_access: Enable authentication for websites with paywall |
37 | api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml index b3ac18ed..99869669 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml | |||
@@ -34,3 +34,4 @@ demo_mode_username: "Nombre de usuario demo" | |||
34 | share_public: Permitir URL pública para los artículos | 34 | share_public: Permitir URL pública para los artículos |
35 | download_images_enabled: Descargar imágenes localmente | 35 | download_images_enabled: Descargar imágenes localmente |
36 | restricted_access: Activar autenticación para websites con paywall | 36 | restricted_access: Activar autenticación para websites con paywall |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml index c73d63e2..2e1307e5 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml | |||
@@ -34,3 +34,4 @@ modify_settings: "اعمال" | |||
34 | # share_public: Allow public url for entries | 34 | # share_public: Allow public url for entries |
35 | # download_images_enabled: Download images locally | 35 | # download_images_enabled: Download images locally |
36 | # restricted_access: Enable authentication for websites with paywall | 36 | # restricted_access: Enable authentication for websites with paywall |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml index a53174ae..454053ad 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml | |||
@@ -34,3 +34,4 @@ demo_mode_username: "Utilisateur de la démo" | |||
34 | share_public: Autoriser une URL publique pour les articles | 34 | share_public: Autoriser une URL publique pour les articles |
35 | download_images_enabled: Télécharger les images en local | 35 | download_images_enabled: Télécharger les images en local |
36 | restricted_access: Activer l'authentification pour les articles derrière un paywall | 36 | restricted_access: Activer l'authentification pour les articles derrière un paywall |
37 | api_user_registration: Activer la création de compte depuis l'API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml index 3d53fc8d..7d5ac3d2 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml | |||
@@ -34,3 +34,4 @@ demo_mode_username: "Utente Demo" | |||
34 | # share_public: Allow public url for entries | 34 | # share_public: Allow public url for entries |
35 | # download_images_enabled: Download images locally | 35 | # download_images_enabled: Download images locally |
36 | # restricted_access: Enable authentication for websites with paywall | 36 | # restricted_access: Enable authentication for websites with paywall |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml index 79f75245..00c06638 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml | |||
@@ -34,3 +34,4 @@ demo_mode_username: "Utilizaire de la demostracion" | |||
34 | share_public: Autorizar una URL publica pels articles | 34 | share_public: Autorizar una URL publica pels articles |
35 | download_images_enabled: Telecargar los imatges en local | 35 | download_images_enabled: Telecargar los imatges en local |
36 | restricted_access: Activar l'autenticacion pels sites amb peatge | 36 | restricted_access: Activar l'autenticacion pels sites amb peatge |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml index 02fe98e3..81ddefd1 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml | |||
@@ -34,3 +34,4 @@ 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 |
35 | download_images_enabled: Pobierz obrazy lokalnie | 35 | download_images_enabled: Pobierz obrazy lokalnie |
36 | restricted_access: Włącz autoryzację dla stron z paywallem | 36 | restricted_access: Włącz autoryzację dla stron z paywallem |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pt.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pt.yml index 4a061bce..59af9610 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pt.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pt.yml | |||
@@ -34,3 +34,4 @@ demo_mode_username: "Usuário demo" | |||
34 | # share_public: Allow public url for entries | 34 | # share_public: Allow public url for entries |
35 | # download_images_enabled: Download images locally | 35 | # download_images_enabled: Download images locally |
36 | # restricted_access: Enable authentication for websites with paywall | 36 | # restricted_access: Enable authentication for websites with paywall |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml index 5ee48074..104e37c6 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml | |||
@@ -34,3 +34,4 @@ modify_settings: "aplică" | |||
34 | # share_public: Allow public url for entries | 34 | # share_public: Allow public url for entries |
35 | # download_images_enabled: Download images locally | 35 | # download_images_enabled: Download images locally |
36 | # restricted_access: Enable authentication for websites with paywall | 36 | # restricted_access: Enable authentication for websites with paywall |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml index d83a4b7b..1579366d 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml | |||
@@ -34,3 +34,4 @@ | |||
34 | # share_public: Allow public url for entries | 34 | # share_public: Allow public url for entries |
35 | # download_images_enabled: Download images locally | 35 | # download_images_enabled: Download images locally |
36 | # restricted_access: Enable authentication for websites with paywall | 36 | # restricted_access: Enable authentication for websites with paywall |
37 | # api_user_registration: Enable user to be registered using the API | ||
diff --git a/src/Wallabag/ApiBundle/Controller/UserRestController.php b/src/Wallabag/ApiBundle/Controller/UserRestController.php index 1fc67d00..a1d7c1ff 100644 --- a/src/Wallabag/ApiBundle/Controller/UserRestController.php +++ b/src/Wallabag/ApiBundle/Controller/UserRestController.php | |||
@@ -51,7 +51,7 @@ class UserRestController extends WallabagRestController | |||
51 | 51 | ||
52 | $userManager = $this->get('fos_user.user_manager'); | 52 | $userManager = $this->get('fos_user.user_manager'); |
53 | $user = $userManager->createUser(); | 53 | $user = $userManager->createUser(); |
54 | // user will be disabled BY DEFAULT to avoid spamming account to be created | 54 | // user will be disabled BY DEFAULT to avoid spamming account to be enabled |
55 | $user->setEnabled(false); | 55 | $user->setEnabled(false); |
56 | 56 | ||
57 | $form = $this->createForm('Wallabag\UserBundle\Form\NewUserType', $user, [ | 57 | $form = $this->createForm('Wallabag\UserBundle\Form\NewUserType', $user, [ |