Add unknown event translation

This commit is contained in:
Antoine Bartuccio 2016-10-25 21:53:40 +02:00
parent bafa9ac10c
commit 677c50a4b1
3 changed files with 61 additions and 58 deletions

View File

@ -301,7 +301,7 @@ class Selling(models.Model):
super(Selling, self).delete(*args, **kwargs)
def send_mail_customer(self):
event = self.product.eticket.event_title
event = self.product.eticket.event_title or _("Unknown event")
subject = _('Eticket bought for the event %(event)s') % {'event': event}
message_html = _(
"You bought an eticket for the event %(event)s.\nYou can download it on this page %(url)s."

Binary file not shown.

View File

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-20 18:33+0200\n"
"POT-Creation-Date: 2016-10-25 21:49+0200\n"
"PO-Revision-Date: 2016-07-18\n"
"Last-Translator: Skia <skia@libskia.so>\n"
"Language-Team: AE info <ae.info@utbm.fr>\n"
@ -17,8 +17,8 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: accounting/models.py:36 accounting/models.py:55 accounting/models.py:82
#: accounting/models.py:141 club/models.py:19 counter/models.py:72
#: counter/models.py:97 counter/models.py:132 launderette/models.py:15
#: accounting/models.py:141 club/models.py:19 counter/models.py:70
#: counter/models.py:95 counter/models.py:130 launderette/models.py:15
#: launderette/models.py:60 launderette/models.py:85
msgid "name"
msgstr "nom"
@ -64,7 +64,7 @@ msgid "account number"
msgstr "numero de compte"
#: accounting/models.py:58 accounting/models.py:83 club/models.py:145
#: counter/models.py:106 counter/models.py:133
#: counter/models.py:104 counter/models.py:131
msgid "club"
msgstr "club"
@ -85,12 +85,12 @@ msgstr "Compte club"
msgid "%(club_account)s on %(bank_account)s"
msgstr "%(club_account)s sur %(bank_account)s"
#: accounting/models.py:139 club/models.py:146 counter/models.py:381
#: accounting/models.py:139 club/models.py:146 counter/models.py:380
#: launderette/models.py:122
msgid "start date"
msgstr "date de début"
#: accounting/models.py:140 club/models.py:147 counter/models.py:382
#: accounting/models.py:140 club/models.py:147 counter/models.py:381
msgid "end date"
msgstr "date de fin"
@ -103,7 +103,7 @@ msgid "club account"
msgstr "compte club"
#: accounting/models.py:144 accounting/models.py:190 counter/models.py:28
#: counter/models.py:236
#: counter/models.py:234
msgid "amount"
msgstr "montant"
@ -124,16 +124,16 @@ msgid "journal"
msgstr "classeur"
#: accounting/models.py:191 core/models.py:498 core/models.py:776
#: counter/models.py:239 counter/models.py:282 counter/models.py:398
#: counter/models.py:237 counter/models.py:280 counter/models.py:397
#: eboutic/models.py:15 eboutic/models.py:48
msgid "date"
msgstr "date"
#: accounting/models.py:192 counter/models.py:399
#: accounting/models.py:192 counter/models.py:398
msgid "comment"
msgstr "commentaire"
#: accounting/models.py:193 counter/models.py:240 counter/models.py:283
#: accounting/models.py:193 counter/models.py:238 counter/models.py:281
#: subscription/models.py:57
msgid "payment method"
msgstr "méthode de paiement"
@ -159,7 +159,7 @@ msgid "accounting type"
msgstr "type comptable"
#: accounting/models.py:202 accounting/models.py:296 accounting/models.py:322
#: accounting/models.py:345 counter/models.py:274
#: accounting/models.py:345 counter/models.py:272
msgid "label"
msgstr "intitulé"
@ -232,7 +232,7 @@ msgstr ""
"Vous devez fournir soit un type comptable simplifié ou un type comptable "
"standard"
#: accounting/models.py:291 counter/models.py:101
#: accounting/models.py:291 counter/models.py:99
msgid "code"
msgstr "code"
@ -590,7 +590,7 @@ msgstr "Vous ne pouvez pas faire de boucles dans les clubs"
msgid "A club with that unix_name already exists"
msgstr "Un club avec ce nom UNIX existe déjà."
#: club/models.py:144 counter/models.py:379 counter/models.py:396
#: club/models.py:144 counter/models.py:378 counter/models.py:395
#: eboutic/models.py:14 eboutic/models.py:47 launderette/models.py:89
#: launderette/models.py:126
msgid "user"
@ -600,8 +600,8 @@ msgstr "nom d'utilisateur"
msgid "role"
msgstr "rôle"
#: club/models.py:150 core/models.py:33 counter/models.py:73
#: counter/models.py:98
#: club/models.py:150 core/models.py:33 counter/models.py:71
#: counter/models.py:96
msgid "description"
msgstr "description"
@ -1979,67 +1979,67 @@ msgstr "clients"
msgid "Not enough money"
msgstr "Solde insuffisant"
#: counter/models.py:77 counter/models.py:99
#: counter/models.py:75 counter/models.py:97
msgid "product type"
msgstr "type du produit"
#: counter/models.py:102
#: counter/models.py:100
msgid "purchase price"
msgstr "prix d'achat"
#: counter/models.py:103
#: counter/models.py:101
msgid "selling price"
msgstr "prix de vente"
#: counter/models.py:104
#: counter/models.py:102
msgid "special selling price"
msgstr "prix de vente spécial"
#: counter/models.py:105
#: counter/models.py:103
msgid "icon"
msgstr "icône"
#: counter/models.py:107
#: counter/models.py:105
msgid "limit age"
msgstr "âge limite"
#: counter/models.py:108
#: counter/models.py:106
msgid "tray price"
msgstr "prix plateau"
#: counter/models.py:109
#: counter/models.py:107
msgid "parent product"
msgstr "produit parent"
#: counter/models.py:111
#: counter/models.py:109
msgid "buying groups"
msgstr "groupe d'achat"
#: counter/models.py:112
#: counter/models.py:110
msgid "archived"
msgstr "archivé"
#: counter/models.py:115 counter/models.py:479
#: counter/models.py:113 counter/models.py:478
msgid "product"
msgstr "produit"
#: counter/models.py:134
#: counter/models.py:132
msgid "products"
msgstr "produits"
#: counter/models.py:135
#: counter/models.py:133
msgid "counter type"
msgstr "type de comptoir"
#: counter/models.py:137
#: counter/models.py:135
msgid "Bar"
msgstr "Bar"
#: counter/models.py:137
#: counter/models.py:135
msgid "Office"
msgstr "Bureau"
#: counter/models.py:137 counter/templates/counter/counter_list.jinja:11
#: counter/models.py:135 counter/templates/counter/counter_list.jinja:11
#: eboutic/templates/eboutic/eboutic_main.jinja:4
#: eboutic/templates/eboutic/eboutic_main.jinja:24
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:8
@ -2048,58 +2048,62 @@ msgstr "Bureau"
msgid "Eboutic"
msgstr "Eboutic"
#: counter/models.py:138
#: counter/models.py:136
msgid "sellers"
msgstr "vendeurs"
#: counter/models.py:141 launderette/models.py:125
#: counter/models.py:139 launderette/models.py:125
msgid "token"
msgstr "jeton"
#: counter/models.py:144 counter/models.py:380 counter/models.py:397
#: counter/models.py:142 counter/models.py:379 counter/models.py:396
#: launderette/models.py:16
msgid "counter"
msgstr "comptoir"
#: counter/models.py:242
#: counter/models.py:240
msgid "bank"
msgstr "banque"
#: counter/models.py:244 counter/models.py:285
#: counter/models.py:242 counter/models.py:283
msgid "is validated"
msgstr "est validé"
#: counter/models.py:247
#: counter/models.py:245
msgid "refilling"
msgstr "rechargement"
#: counter/models.py:278 eboutic/models.py:103
#: counter/models.py:276 eboutic/models.py:103
msgid "unit price"
msgstr "prix unitaire"
#: counter/models.py:279 counter/models.py:469 eboutic/models.py:104
#: counter/models.py:277 counter/models.py:468 eboutic/models.py:104
msgid "quantity"
msgstr "quantité"
#: counter/models.py:284
#: counter/models.py:282
msgid "Sith account"
msgstr "Compte utilisateur"
#: counter/models.py:284 sith/settings.py:283 sith/settings.py:288
#: counter/models.py:282 sith/settings.py:283 sith/settings.py:288
#: sith/settings.py:310
msgid "Credit card"
msgstr "Carte bancaire"
#: counter/models.py:288
#: counter/models.py:286
msgid "selling"
msgstr "vente"
#: counter/models.py:306
#: counter/models.py:304
msgid "Unknown event"
msgstr "Évènement inconnu"
#: counter/models.py:305
#, python-format
msgid "Eticket bought for the event %(event)s"
msgstr "Achat d'eticket pour l'évènement %(event)s"
#: counter/models.py:308 counter/models.py:320
#: counter/models.py:307 counter/models.py:319
#, python-format
msgid ""
"You bought an eticket for the event %(event)s.\n"
@ -2107,53 +2111,52 @@ msgid ""
msgstr ""
"Vous avez acheté un eticket pour l'évènement %(event)s.\n"
"Vous pouvez le télécharger en visitant cette page %(url)s"
""
#: counter/models.py:383
#: counter/models.py:382
msgid "last activity date"
msgstr "dernière activité"
#: counter/models.py:386
#: counter/models.py:385
msgid "permanency"
msgstr "permanence"
#: counter/models.py:400
#: counter/models.py:399
msgid "emptied"
msgstr "coffre vidée"
#: counter/models.py:403
#: counter/models.py:402
msgid "cash register summary"
msgstr "relevé de caisse"
#: counter/models.py:467
#: counter/models.py:466
msgid "cash summary"
msgstr "relevé"
#: counter/models.py:468
#: counter/models.py:467
msgid "value"
msgstr "valeur"
#: counter/models.py:470
#: counter/models.py:469
msgid "check"
msgstr "chèque"
#: counter/models.py:473
#: counter/models.py:472
msgid "cash register summary item"
msgstr "élément de relevé de caisse"
#: counter/models.py:480
#: counter/models.py:479
msgid "banner"
msgstr "bannière"
#: counter/models.py:481
#: counter/models.py:480
msgid "event date"
msgstr "date de l'événement"
#: counter/models.py:482
#: counter/models.py:481
msgid "event title"
msgstr "titre de l'événement"
#: counter/models.py:483
#: counter/models.py:482
msgid "secret"
msgstr "secret"