8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 04:43:10 +00:00

[Printer] Translation

This commit is contained in:
Maxime Bombar 2018-10-26 01:30:21 +02:00 committed by root
parent b55781364a
commit 58d63ffa6d
3 changed files with 247 additions and 20 deletions

Binary file not shown.

View file

@ -0,0 +1,227 @@
# 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: 2018-10-26 01:01+0200\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"
#: printer/forms.py:34
msgid "Print As"
msgstr "Imprimer en tant que"
#: printer/models.py:116
msgid "Pending"
msgstr "En attente"
#: printer/models.py:117
msgid "Printable"
msgstr "Imprimable"
#: printer/models.py:118
msgid "Running"
msgstr "En cours..."
#: printer/models.py:119
msgid "Cancelled"
msgstr "Annulée"
#: printer/models.py:120
msgid "Finished"
msgstr "Terminée"
#: printer/models.py:132
msgid "File"
msgstr "Fichier"
#: printer/models.py:137
msgid "File Name"
msgstr "Nom du fichier"
#: printer/models.py:144
msgid "Status"
msgstr "Status"
#: printer/models.py:153
#, fuzzy
#| msgid "Print As"
msgid "Print as"
msgstr "Imprimer en tant que"
#: printer/models.py:158
#, fuzzy
#| msgid "price"
msgid "Price"
msgstr "Prix"
#: printer/models.py:166
msgid "Format"
msgstr "Format"
#: printer/models.py:172 printer/settings.py:25
msgid "Color"
msgstr "Couleur"
#: printer/models.py:178
msgid "Disposition"
msgstr "Disposition"
#: printer/models.py:182
msgid "Count"
msgstr "Nombre"
#: printer/models.py:188
msgid "Stapling"
msgstr "Agrafage"
#: printer/models.py:194
msgid "Perforation"
msgstr "Perforation"
#: printer/settings.py:20
msgid "A4"
msgstr "A4"
#: printer/settings.py:21
msgid "A3"
msgstr "A3"
#: printer/settings.py:24
msgid "Greyscale"
msgstr "Noir et blanc"
#: printer/settings.py:28
msgid "Two sided"
msgstr "Recto-verso"
#: printer/settings.py:29
msgid "One sided"
msgstr "Recto"
#: printer/settings.py:30
msgid "Booklet"
msgstr "Livret"
#: printer/settings.py:33 printer/settings.py:40
msgid "None"
msgstr "Aucun"
#: printer/settings.py:34
msgid "One top left"
msgstr "En haut à gauche"
#: printer/settings.py:35
msgid "One top right"
msgstr "En haut à droite"
#: printer/settings.py:36
msgid "Two left sided"
msgstr "Deux à gauche"
#: printer/settings.py:37
msgid "Two right sided"
msgstr "Deux à droite"
#: printer/settings.py:41
msgid "Two left sided holes"
msgstr "Deux trous à gauche"
#: printer/settings.py:42
msgid "Two right sided holes"
msgstr "Deux trous à droite"
#: printer/settings.py:43
msgid "Two top holes"
msgstr "Deux trous en haut"
#: printer/settings.py:44
msgid "Two bottom holes"
msgstr "Deux trous en bas"
#: printer/settings.py:45
msgid "Four left sided holes"
msgstr "Quatre trous à gauche"
#: printer/settings.py:46
msgid "Four right sided holes"
msgstr "Quatre trous à droite"
#: printer/templates/printer/echec.html:11
msgid "Failure"
msgstr "Echec"
#: printer/templates/printer/newjob.html:13
msgid "Printing Menu"
msgstr "Menu d'impression"
#: printer/templates/printer/newjob.html:23
#: printer/templates/printer/newjob.html:44
msgid "Delete file"
msgstr "Supprimer le fichier"
#: printer/templates/printer/newjob.html:34
msgid "Add a file"
msgstr "Fichier supplémentaire"
#: printer/templates/printer/print.html:13
msgid "Confirm printing"
msgstr "Confirmer le lancement de l'impression"
#: printer/templates/printer/print.html:20
#, fuzzy
#| msgid "File Name"
msgid "Filename : "
msgstr "Nom du fichier"
#: printer/templates/printer/print.html:21
msgid "Price for one copy : "
msgstr "Prix d'une copie : "
#: printer/templates/printer/print.html:22
msgid "Number of pages : "
msgstr "Nombre de pages : "
#: printer/templates/printer/success.html:11
msgid "Success"
msgstr "Succès"
#: printer/validators.py:48
#, python-format
msgid ""
"MIME type '%(type)s' is not valid. Please, use one of these types: "
"%(allowed_types)s."
msgstr ""
"Le type '%(type)s' n'est pas autorisé. Merci d'utiliser un type"
"%(allowed_types)s."
#: printer/validators.py:51
#, python-format
msgid ""
"The current file size is %(size)s. The maximum file size is %(max_size)s."
msgstr ""
"Le fichier a une taille de %(size)s. La taille maximum autorisée est "
"%(max_size)s."
#: printer/views.py:89
msgid "Next"
msgstr "Suivant"
#: printer/views.py:121
msgid "Print"
msgstr "Imprimer"
#: printer/views.py:150
msgid "You are not allowed to print"
msgstr "Vous n'êtes pas autorisé à imprimer"

View file

@ -1,7 +1,7 @@
"""printer.settings """printer.settings
Define variables used in printer app Define variables used in printer app
""" """
from django.utils.translation import ugettext_lazy as _
from preferences.models import OptionalPrinter from preferences.models import OptionalPrinter
settings = OptionalPrinter.objects.get() settings = OptionalPrinter.objects.get()
@ -17,33 +17,33 @@ stapling_enabled = settings.stapling_enabled
perforation_enabled = settings.perforation_enabled perforation_enabled = settings.perforation_enabled
FORMAT_AVAILABLE = ( FORMAT_AVAILABLE = (
('A4', 'A4'), ('A4', _('A4')),
('A3', 'A3'), ('A3', _('A3')),
) )
COLOR_CHOICES = ( COLOR_CHOICES = (
('Greyscale', 'Greyscale'), ('Greyscale', _('Greyscale')),
('Color', 'Color') ('Color', _('Color'))
) )
DISPOSITIONS_AVAILABLE = ( DISPOSITIONS_AVAILABLE = (
('TwoSided', 'Two sided'), ('TwoSided', _('Two sided')),
('OneSided', 'One sided'), ('OneSided', _('One sided')),
('Booklet', 'Booklet') ('Booklet', _('Booklet'))
) )
STAPLING_OPTIONS = ( STAPLING_OPTIONS = (
('None', 'None'), ('None', _('None')),
('TopLeft', 'One top left'), ('TopLeft', _('One top left')),
('TopRight', 'One top right'), ('TopRight', _('One top right')),
('LeftSided', 'Two left sided'), ('LeftSided', _('Two left sided')),
('RightSided', 'Two right sided') ('RightSided', _('Two right sided'))
) )
PERFORATION_OPTIONS = ( PERFORATION_OPTIONS = (
('None', 'None'), ('None', _('None')),
('TwoLeftSidedHoles', 'Two left sided holes'), ('TwoLeftSidedHoles', _('Two left sided holes')),
('TwoRightSidedHoles', 'Two right sided holes'), ('TwoRightSidedHoles', _('Two right sided holes')),
('TwoTopHoles', 'Two top holes'), ('TwoTopHoles', _('Two top holes')),
('TwoBottomHoles', 'Two bottom holes'), ('TwoBottomHoles', _('Two bottom holes')),
('FourLeftSidedHoles', 'Four left sided holes'), ('FourLeftSidedHoles', _('Four left sided holes')),
('FourRightSidedHoles', 'Four right sided holes') ('FourRightSidedHoles', _('Four right sided holes'))
) )