Commit 1f31d3b5 authored by Skia's avatar Skia
Browse files

Send a mail when someone is subscribed

parent 6af16cc8
Pipeline #165 failed with stage
in 1 minute and 59 seconds
{% autoescape off %}
{% trans %}You're receiving this email because you subscribed to the UTBM student association.{% endtrans %}
{% trans %}Please go to the following page and choose a new password:{% endtrans %}
{% block reset_link %}
{{ protocol }}://{{ domain }}{{ url('core:password_reset_confirm', uidb64=uid, token=token) }}
{% endblock %}
{% trans %}Your username, in case it was not given to you: {% endtrans %} {{ user.get_username() }}
{% trans %}You also got a new account that will be useful to purchase products in the living areas and on the Eboutic.{% endtrans %}
{% trans account=user.customer.account_id %}Here is your account number: {{ account }}{% endtrans %}
{% trans %}Thanks for subscribing! {% endtrans %}
{% trans %}The AE team{% endtrans %}
{% endautoescape %}
{% autoescape off %}
{% trans %}New subscription to the UTBM student association{% endtrans %}
{% endautoescape %}
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-08-31 02:41+0200\n" "POT-Creation-Date: 2016-08-31 18:24+0200\n"
"PO-Revision-Date: 2016-07-18\n" "PO-Revision-Date: 2016-07-18\n"
"Last-Translator: Skia <skia@libskia.so>\n" "Last-Translator: Skia <skia@libskia.so>\n"
"Language-Team: AE info <ae.info@utbm.fr>\n" "Language-Team: AE info <ae.info@utbm.fr>\n"
...@@ -134,7 +134,7 @@ msgid "comment" ...@@ -134,7 +134,7 @@ msgid "comment"
msgstr "commentaire" msgstr "commentaire"
#: accounting/models.py:181 counter/models.py:204 counter/models.py:247 #: accounting/models.py:181 counter/models.py:204 counter/models.py:247
#: subscription/models.py:52 #: subscription/models.py:53
msgid "payment method" msgid "payment method"
msgstr "méthode de paiement" msgstr "méthode de paiement"
...@@ -162,16 +162,17 @@ msgstr "type comptable" ...@@ -162,16 +162,17 @@ msgstr "type comptable"
msgid "target type" msgid "target type"
msgstr "type de cible" msgstr "type de cible"
#: accounting/models.py:190 #: accounting/models.py:190 club/templates/club/club_detail.jinja:21
#: club/templates/club/club_members.jinja:8
#: launderette/templates/launderette/launderette_admin.jinja:44 #: launderette/templates/launderette/launderette_admin.jinja:44
msgid "User" msgid "User"
msgstr "Utilisateur" msgstr "Utilisateur"
#: accounting/models.py:190 club/templates/club/club_detail.jinja:4 #: accounting/models.py:190 club/templates/club/club_detail.jinja:5
msgid "Club" msgid "Club"
msgstr "Club" msgstr "Club"
#: accounting/models.py:190 core/templates/core/user_base.jinja:18 #: accounting/models.py:190 core/templates/core/user_base.jinja:49
msgid "Account" msgid "Account"
msgstr "Compte" msgstr "Compte"
...@@ -179,7 +180,7 @@ msgstr "Compte" ...@@ -179,7 +180,7 @@ msgstr "Compte"
msgid "Company" msgid "Company"
msgstr "Entreprise" msgstr "Entreprise"
#: accounting/models.py:190 sith/settings.py:287 sith/settings_sample.py:272 #: accounting/models.py:190 sith/settings.py:283 sith/settings_sample.py:272
msgid "Other" msgid "Other"
msgstr "Autre" msgstr "Autre"
...@@ -303,7 +304,7 @@ msgid "Delete" ...@@ -303,7 +304,7 @@ msgid "Delete"
msgstr "Supprimer" msgstr "Supprimer"
#: accounting/templates/accounting/bank_account_details.jinja:17 #: accounting/templates/accounting/bank_account_details.jinja:17
#: core/templates/core/user_base.jinja:7 #: core/templates/core/user_base.jinja:12
msgid "Infos" msgid "Infos"
msgstr "Infos" msgstr "Infos"
...@@ -323,8 +324,8 @@ msgstr "Nouveau compte club" ...@@ -323,8 +324,8 @@ msgstr "Nouveau compte club"
#: accounting/templates/accounting/bank_account_list.jinja:21 #: accounting/templates/accounting/bank_account_list.jinja:21
#: accounting/templates/accounting/club_account_details.jinja:53 #: accounting/templates/accounting/club_account_details.jinja:53
#: accounting/templates/accounting/journal_details.jinja:66 #: accounting/templates/accounting/journal_details.jinja:66
#: club/templates/club/club_detail.jinja:7 core/templates/core/file.jinja:38 #: club/templates/club/club_detail.jinja:8 core/templates/core/file.jinja:38
#: core/templates/core/page.jinja:31 core/templates/core/user_base.jinja:10 #: core/templates/core/page.jinja:31 core/templates/core/user_base.jinja:31
#: core/templates/core/user_tools.jinja:33 #: core/templates/core/user_tools.jinja:33
#: counter/templates/counter/counter_list.jinja:20 #: counter/templates/counter/counter_list.jinja:20
#: launderette/templates/launderette/launderette_list.jinja:14 #: launderette/templates/launderette/launderette_list.jinja:14
...@@ -468,7 +469,7 @@ msgid "Done" ...@@ -468,7 +469,7 @@ msgid "Done"
msgstr "Effectué" msgstr "Effectué"
#: accounting/templates/accounting/journal_details.jinja:34 #: accounting/templates/accounting/journal_details.jinja:34
#: counter/views.py:560 #: counter/views.py:561
msgid "Comment" msgid "Comment"
msgstr "Commentaire" msgstr "Commentaire"
...@@ -565,20 +566,25 @@ msgstr "L'utilisateur est déjà membre de ce club" ...@@ -565,20 +566,25 @@ msgstr "L'utilisateur est déjà membre de ce club"
msgid "past member" msgid "past member"
msgstr "Anciens membres" msgstr "Anciens membres"
#: club/templates/club/club_detail.jinja:5 #: club/templates/club/club_detail.jinja:6
#: core/templates/core/group_edit.jinja:4 #: core/templates/core/group_edit.jinja:4
msgid "Back to list" msgid "Back to list"
msgstr "Retour à la liste" msgstr "Retour à la liste"
#: club/templates/club/club_detail.jinja:10 core/templates/core/file.jinja:41 #: club/templates/club/club_detail.jinja:11 core/templates/core/file.jinja:41
#: core/templates/core/page.jinja:34 #: core/templates/core/page.jinja:34
msgid "Prop" msgid "Prop"
msgstr "Propriétés" msgstr "Propriétés"
#: club/templates/club/club_detail.jinja:14 #: club/templates/club/club_detail.jinja:15
msgid "Members" msgid "Members"
msgstr "Membres" msgstr "Membres"
#: club/templates/club/club_detail.jinja:22
#: club/templates/club/club_members.jinja:9
msgid "Role"
msgstr "Rôle"
#: club/templates/club/club_edit.jinja:4 #: club/templates/club/club_edit.jinja:4
msgid "Edit club" msgid "Edit club"
msgstr "Éditer le club" msgstr "Éditer le club"
...@@ -600,11 +606,11 @@ msgstr "Nouveau club" ...@@ -600,11 +606,11 @@ msgstr "Nouveau club"
msgid "There is no club in this website." msgid "There is no club in this website."
msgstr "Il n'y a pas de club dans ce site web." msgstr "Il n'y a pas de club dans ce site web."
#: club/templates/club/club_members.jinja:4 #: club/templates/club/club_members.jinja:5
msgid "Club members" msgid "Club members"
msgstr "Membres du club" msgstr "Membres du club"
#: club/templates/club/club_members.jinja:13 #: club/templates/club/club_members.jinja:23
#: core/templates/core/file_detail.jinja:19 launderette/views.py:146 #: core/templates/core/file_detail.jinja:19 launderette/views.py:146
msgid "Add" msgid "Add"
msgstr "Ajouter" msgstr "Ajouter"
...@@ -1043,7 +1049,7 @@ msgstr "Connexion" ...@@ -1043,7 +1049,7 @@ msgstr "Connexion"
msgid "Register" msgid "Register"
msgstr "S'enregister" msgstr "S'enregister"
#: core/templates/core/base.jinja:25 #: core/templates/core/base.jinja:25 core/templates/core/user_base.jinja:18
msgid "Tools" msgid "Tools"
msgstr "Outils" msgstr "Outils"
...@@ -1240,6 +1246,48 @@ msgstr "Né le : " ...@@ -1240,6 +1246,48 @@ msgstr "Né le : "
msgid "Promo: " msgid "Promo: "
msgstr "Promo : " msgstr "Promo : "
#: core/templates/core/new_user_email.jinja:2
msgid ""
"You're receiving this email because you subscribed to the UTBM student "
"association."
msgstr ""
"Vous avez reçu cet email parce que vous avez cotisé à l'Association des Étudiants de l'UTBM."
#: core/templates/core/new_user_email.jinja:4
#: core/templates/core/password_reset_email.jinja:4
msgid "Please go to the following page and choose a new password:"
msgstr ""
"Merci de vous rendre sur la page suivante et de choisir un nouveau mot de "
"passe :"
#: core/templates/core/new_user_email.jinja:8
msgid "Your username, in case it was not given to you: "
msgstr "Votre nom d'utilisateur, si il ne vous a pas été donné :"
#: core/templates/core/new_user_email.jinja:9
msgid ""
"You also got a new account that will be useful to purchase products in the "
"living areas and on the Eboutic."
msgstr ""
"Un compte vous a également été créé, qui vous servira notamment à consommer dans les lieux de vie "
"ou sur l'Eboutic."
#: core/templates/core/new_user_email.jinja:10
msgid "Here is your account number: %(account)s"
msgstr "Voici votre numéro de compte AE : %(account)s"
#: core/templates/core/new_user_email.jinja:12
msgid "Thanks for subscribing! "
msgstr "Merci d'avoir cotisé !"
#: core/templates/core/new_user_email.jinja:14
msgid "The AE team"
msgstr "L'équipe AE"
#: core/templates/core/new_user_email_subject.jinja:2
msgid "New subscription to the UTBM student association"
msgstr "Nouvelle cotisation à l'Association des Étudiants de l'UTBM"
#: core/templates/core/page.jinja:7 core/templates/core/page_list.jinja:4 #: core/templates/core/page.jinja:7 core/templates/core/page_list.jinja:4
#: core/templates/core/page_list.jinja:9 #: core/templates/core/page_list.jinja:9
msgid "Page list" msgid "Page list"
...@@ -1352,12 +1400,6 @@ msgstr "" ...@@ -1352,12 +1400,6 @@ msgstr ""
"Vous avez reçu cet email parce que vous avez demandé une réinitialisation du " "Vous avez reçu cet email parce que vous avez demandé une réinitialisation du "
"mot de passe pour votre compte sur le site %(site_name)s." "mot de passe pour votre compte sur le site %(site_name)s."
#: core/templates/core/password_reset_email.jinja:4
msgid "Please go to the following page and choose a new password:"
msgstr ""
"Merci de vous rendre sur la page suivante et de choisir un nouveau mot de "
"passe :"
#: core/templates/core/password_reset_email.jinja:8 #: core/templates/core/password_reset_email.jinja:8
msgid "Your username, in case you've forgotten: " msgid "Your username, in case you've forgotten: "
msgstr "Votre nom d'utilisateur, en cas d'oubli :" msgstr "Votre nom d'utilisateur, en cas d'oubli :"
...@@ -1460,11 +1502,11 @@ msgstr "Articles" ...@@ -1460,11 +1502,11 @@ msgstr "Articles"
msgid "User has no account" msgid "User has no account"
msgstr "L'utilisateur n'a pas de compte" msgstr "L'utilisateur n'a pas de compte"
#: core/templates/core/user_base.jinja:8 #: core/templates/core/user_base.jinja:24
msgid "Stats" msgid "Stats"
msgstr "Stats" msgstr "Stats"
#: core/templates/core/user_base.jinja:13 #: core/templates/core/user_base.jinja:39
#: core/templates/core/user_tools.jinja:14 #: core/templates/core/user_tools.jinja:14
msgid "Groups" msgid "Groups"
msgstr "Groupes" msgstr "Groupes"
...@@ -1483,11 +1525,16 @@ msgstr "Filière : " ...@@ -1483,11 +1525,16 @@ msgstr "Filière : "
msgid "Subscribed until %(subscription_end)s" msgid "Subscribed until %(subscription_end)s"
msgstr "Cotisant jusqu'au %(subscription_end)s" msgstr "Cotisant jusqu'au %(subscription_end)s"
#: core/templates/core/user_detail.jinja:50 #: core/templates/core/user_detail.jinja:49
#: core/templates/core/user_edit.jinja:39
msgid "Account number: "
msgstr "Numero de compte : "
#: core/templates/core/user_detail.jinja:51
msgid "Not subscribed" msgid "Not subscribed"
msgstr "Non cotisant" msgstr "Non cotisant"
#: core/templates/core/user_detail.jinja:52 #: core/templates/core/user_detail.jinja:53
#: subscription/templates/subscription/subscription.jinja:4 #: subscription/templates/subscription/subscription.jinja:4
#: subscription/templates/subscription/subscription.jinja:8 #: subscription/templates/subscription/subscription.jinja:8
msgid "New subscription" msgid "New subscription"
...@@ -1529,10 +1576,6 @@ msgstr "Blouse" ...@@ -1529,10 +1576,6 @@ msgstr "Blouse"
msgid "Username: " msgid "Username: "
msgstr "Nom d'utilisateur : " msgstr "Nom d'utilisateur : "
#: core/templates/core/user_edit.jinja:39
msgid "Account number: "
msgstr "Numero de compte : "
#: core/templates/core/user_edit.jinja:42 #: core/templates/core/user_edit.jinja:42
msgid "Change my password" msgid "Change my password"
msgstr "Changer mon mot de passe" msgstr "Changer mon mot de passe"
...@@ -1576,7 +1619,7 @@ msgstr "Gestion de Sith" ...@@ -1576,7 +1619,7 @@ msgstr "Gestion de Sith"
msgid "Subscriptions" msgid "Subscriptions"
msgstr "Cotisations" msgstr "Cotisations"
#: core/templates/core/user_tools.jinja:22 counter/views.py:475 #: core/templates/core/user_tools.jinja:22 counter/views.py:476
msgid "Counters" msgid "Counters"
msgstr "Comptoirs" msgstr "Comptoirs"
...@@ -1650,7 +1693,7 @@ msgstr "Blouse : montrez aux autres à quoi ressemble votre blouse !" ...@@ -1650,7 +1693,7 @@ msgstr "Blouse : montrez aux autres à quoi ressemble votre blouse !"
msgid "Bad image format, only jpeg, png, and gif are accepted" msgid "Bad image format, only jpeg, png, and gif are accepted"
msgstr "Mauvais format d'image, seuls les jpeg, png, et gif sont acceptés" msgstr "Mauvais format d'image, seuls les jpeg, png, et gif sont acceptés"
#: core/views/user.py:178 #: core/views/user.py:184
msgid "User already has a profile picture" msgid "User already has a profile picture"
msgstr "L'utilisateur a déjà une photo de profil" msgstr "L'utilisateur a déjà une photo de profil"
...@@ -1730,7 +1773,7 @@ msgstr "Bureau" ...@@ -1730,7 +1773,7 @@ msgstr "Bureau"
#: eboutic/templates/eboutic/eboutic_main.jinja:24 #: eboutic/templates/eboutic/eboutic_main.jinja:24
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:8 #: eboutic/templates/eboutic/eboutic_makecommand.jinja:8
#: eboutic/templates/eboutic/eboutic_payment_result.jinja:4 #: eboutic/templates/eboutic/eboutic_payment_result.jinja:4
#: sith/settings.py:286 sith/settings.py:294 sith/settings_sample.py:271 #: sith/settings.py:282 sith/settings.py:290 sith/settings_sample.py:271
#: sith/settings_sample.py:279 #: sith/settings_sample.py:279
msgid "Eboutic" msgid "Eboutic"
msgstr "Eboutic" msgstr "Eboutic"
...@@ -1768,8 +1811,8 @@ msgstr "quantité" ...@@ -1768,8 +1811,8 @@ msgstr "quantité"
msgid "Sith account" msgid "Sith account"
msgstr "Compte utilisateur" msgstr "Compte utilisateur"
#: counter/models.py:248 sith/settings.py:279 sith/settings.py:284 #: counter/models.py:248 sith/settings.py:275 sith/settings.py:280
#: sith/settings.py:306 sith/settings_sample.py:264 #: sith/settings.py:302 sith/settings_sample.py:264
#: sith/settings_sample.py:269 sith/settings_sample.py:291 #: sith/settings_sample.py:269 sith/settings_sample.py:291
msgid "Credit card" msgid "Credit card"
msgstr "Carte bancaire" msgstr "Carte bancaire"
...@@ -1969,65 +2012,65 @@ msgstr "ANN" ...@@ -1969,65 +2012,65 @@ msgstr "ANN"
msgid "You have not enough money to buy all the basket" msgid "You have not enough money to buy all the basket"
msgstr "Vous n'avez pas assez d'argent pour acheter le panier" msgstr "Vous n'avez pas assez d'argent pour acheter le panier"
#: counter/views.py:472 #: counter/views.py:473
msgid "Parent product" msgid "Parent product"
msgstr "Produit parent" msgstr "Produit parent"
#: counter/views.py:473 #: counter/views.py:474
msgid "Buying groups" msgid "Buying groups"
msgstr "Groupes d'achat" msgstr "Groupes d'achat"
#: counter/views.py:540 #: counter/views.py:541
msgid "10 cents" msgid "10 cents"
msgstr "10 centimes" msgstr "10 centimes"
#: counter/views.py:541 #: counter/views.py:542
msgid "20 cents" msgid "20 cents"
msgstr "20 centimes" msgstr "20 centimes"
#: counter/views.py:542 #: counter/views.py:543
msgid "50 cents" msgid "50 cents"
msgstr "50 centimes" msgstr "50 centimes"
#: counter/views.py:543 #: counter/views.py:544
msgid "1 euro" msgid "1 euro"
msgstr "1 €" msgstr "1 €"
#: counter/views.py:544 #: counter/views.py:545
msgid "2 euros" msgid "2 euros"
msgstr "2 €" msgstr "2 €"
#: counter/views.py:545 #: counter/views.py:546
msgid "5 euros" msgid "5 euros"
msgstr "5 €" msgstr "5 €"
#: counter/views.py:546 #: counter/views.py:547
msgid "10 euros" msgid "10 euros"
msgstr "10 €" msgstr "10 €"
#: counter/views.py:547 #: counter/views.py:548
msgid "20 euros" msgid "20 euros"
msgstr "20 €" msgstr "20 €"
#: counter/views.py:548 #: counter/views.py:549
msgid "50 euros" msgid "50 euros"
msgstr "50 €" msgstr "50 €"
#: counter/views.py:549 #: counter/views.py:550
msgid "100 euros" msgid "100 euros"
msgstr "100 €" msgstr "100 €"
#: counter/views.py:550 counter/views.py:552 counter/views.py:554 #: counter/views.py:551 counter/views.py:553 counter/views.py:555
#: counter/views.py:556 counter/views.py:558 #: counter/views.py:557 counter/views.py:559
msgid "Check amount" msgid "Check amount"
msgstr "Montant du chèque" msgstr "Montant du chèque"
#: counter/views.py:551 counter/views.py:553 counter/views.py:555 #: counter/views.py:552 counter/views.py:554 counter/views.py:556
#: counter/views.py:557 counter/views.py:559 #: counter/views.py:558 counter/views.py:560
msgid "Check quantity" msgid "Check quantity"
msgstr "Nombre de chèque" msgstr "Nombre de chèque"
#: counter/views.py:561 #: counter/views.py:562
msgid "Emptied" msgid "Emptied"
msgstr "Coffre vidé" msgstr "Coffre vidé"
...@@ -2179,12 +2222,12 @@ msgid "Washing and drying" ...@@ -2179,12 +2222,12 @@ msgid "Washing and drying"
msgstr "Lavage et séchage" msgstr "Lavage et séchage"
#: launderette/templates/launderette/launderette_book.jinja:26 #: launderette/templates/launderette/launderette_book.jinja:26
#: sith/settings.py:420 sith/settings_sample.py:405 #: sith/settings.py:416 sith/settings_sample.py:405
msgid "Washing" msgid "Washing"
msgstr "Lavage" msgstr "Lavage"
#: launderette/templates/launderette/launderette_book.jinja:30 #: launderette/templates/launderette/launderette_book.jinja:30
#: sith/settings.py:420 sith/settings_sample.py:405 #: sith/settings.py:416 sith/settings_sample.py:405
msgid "Drying" msgid "Drying"
msgstr "Séchage" msgstr "Séchage"
...@@ -2239,162 +2282,157 @@ msgstr "L'utilisateur n'a pas réservé de créneau" ...@@ -2239,162 +2282,157 @@ msgstr "L'utilisateur n'a pas réservé de créneau"
msgid "Token not found" msgid "Token not found"
msgstr "Jeton non trouvé" msgstr "Jeton non trouvé"
#: sith/settings.py:174 sith/settings_sample.py:160 #: sith/settings.py:170 sith/settings_sample.py:160
msgid "English" msgid "English"
msgstr "Anglais" msgstr "Anglais"
#: sith/settings.py:175 sith/settings_sample.py:161 #: sith/settings.py:171 sith/settings_sample.py:161
msgid "French" msgid "French"
msgstr "Français" msgstr "Français"
#: sith/settings.py:276 sith/settings.py:283 sith/settings.py:304 #: sith/settings.py:272 sith/settings.py:279 sith/settings.py:300
#: sith/settings_sample.py:261 sith/settings_sample.py:268 #: sith/settings_sample.py:261 sith/settings_sample.py:268
#: sith/settings_sample.py:289 #: sith/settings_sample.py:289
msgid "Check" msgid "Check"
msgstr "Chèque" msgstr "Chèque"
#: sith/settings.py:277 sith/settings.py:285 sith/settings.py:305 #: sith/settings.py:273 sith/settings.py:281 sith/settings.py:301
#: sith/settings_sample.py:262 sith/settings_sample.py:270 #: sith/settings_sample.py:262 sith/settings_sample.py:270
#: sith/settings_sample.py:290 #: sith/settings_sample.py:290
msgid "Cash" msgid "Cash"
msgstr "Espèces" msgstr "Espèces"
#: sith/settings.py:278 sith/settings_sample.py:263 #: sith/settings.py:274 sith/settings_sample.py:263
msgid "Transfert" msgid "Transfert"
msgstr "Virement" msgstr "Virement"
#: sith/settings.py:291 sith/settings_sample.py:276 #: sith/settings.py:287 sith/settings_sample.py:276
msgid "Belfort" msgid "Belfort"
msgstr "Belfort" msgstr "Belfort"
#: sith/settings.py:292 sith/settings_sample.py:277 #: sith/settings.py:288 sith/settings_sample.py:277
msgid "Sevenans" msgid "Sevenans"
msgstr "Sevenans" msgstr "Sevenans"
#: sith/settings.py:293 sith/settings_sample.py:278 #: sith/settings.py:289 sith/settings_sample.py:278
msgid "Montbéliard" msgid "Montbéliard"
msgstr "Montbéliard" msgstr "Montbéliard"
#: sith/settings.py:333 sith/settings_sample.py:318 #: sith/settings.py:329 sith/settings_sample.py:318
msgid "One semester" msgid "One semester"
msgstr "Un semestre, 15 €" msgstr "Un semestre, 15 €"
#: sith/settings.py:338 sith/settings_sample.py:323 #: sith/settings.py:334 sith/settings_sample.py:323
msgid "Two semesters" msgid "Two semesters"
msgstr "Deux semestres, 28 €" msgstr "Deux semestres, 28 €"
#: sith/settings.py:343 sith/settings_sample.py:328 #: sith/settings.py:339 sith/settings_sample.py:328
msgid "Common core cursus" msgid "Common core cursus"
msgstr "Cursus tronc commun, 45 €"