Skip to content
Snippets Groups Projects
Verified Commit 64308de4 authored by ynerant's avatar ynerant
Browse files

Translation

parent 32642a29
No related branches found
No related tags found
1 merge request!40Stripe + Note Kfet payments
Pipeline #9373 passed with warnings with stages
in 3 minutes and 30 seconds
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: constellation v0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-21 08:48+0200\n"
"POT-Creation-Date: 2021-06-19 11:45+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Yohann D'ANELLO <ynerant@crans.org>\n"
"Language-Team: fr <contact@crans.org>\n"
......@@ -17,48 +17,48 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: admin.py:64 admin.py:78 admin.py:125 admin.py:157 admin.py:233 admin.py:311
#: admin.py:65 admin.py:79 admin.py:126 admin.py:158 admin.py:259 admin.py:337
#: models/invoices.py:24 models/invoices.py:66 models/invoices.py:133
msgid "price"
msgstr "prix"
#: admin.py:82 models/memberships.py:13
#: admin.py:83 models/memberships.py:13
msgid "duration"
msgstr "durée"
#: admin.py:190
#: admin.py:191
msgid "payment type"
msgstr "type de paiement"
#: admin.py:238 admin.py:316
#: admin.py:264 admin.py:342
msgid "rendered invoice"
msgstr "rendu de la facture"
#: admin.py:242
#: admin.py:268
msgid "download"
msgstr "télécharger"
#: admin.py:244
#: admin.py:270
msgid "rendered invoice link"
msgstr "lien du rendu de la facture"
#: admin.py:248 admin.py:251
#: admin.py:274 admin.py:277
msgid "pay invoice"
msgstr "payer la facture"
#: admin.py:271
#: admin.py:297
msgid "Mark as valid"
msgstr "Marquer comme valides"
#: admin.py:276
#: admin.py:302
msgid "Mark as invalid"
msgstr "Marquer comme invalides"
#: admin.py:281
#: admin.py:307
msgid "Mark as approved"
msgstr "Marquer comme approuvées"
#: admin.py:286
#: admin.py:312
msgid "Mark as disapproved"
msgstr "Marquer comme non-approuvées"
......@@ -86,7 +86,7 @@ msgstr "Association"
msgid "Custom"
msgstr "Personnalisé"
#: models/invoices.py:21 models/payment_methods.py:11
#: models/invoices.py:21 models/payment_methods.py:13
msgid "name"
msgstr "nom"
......@@ -126,7 +126,7 @@ msgstr "date"
msgid "target"
msgstr "cible"
#: models/invoices.py:103 models/payment_methods.py:31
#: models/invoices.py:103 models/payment_methods.py:34
msgid "payment method"
msgstr "moyen de paiement"
......@@ -187,26 +187,42 @@ msgstr "achat d'adhésion"
msgid "membership purchases"
msgstr "achats d'adhésion"
#: models/payment_methods.py:15
#: models/payment_methods.py:18
msgid "visible"
msgstr "visible"
#: models/payment_methods.py:16
#: models/payment_methods.py:19
msgid "if enabled, all members will see this payment method."
msgstr "si activé, tous les membres verront ce moyen de paiement."
#: models/payment_methods.py:32
#: models/payment_methods.py:35
msgid "payment methods"
msgstr "moyens de paiement"
#: models/payment_methods.py:40
#: models/payment_methods.py:43
msgid "comnpay payment method"
msgstr "moyen de paiement - Comnpay"
#: models/payment_methods.py:41
#: models/payment_methods.py:44
msgid "comnpay payment methods"
msgstr "moyens de paiement - Comnpay"
#: models/payment_methods.py:52
msgid "stripe payment method"
msgstr "moyen de paiement Stripe"
#: models/payment_methods.py:53
msgid "stripe payment methods"
msgstr "moyens de paiement Stripe"
#: models/payment_methods.py:65
msgid "Note Kfet payment method"
msgstr "moyen de paiement Note Kfet"
#: models/payment_methods.py:66
msgid "Note Kfet payment methods"
msgstr "moyens de paiement Note Kfet"
#: tables.py:10 tables.py:19
msgid "display"
msgstr "afficher"
......@@ -235,18 +251,42 @@ msgstr "Vous allez être redirigé⋅e vers Comnpay ..."
msgid "If you are not redirected, click here:"
msgstr "Si vous n'êtes pas redirigé⋅e, cliquez ici :"
#: views.py:42
#: views/comnpay.py:154 views/stripe.py:163
msgid "Successful payment!"
msgstr "Paiement réussi !"
#: views/comnpay.py:170
msgid "Payment failed:"
msgstr "Paiement échoué :"
#: views/note_kfet.py:16 views/note_kfet.py:21
msgid "Bad request"
msgstr "Requête invalide"
#: views/note_kfet.py:62
msgid "Payment succeed!"
msgstr "Paiement réussi !"
#: views/note_kfet.py:66 views/note_kfet.py:68
msgid "Error:"
msgstr "Erreur :"
#: views/purchase.py:31
msgid "Add product"
msgstr "Ajouter produit"
#: views.py:43
#: views/purchase.py:32
msgid "Buy"
msgstr "Acheter"
#: views.py:256
msgid "Successful payment!"
msgstr "Paiement réussi !"
#: views/stripe.py:142
msgid "Invalid session ID. Please don't try to hack Stripe."
msgstr "Session invalide. Merci de ne pas tenter de hacker Stripe."
#: views.py:272
msgid "Payment failed:"
msgstr "Paiement échoué :"
#: views/stripe.py:150
msgid "Unknown payment."
msgstr "Paiement inconnu."
#: views/stripe.py:180
msgid "The payment was refused."
msgstr "Le paiement a été refusé."
{% extends "base.html" %}
{% load crispy_forms_filters i18n pretty_money %}
{% block content %}
<form method="post">
<div class="card">
<div class="card-header text-center">
<h3>{% trans "Pay an invoice with Note Kfet" %}</h3>
</div>
<div class="card-body">
<h4>{% blocktrans trimmed with invoice_id=invoice.pk %}Invoice #{{ invoice_id }}{% endblocktrans %}</h4>
<h5>{% trans "Products:" %}</h5>
<ul>
{% for entry in invoice.entries.all %}
<li>{{ entry.product.name }} x{{ entry.number }} : {{ entry.price|pretty_money }}</li>
{% endfor %}
</ul>
<div class="alert alert-warning">
{% blocktrans trimmed %}
Please put your main alias with the correct syntax!
{% endblocktrans %}
</div>
{% csrf_token %}
{{ form|crispy }}
</div>
<div class="card-footer text-center">
<button type="submit" class="btn btn-success">{% trans "Pay" %}</button>
</div>
</div>
</form>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment