1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-11-27 00:47:10 +00:00

Update locales

This commit is contained in:
Alexandre Iooss 2019-08-10 15:58:13 +02:00
parent 8613dd2810
commit f61d09b65e
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
5 changed files with 34 additions and 77 deletions

View File

@ -3,7 +3,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-10 10:24+0200\n" "POT-Creation-Date: 2019-08-10 15:55+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -13,6 +13,14 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: admin.py:47
msgid "Turn back"
msgstr "Rendre"
#: admin.py:50
msgid "permanencier rendu"
msgstr ""
#: models.py:17 #: models.py:17
msgid "author" msgid "author"
msgstr "auteur" msgstr "auteur"
@ -45,10 +53,6 @@ msgstr "jeu"
msgid "games" msgid "games"
msgstr "jeux" msgstr "jeux"
#: templates/media/media.html:37 #: views.py:41
msgid "Save"
msgstr "Enregistrer"
#: views.py:80
msgid "Welcome to the Mediatek database" msgid "Welcome to the Mediatek database"
msgstr "Bienvenue sur la base de données de la Mediatek" msgstr "Bienvenue sur la base de données de la Mediatek"

View File

@ -1,40 +0,0 @@
{% extends "base_form.html" %}
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% block content %}
<form method="post" onsubmit="window.onbeforeunload=null">{% csrf_token %}
{% if form.non_field_errors %}
<p class="errornote">
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
</p>
{% endif %}
<fieldset class="module aligned">
{% for field in form %}
<div class="form-row{% if field.errors %} errors{% endif %}">
{{ field.errors }}
<div>
{{ field.label_tag }}
{% if field.is_readonly %}
<div class="readonly">{{ field.contents }}</div>
{% else %}
{{ field }}
{% endif %}
{% if field.field.help_text %}
<div class="help">{{ field.field.help_text|safe }}</div>
{% endif %}
</div>
</div>
{% endfor %}
</fieldset>
<div class="submit-row">
<input class="default" type="submit" value="{% trans 'Save' %}">
</div>
</form>
{% endblock %}

View File

@ -6,7 +6,6 @@ from django.contrib import messages
from django.contrib.auth.decorators import login_required, permission_required from django.contrib.auth.decorators import login_required, permission_required
from django.db import transaction from django.db import transaction
from django.shortcuts import redirect, render from django.shortcuts import redirect, render
from django.template.context_processors import csrf
from django.utils import timezone from django.utils import timezone
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _
from reversion import revisions as reversion from reversion import revisions as reversion
@ -14,12 +13,6 @@ from reversion import revisions as reversion
from .models import Emprunt from .models import Emprunt
def form(ctx, template, request):
c = ctx
c.update(csrf(request))
return render(request, template, c)
@login_required @login_required
@permission_required('media.change_emprunt') @permission_required('media.change_emprunt')
def retour_emprunt(request, empruntid): def retour_emprunt(request, empruntid):

View File

@ -3,7 +3,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-10 10:24+0200\n" "POT-Creation-Date: 2019-08-10 15:56+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -3,7 +3,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-10 10:21+0200\n" "POT-Creation-Date: 2019-08-10 15:56+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -13,74 +13,74 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: admin.py:29 #: admin.py:32
msgid "adherent status" msgid "adherent status"
msgstr "statut adhérent" msgstr "statut adhérent"
#: admin.py:34 #: admin.py:37
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
#: admin.py:51 #: admin.py:54
msgid "Personal info" msgid "Personal info"
msgstr "" msgstr ""
#: admin.py:53 #: admin.py:56
msgid "Permissions" msgid "Permissions"
msgstr "" msgstr ""
#: admin.py:56 #: admin.py:59
msgid "Important dates" msgid "Important dates"
msgstr "" msgstr ""
#: admin.py:86 #: admin.py:89
msgid "An email to set the password was sent." msgid "An email to set the password was sent."
msgstr "Un mail pour initialiser le mot de passe a été envoyé." msgstr "Un mail pour initialiser le mot de passe a été envoyé."
#: admin.py:89 #: admin.py:92
msgid "The email is invalid." msgid "The email is invalid."
msgstr "L'adresse mail est invalide." msgstr "L'adresse mail est invalide."
#: admin.py:108 #: admin.py:111
msgid "Adhere" msgid "Adhere"
msgstr "Adhérer" msgstr "Adhérer"
#: admin.py:111 #: admin.py:114
msgid "is adherent" msgid "is adherent"
msgstr "statut adhérent" msgstr "statut adhérent"
#: admin.py:119 #: apps.py:15
msgid "Register borrowed item" msgid "users"
msgstr "Enregistrer emprunt" msgstr ""
#: admin.py:122 #: models.py:15
msgid "actions"
msgstr "actions"
#: models.py:14
msgid "phone number" msgid "phone number"
msgstr "numéro de téléphone" msgstr "numéro de téléphone"
#: models.py:20 #: models.py:21
msgid "address" msgid "address"
msgstr "adresse" msgstr "adresse"
#: models.py:26 #: models.py:27
msgid "maximum borrowed" msgid "maximum borrowed"
msgstr "emprunts maximal" msgstr "emprunts maximal"
#: models.py:27 #: models.py:28
msgid "Maximal amount of simultaneous borrowed item authorized." msgid "Maximal amount of simultaneous borrowed item authorized."
msgstr "Nombre maximal d'objets empruntés en même temps." msgstr "Nombre maximal d'objets empruntés en même temps."
#: models.py:32 #: models.py:33
msgid "comment" msgid "comment"
msgstr "commentaire" msgstr "commentaire"
#: models.py:33 #: models.py:34
msgid "Promotion..." msgid "Promotion..."
msgstr "" msgstr ""
#: models.py:39
msgid "date joined"
msgstr ""
#: templates/users/user.html:40 #: templates/users/user.html:40
msgid "Change password" msgid "Change password"
msgstr "" msgstr ""