Commit b8bc9b35 authored by Daniel STAN's avatar Daniel STAN

traduction des templates de l'impression

parent 8a264f04
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-12-10 23:08+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: templates/impressions/affichage.html:3
msgid "Impression"
msgstr "Printing System"
#: templates/impressions/affichage.html:7
msgid ""
"Le service d'impression est actuellement indisponible, en raison d'un "
"problème technique"
msgstr "The printing system is currently down, due to a technical problem."
#: templates/impressions/affichage.html:8
msgid "Nous vous prions de bien vouloir nous en excuser"
msgstr "We apologize for the inconvenience."
#: templates/impressions/base.html:3
msgid "Impressions Crans"
msgstr "Crans Printing"
#: templates/impressions/base.html:4
msgid "Interface d'impression"
msgstr "Printing interface"
#: templates/impressions/impressions.html:23
#: templates/impressions/liste.html:6 templates/impressions/liste.html.py:7
msgid "Liste des tâches"
msgstr "Job list"
#: templates/impressions/impressions.html:25
#: templates/impressions/imprimante.html:3
#: templates/impressions/imprimante.html:4
msgid "Statut de l'imprimante"
msgstr "Printer status"
#: templates/impressions/impressions.html:27
msgid "Envoyer"
msgstr "Submit"
#: templates/impressions/imprimante.html:11
msgid "Nom de domaine :"
msgstr "Hostname:"
#: templates/impressions/imprimante.html:15
msgid "Status :"
msgstr "Status:"
#: templates/impressions/imprimante.html:20
msgid "Bac de papiers"
msgstr "Paper Tray"
#: templates/impressions/imprimante.html:25
msgid "Nombre de page :"
msgstr "Page count"
#: templates/impressions/imprimante.html:27
msgid "Format du papier :"
msgstr "Paper format"
#: templates/impressions/imprimante.html:37
msgid "Consommables"
msgstr "Supplies"
#: templates/impressions/imprimante.html:42
msgid "Pourcentage :"
msgstr "Percent:"
#: templates/impressions/imprimante.html:53
msgid "Alertes"
msgstr "Alert"
#: templates/impressions/liste.html:11
msgid "Tâches en attentes"
msgstr "Pending jobs"
#: templates/impressions/liste.html:15 templates/impressions/liste.html:24
msgid "Rang"
msgstr "Rank"
#: templates/impressions/liste.html:16 templates/impressions/liste.html:25
#: templates/impressions/liste.html:50 templates/impressions/liste.html:61
msgid "Login"
msgstr "Login"
#: templates/impressions/liste.html:17 templates/impressions/liste.html:26
#: templates/impressions/liste.html:51 templates/impressions/liste.html:62
msgid "Fichier"
msgstr "File"
#: templates/impressions/liste.html:18 templates/impressions/liste.html:27
msgid "Annuler"
msgstr "Cancel"
#: templates/impressions/liste.html:31 templates/impressions/liste.html:69
msgid "icone suppression"
msgstr "Cancel button"
#: templates/impressions/liste.html:38
msgid "Pas de tâche dans la file d'attente du serveur"
msgstr "No job in the queue"
#: templates/impressions/liste.html:45
msgid "Tâches effectuées"
msgstr "Printed jobs"
#: templates/impressions/liste.html:49
msgid "Job id"
msgstr ""
#: templates/impressions/liste.html:52 templates/impressions/liste.html:63
msgid "Lancé"
msgstr "Launched"
#: templates/impressions/liste.html:53 templates/impressions/liste.html:64
msgid "Terminé"
msgstr "Completed"
#: templates/impressions/liste.html:54 templates/impressions/liste.html:65
msgid "Statut"
msgstr "Status"
#: templates/impressions/liste.html:60
msgid "Jid"
msgstr ""
#: templates/impressions/liste.html:78
msgid "Pas de tâche terminée en mémoire"
msgstr "No job"
#: templates/impressions/liste.html:83
msgid "Retour à l'interface d'impression"
msgstr "Back to the printing interface"
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-12-10 23:08+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: templates/impressions/affichage.html:3
msgid "Impression"
msgstr ""
#: templates/impressions/affichage.html:7
msgid ""
"Le service d'impression est actuellement indisponible, en raison d'un "
"problème technique"
msgstr ""
#: templates/impressions/affichage.html:8
msgid "Nous vous prions de bien vouloir nous en excuser"
msgstr ""
#: templates/impressions/base.html:3
msgid "Impressions Crans"
msgstr ""
#: templates/impressions/base.html:4
msgid "Interface d'impression"
msgstr ""
#: templates/impressions/impressions.html:23
#: templates/impressions/liste.html:6 templates/impressions/liste.html.py:7
msgid "Liste des tâches"
msgstr ""
#: templates/impressions/impressions.html:25
#: templates/impressions/imprimante.html:3
#: templates/impressions/imprimante.html:4
msgid "Statut de l'imprimante"
msgstr ""
#: templates/impressions/impressions.html:27
msgid "Envoyer"
msgstr ""
#: templates/impressions/imprimante.html:11
msgid "Nom de domaine :"
msgstr ""
#: templates/impressions/imprimante.html:15
msgid "Status :"
msgstr ""
#: templates/impressions/imprimante.html:20
msgid "Bac de papiers"
msgstr ""
#: templates/impressions/imprimante.html:25
msgid "Nombre de page :"
msgstr ""
#: templates/impressions/imprimante.html:27
msgid "Format du papier :"
msgstr ""
#: templates/impressions/imprimante.html:37
msgid "Consommables"
msgstr ""
#: templates/impressions/imprimante.html:42
msgid "Pourcentage :"
msgstr ""
#: templates/impressions/imprimante.html:53
msgid "Alertes"
msgstr ""
#: templates/impressions/liste.html:11
msgid "Tâches en attentes"
msgstr ""
#: templates/impressions/liste.html:15 templates/impressions/liste.html:24
msgid "Rang"
msgstr ""
#: templates/impressions/liste.html:16 templates/impressions/liste.html:25
#: templates/impressions/liste.html:50 templates/impressions/liste.html:61
msgid "Login"
msgstr ""
#: templates/impressions/liste.html:17 templates/impressions/liste.html:26
#: templates/impressions/liste.html:51 templates/impressions/liste.html:62
msgid "Fichier"
msgstr ""
#: templates/impressions/liste.html:18 templates/impressions/liste.html:27
msgid "Annuler"
msgstr ""
#: templates/impressions/liste.html:31 templates/impressions/liste.html:69
msgid "icone suppression"
msgstr ""
#: templates/impressions/liste.html:38
msgid "Pas de tâche dans la file d'attente du serveur"
msgstr ""
#: templates/impressions/liste.html:45
msgid "Tâches effectuées"
msgstr ""
#: templates/impressions/liste.html:49
msgid "Job id"
msgstr ""
#: templates/impressions/liste.html:52 templates/impressions/liste.html:63
msgid "Lancé"
msgstr ""
#: templates/impressions/liste.html:53 templates/impressions/liste.html:64
msgid "Terminé"
msgstr ""
#: templates/impressions/liste.html:54 templates/impressions/liste.html:65
msgid "Statut"
msgstr ""
#: templates/impressions/liste.html:60
msgid "Jid"
msgstr ""
#: templates/impressions/liste.html:78
msgid "Pas de tâche terminée en mémoire"
msgstr ""
#: templates/impressions/liste.html:83
msgid "Retour à l'interface d'impression"
msgstr ""
{% extends "template.html" %}
{% block title %} Mon Compte {% endblock %}
{% load i18n %}
{% block title %}{% trans "Impression" %}{% endblock %}
{% block content %}
<table>
<tr><td>Le service d'impression est actuellement indisponible, en raison d'un problème technique</tr></td>
<tr><td>Nous vous prions de bien vouloir nous en excuser</tr></td>
<tr><td>{% trans "Le service d'impression est actuellement indisponible, en raison d'un problème technique" %}</tr></td>
<tr><td>{% trans "Nous vous prions de bien vouloir nous en excuser" %}</tr></td>
</table>
{% endblock %}
{% extends "template.html" %}
{% block title %}Impressions Crans{% endblock %}
{% block h1 %}Interface d'impression{% endblock %}
{% load i18n %}
{% block title %}{% trans "Impressions Crans" %}{% endblock %}
{% block h1 %}{% trans "Interface d'impression" %}{% endblock %}
{% extends "impressions/base.html" %}
{% load i18n %}
{% block content %}
<form action="" method="post" enctype="multipart/form-data" class="impr_section">{% csrf_token %}
......@@ -19,11 +20,11 @@
{% endif %}
</div>
<footer>
<a href="{% url 'impressions:gestion' %}" class="button">Liste des tâches</a>
<a href="{% url 'impressions:gestion' %}" class="button">{% trans "Liste des tâches" %}</a>
{% for printer in printers %}
<a href="{{ printer.get_absolute_url }}" class="button">Statut de l'imprimante</a>
<a href="{{ printer.get_absolute_url }}" class="button">{% trans "Statut de l'imprimante" %}</a>
{% endfor %}
<input type="submit" class="button-add" value="Envoyer" name="SubmitUploadForm"/>
<input type="submit" class="button-add" value="{% trans "Envoyer" %}" name="SubmitUploadForm"/>
</footer>
</form>
......
{% extends "template.html" %}
{% block title %}Statut de l'imprimante{% endblock %}
{% block h1 %}Statut de l'imprimante{% endblock %}
{% load i18n %}
{% block title %}{% trans "Statut de l'imprimante" %}{% endblock %}
{% block h1 %}{% trans "Statut de l'imprimante" %}{% endblock %}
{% load staticfiles %}
{% block content %}
<h2>{{ printer.name }}</h2>
<div class="row">
<div class="six columns">
<label>Nom de domaine:</label>
<label>{% trans "Nom de domaine :" %}</label>
{{ printer.domain_name }}
</div>
<div class="six columns">
<label>Status:</label>
<label>{% trans "Status :" %}</label>
{{ printer.status }}
</div>
</div>
<h2>Bac de papiers</h2>
<h2>{% trans "Bac de papiers" %}</h2>
<div class="row">
{% for tray in printer.paper_trays.all %}
<div class="three columns">
<h5>{{ tray.name }}</h5>
<label>Nombre de page :</label>
<label>{% trans "Nombre de page :" %}</label>
{{ tray.count }}/{{ tray.max_capacity }}
<label>Format du papier :</label>
<label>{% trans "Format du papier :" %}</label>
{{ tray.dimx }}x{{ tray.dimy }}mm
</div>
{% if forloop.counter|divisibleby:"4" and not forloop.first and not forloop.last %}
......@@ -33,12 +34,12 @@
{% endfor %}
</div>
<h2>Consommables</h2>
<h2>{% trans "Consommables" %}</h2>
<div class="row">
{% for supply in printer.supplies.all %}
<div class="three columns">
<h5>{{ supply.name }}</h5>
<label>Pourcentage :</label>
<label>{% trans "Pourcentage :" %}</label>
{{ supply.percent }}
</div>
{% if forloop.counter|divisibleby:"4" and not forloop.first and not forloop.last %}
......@@ -49,7 +50,7 @@
</div>
{% if printer.alerts.all %}
<h2>Alertes</h2>
<h2>{% trans "Alertes" %}</h2>
<ul>
{% for alert in printer.alerts.all %}
<li>{{ alert.description }}</li>
......
{% extends "template.html" %}
{% load i18n %}
{% block head %}
<link rel="stylesheet" type="text/css" href="/static/css/impressions.css" />
{% endblock head %}
{% block title %}{{ block.super }} : Liste des tâches{% endblock %}
{% block h1 %}Liste des tâches{% endblock %}
{% block title %}{{ block.super }} : {% trans "Liste des tâches" %}{% endblock %}
{% block h1 %}{% trans "Liste des tâches" %}{% endblock %}
{% load staticfiles %}
{% block content %}
<h2>Tâches en attentes</h2>
<h2>{% trans "Tâches en attentes" %}</h2>
<table class="mobile-friendly">
<thead>
<tr>
<th>Rang</th>
<th>Login</th>
<th>Fichier</th>
<th>Annuler</th>
<th>{% trans "Rang" %}</th>
<th>{% trans "Login" %}</th>
<th>{% trans "Fichier" %}</th>
<th>{% trans "Annuler" %}</th>
</tr>
</thead>
<tbody>
{% for job in lpq_jobs %}
<tr>
<td mobile-header="Rang">{{ job.ordre }}</td>
<td mobile-header="Login">{{ job.login }}</td>
<td mobile-header="Fichier">{{ job.file }}</td>
<td mobile-header="Annuler">
<td mobile-header="{% trans "Rang" %}">{{ job.ordre }}</td>
<td mobile-header="{% trans "Login" %}">{{ job.login }}</td>
<td mobile-header="{% trans "Fichier" %}">{{ job.file }}</td>
<td mobile-header="{% trans "Annuler" %}">
<a href="{% url 'impressions:delete' job.jid %}">
<img class="impression-delete" src="{% static 'img/delete_icon.svg' %}" alt="icone suppression" />
<img class="impression-delete"
src="{% static 'img/delete_icon.svg' %}"
alt="{% trans "icone suppression" %}" />
</a>
</td>
</tr>
{% empty %}
<tr>
<td colspan=4 class="impr_nojobs">Pas de tâche dans la file d'attente du serveur</td>
<td colspan=4 class="impr_nojobs">
{% trans "Pas de tâche dans la file d'attente du serveur" %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
<h2>Tâches effectuées</h2>
<h2>{% trans "Tâches effectuées" %}</h2>
<table class="mobile-friendly">
<thead>
<tr>
<th>Job id</th>
<th>Login</th>
<th>Fichier</th>
<th>Lancé</th>
<th>Terminé</th>
<th>Statut</th>
<th>{% trans "Job id" %}</th>
<th>{% trans "Login" %}</th>
<th>{% trans "Fichier" %}</th>
<th>{% trans "Lancé" %}</th>
<th>{% trans "Terminé" %}</th>
<th>{% trans "Statut" %}</th>
</tr>
</thead>
<tbody>
{% for job in ended_jobs %}{% if job.result %}
<tr>
<td mobile-header="Jid">{% if job.jid %}{{ job.jid }}{% endif %}</td>
<td mobile-header="Login">{{ job.login }} {% if job.club %} /{{job.club}}{% endif %}</td>
<td mobile-header="Fichier">{{ job.file|truncatechars:30 }}</td>
<td mobile-header="Lancé">{{ job.starttime }}</td>
<td mobile-header="Terminé">{{ job.endtime }}</td>
<td mobile-header="Statut">{{ job.result }}
<td mobile-header="{% trans "Jid" %}">{% if job.jid %}{{ job.jid }}{% endif %}</td>
<td mobile-header="{% trans "Login" %}">{{ job.login }} {% if job.club %} /{{job.club}}{% endif %}</td>
<td mobile-header="{% trans "Fichier" %}">{{ job.file|truncatechars:30 }}</td>
<td mobile-header="{% trans "Lancé" %}">{{ job.starttime }}</td>
<td mobile-header="{% trans "Terminé" %}">{{ job.endtime }}</td>
<td mobile-header="{% trans "Statut" %}">{{ job.result }}
{% if imprimeur %}
{% if job.result == "Running" %}
<a href="{% url 'impressions:lostjob' job.jid %}">
<img class="impression-delete" src="{% static 'img/delete_icon.svg' %}" alt="icone suppression" />
<img class="impression-delete" src="{% static 'img/delete_icon.svg' %}" alt="{% trans "icone suppression" %}" />
</a>
{% endif %}
{% endif %}
......@@ -70,10 +75,10 @@
{% endif %}
{% empty %}
<tr>
<td colspan=4>Pas de tâche terminée en mémoire</td>
<td colspan="6">{% trans "Pas de tâche terminée en mémoire" %}</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{% url 'impressions:view' %}"><button class="button-cancel">Retour à l'interface d'impression</button></a>
<a href="{% url 'impressions:view' %}"><button class="button-cancel">{% trans "Retour à l'interface d'impression" %}</button></a>
{% endblock %}
${% extends "impressions/base.html" %}
{% extends "impressions/base.html" %}
{% block content %}
<form id="printform" name="printform" action="" method="post" enctype="multipart/form-data"> {% csrf_token %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment