8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 15:12:25 +00:00

Fix des traductions et de détails de front.

This commit is contained in:
Hugo LEVY-FALK 2018-07-29 11:55:44 +02:00
parent 1284d9ffec
commit 19bd78bc8d
3 changed files with 39 additions and 46 deletions

View file

@ -23,7 +23,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-25 23:22+0200\n" "POT-Creation-Date: 2018-07-25 23:22+0200\n"
"PO-Revision-Date: 2018-03-31 16:09+0002\n" "PO-Revision-Date: 2018-03-31 16:09+0002\n"
"Last-Translator: Maël Kervella <dev@maelkervella.eu>\n" "Last-Translator: Hugo Levy-Falk <me@klafyvel.me>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: fr_FR\n" "Language: fr_FR\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -546,11 +546,6 @@ msgid "Balance refill"
msgstr "Rechargement de solde" msgstr "Rechargement de solde"
#: templates/cotisations/payment.html:34 #: templates/cotisations/payment.html:34
#, fuzzy, python-format
#| msgid ""
#| "\n"
#| " Refill of %(amount)s €\n"
#| " "
msgid "" msgid ""
"\n" "\n"
" Pay %(amount)s €\n" " Pay %(amount)s €\n"
@ -719,6 +714,7 @@ msgstr "Vous n'êtes pas autorisé à créditer votre solde."
msgid "Refill your balance" msgid "Refill your balance"
msgstr "Créditer votre solde" msgstr "Créditer votre solde"
#: models.py:137
msgid "Cheque number" msgid "Cheque number"
msgstr "Numéro de chèque" msgstr "Numéro de chèque"
@ -728,89 +724,105 @@ msgstr "Non renseigné"
msgid "A cheque number and a bank must be specified." msgid "A cheque number and a bank must be specified."
msgstr "Un numéro de chèqe et une banque doivent être renseignés." msgstr "Un numéro de chèqe et une banque doivent être renseignés."
#~ msgid "Invoice number" #: models.py:155
#~ msgstr "Numéro de facture"
#~ msgid "Amount"
#~ msgstr "Montant"
msgid "Can change the \"controlled\" state" msgid "Can change the \"controlled\" state"
msgstr "Peut modifier l'état \"controllé\"" msgstr "Peut modifier l'état \"controllé\""
msgid "Can create a custom PDF invoice" #: models.py:157
msgstr "Peut crée une facture PDF personnalisée"
msgid "Can see an invoice's details" msgid "Can see an invoice's details"
msgstr "Peut voir les détails d'une facture" msgstr "Peut voir les détails d'une facture"
#: models.py:159
msgid "Can edit all the previous invoices" msgid "Can edit all the previous invoices"
msgstr "Peut modifier toutes les factures existantes" msgstr "Peut modifier toutes les factures existantes"
#: models.py:297
msgid "Connexion" msgid "Connexion"
msgstr "Connexion" msgstr "Connexion"
#: models.py:336
msgid "Membership" msgid "Membership"
msgstr "Adhésion" msgstr "Adhésion"
#: models.py:299
msgid "Both of them" msgid "Both of them"
msgstr "Les deux" msgstr "Les deux"
#: models.py:328
msgid "Duration (in whole month)" msgid "Duration (in whole month)"
msgstr "Durée (en mois entiers)" msgstr "Durée (en mois entiers)"
#: models.py:336
msgid "Type of cotisation" msgid "Type of cotisation"
msgstr "Type de cotisation" msgstr "Type de cotisation"
#: models.py:341
msgid "Can see a purchase's details" msgid "Can see a purchase's details"
msgstr "Peut voir les détails d'un achat" msgstr "Peut voir les détails d'un achat"
#: models.py:342
msgid "Can edit all the previous purchases" msgid "Can edit all the previous purchases"
msgstr "Peut voir les achats existants" msgstr "Peut voir les achats existants"
#: models.py:344
msgid "Purchase" msgid "Purchase"
msgstr "Achat" msgstr "Achat"
#: models.py:345
msgid "Purchases" msgid "Purchases"
msgstr "Achat" msgstr "Achat"
#: models.py:512
msgid "Club" msgid "Club"
msgstr "Club" msgstr "Club"
#: models.py:530
msgid "Unitary price" msgid "Unitary price"
msgstr "Prix unitaire" msgstr "Prix unitaire"
#: models.py:538
msgid "Type of users concerned" msgid "Type of users concerned"
msgstr "Type d'utilisateurs concernés" msgstr "Type d'utilisateurs concernés"
#: models.py:561
msgid "Can see an article's details" msgid "Can see an article's details"
msgstr "Peut voir les détails d'un article" msgstr "Peut voir les détails d'un article"
#: models.py:621
msgid "Name" msgid "Name"
msgstr "Nom" msgstr "Nom"
#: models.py:626
msgid "Can see a bank's details" msgid "Can see a bank's details"
msgstr "Peut voir les détails d'une banque" msgstr "Peut voir les détails d'une banque"
#: models.py:344
msgid "Standard" msgid "Standard"
msgstr "Standard" msgstr "Standard"
msgid "Cheque" msgid "Cheque"
msgstr "Chèque" msgstr "Chèque"
#: models.py:647
msgid "Method" msgid "Method"
msgstr "Moyen" msgstr "Moyen"
#: models.py:663
msgid "Can see a payement's details" msgid "Can see a payement's details"
msgstr "Peut voir les détails d'un paiement" msgstr "Peut voir les détails d'un paiement"
#: models.py:785
msgid "Starting date" msgid "Starting date"
msgstr "Date de début" msgstr "Date de début"
#: models.py:788
msgid "Ending date" msgid "Ending date"
msgstr "Date de fin" msgstr "Date de fin"
#: models.py:793
msgid "Can see a cotisation's details" msgid "Can see a cotisation's details"
msgstr "Peut voir les détails d'une cotisation" msgstr "Peut voir les détails d'une cotisation"
#: models.py:794
msgid "Can edit the previous cotisations" msgid "Can edit the previous cotisations"
msgstr "Peut voir les cotisations existantes" msgstr "Peut voir les cotisations existantes"

View file

@ -3,9 +3,6 @@ Re2o est un logiciel d'administration développé initiallement au rezometz. Il
se veut agnostique au réseau considéré, de manière à être installable en se veut agnostique au réseau considéré, de manière à être installable en
quelques clics. quelques clics.
Copyright © 2017 Gabriel Détraz
Copyright © 2017 Goulven Kermarec
Copyright © 2017 Augustin Lemesle
Copyright © 2018 Hugo Levy-Falk Copyright © 2018 Hugo Levy-Falk
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
@ -53,7 +50,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% trans "Invoice id" as tr_invoice_id %} {% trans "Invoice id" as tr_invoice_id %}
{% include 'buttons/sort.html' with prefix='invoice' col='id' text=tr_invoice_id %} {% include 'buttons/sort.html' with prefix='invoice' col='id' text=tr_invoice_id %}
</th> </th>
<th>{% trans "Paid" %}</th> <th>
{% trans "Paid" as tr_invoice_paid%}
{% include 'buttons/sort.html' with prefix='invoice' col='paid' text=tr_invoice_paid %}
</th>
<th></th> <th></th>
<th></th> <th></th>
</tr> </tr>
@ -68,32 +68,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<td>{{ invoice.id }}</td> <td>{{ invoice.id }}</td>
<td>{{ invoice.paid|tick }}</td> <td>{{ invoice.paid|tick }}</td>
<td> <td>
<div class="dropdown"> {% can_edit invoice %}
<button class="btn btn-default dropdown-toggle" type="button" id="editinvoice" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> {% include 'buttons/edit.html' with href='cotisations:edit-custom-invoice' id=invoice.id %}
{% trans "Edit" %}<span class="caret"></span> {% acl_end %}
</button> {% can_delete invoice %}
<ul class="dropdown-menu" aria-labelledby="editinvoice"> {% include 'buttons/suppr.html' with href='cotisations:del-custom-invoice' id=invoice.id %}
{% can_edit invoice %} {% acl_end %}
<li> {% history_button invoice %}
<a href="{% url 'cotisations:edit-custom-invoice' invoice.id %}">
<i class="fa fa-dollar-sign"></i> {% trans "Edit" %}
</a>
</li>
{% acl_end %}
{% can_delete invoice %}
<li>
<a href="{% url 'cotisations:del-custom-invoice' invoice.id %}">
<i class="fa fa-trash"></i> {% trans "Delete" %}
</a>
</li>
{% acl_end %}
<li>
{% history_button invoice text=True html_class=False %}
</li>
</ul>
</div>
</td>
<td>
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:custom-invoice-pdf' invoice.id %}"> <a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:custom-invoice-pdf' invoice.id %}">
<i class="fa fa-file-pdf"></i> {% trans "PDF" %} <i class="fa fa-file-pdf"></i> {% trans "PDF" %}
</a> </a>

View file

@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load i18n %} {% load i18n %}
{% block sidebar %} {% block sidebar %}
{% can_change Facture pdf %} {% can_create CustomInvoice %}
<a class="list-group-item list-group-item-success" href="{% url "cotisations:new-custom-invoice" %}"> <a class="list-group-item list-group-item-success" href="{% url "cotisations:new-custom-invoice" %}">
<i class="fa fa-plus"></i> {% trans "Create an invoice" %} <i class="fa fa-plus"></i> {% trans "Create an invoice" %}
</a> </a>