translate room fields

This commit is contained in:
Élie Bouttier 2017-11-22 23:12:31 +01:00
parent fc23caad8a
commit e853c59fce
3 changed files with 27 additions and 19 deletions

View File

@ -175,10 +175,10 @@ class Track(PonyConfModel):
class Room(models.Model): class Room(models.Model):
site = models.ForeignKey(Site, on_delete=models.CASCADE) site = models.ForeignKey(Site, on_delete=models.CASCADE)
name = models.CharField(max_length=256, blank=True, default="") name = models.CharField(max_length=256, blank=True, default='', verbose_name=_('Name'))
slug = AutoSlugField(populate_from='name') slug = AutoSlugField(populate_from='name')
label = models.CharField(max_length=256, blank=True, default="") label = models.CharField(max_length=256, blank=True, default='', verbose_name=_('Label'))
capacity = models.IntegerField(default=0) capacity = models.IntegerField(default=0, verbose_name=_('Capacity'))
class Meta: class Meta:
unique_together = ['site', 'name'] unique_together = ['site', 'name']

Binary file not shown.

View File

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-21 21:30+0000\n" "POT-Creation-Date: 2017-11-22 22:10+0000\n"
"PO-Revision-Date: 2017-11-21 22:31+0100\n" "PO-Revision-Date: 2017-11-22 23:12+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: fr\n" "Language: fr\n"
@ -327,8 +327,8 @@ msgstr ""
"Ladresse de réponse doit être une chaine de texte formatable avec un " "Ladresse de réponse doit être une chaine de texte formatable avec un "
"argument « token » (e.g. ponyconf+{token}@exemple.com)." "argument « token » (e.g. ponyconf+{token}@exemple.com)."
#: cfp/models.py:100 cfp/models.py:156 cfp/models.py:208 cfp/models.py:498 #: cfp/models.py:100 cfp/models.py:156 cfp/models.py:178 cfp/models.py:208
#: cfp/templates/cfp/staff/participant_list.html:42 #: cfp/models.py:498 cfp/templates/cfp/staff/participant_list.html:42
#: cfp/templates/cfp/staff/volunteer_list.html:29 #: cfp/templates/cfp/staff/volunteer_list.html:29
msgid "Name" msgid "Name"
msgstr "Nom" msgstr "Nom"
@ -341,6 +341,14 @@ msgstr "Ce champ est uniquement visible par les organisateurs."
msgid "Invited speaker" msgid "Invited speaker"
msgstr "Orateur invité" msgstr "Orateur invité"
#: cfp/models.py:180
msgid "Label"
msgstr "Étiquette"
#: cfp/models.py:181
msgid "Capacity"
msgstr "Capacité"
#: cfp/models.py:210 #: cfp/models.py:210
msgid "Color" msgid "Color"
msgstr "Couleur" msgstr "Couleur"
@ -1442,39 +1450,39 @@ msgstr "Lindisponibilité de lintervenant a été notée."
msgid "The talk have been cancelled." msgid "The talk have been cancelled."
msgstr "Lexposé a été annulé." msgstr "Lexposé a été annulé."
#: cfp/views.py:617 cfp/views.py:722 #: cfp/views.py:621 cfp/views.py:726
msgid "The talk has been accepted." msgid "The talk has been accepted."
msgstr "Lexposé a été accepté." msgstr "Lexposé a été accepté."
#: cfp/views.py:619 cfp/views.py:724 #: cfp/views.py:623 cfp/views.py:728
msgid "The talk has been declined." msgid "The talk has been declined."
msgstr "Lexposé a été décliné." msgstr "Lexposé a été décliné."
#: cfp/views.py:691 cfp/views.py:810 #: cfp/views.py:695 cfp/views.py:814
msgid "Message sent!" msgid "Message sent!"
msgstr "Message envoyé !" msgstr "Message envoyé !"
#: cfp/views.py:705 #: cfp/views.py:709
msgid "Vote successfully created" msgid "Vote successfully created"
msgstr "A voté !" msgstr "A voté !"
#: cfp/views.py:705 #: cfp/views.py:709
msgid "Vote successfully updated" msgid "Vote successfully updated"
msgstr "Vote mis à jour" msgstr "Vote mis à jour"
#: cfp/views.py:726 #: cfp/views.py:730
msgid "Decision taken in account" msgid "Decision taken in account"
msgstr "Décision enregistrée" msgstr "Décision enregistrée"
#: cfp/views.py:744 #: cfp/views.py:748
msgid "Speaker removed from this talk" msgid "Speaker removed from this talk"
msgstr "Intervenant supprimé de lexposé avec succès" msgstr "Intervenant supprimé de lexposé avec succès"
#: cfp/views.py:876 #: cfp/views.py:880
msgid "[{}] You have been added to the staff team" msgid "[{}] You have been added to the staff team"
msgstr "[{}] Vous avez été ajouté aux membres du staff" msgstr "[{}] Vous avez été ajouté aux membres du staff"
#: cfp/views.py:877 #: cfp/views.py:881
msgid "" msgid ""
"Hi {},\n" "Hi {},\n"
"\n" "\n"
@ -1498,15 +1506,15 @@ msgstr ""
"{}\n" "{}\n"
"\n" "\n"
#: cfp/views.py:898 #: cfp/views.py:902
msgid "Modifications successfully saved." msgid "Modifications successfully saved."
msgstr "Modification enregistrée avec succès." msgstr "Modification enregistrée avec succès."
#: cfp/views.py:1062 #: cfp/views.py:1066
msgid "User created successfully." msgid "User created successfully."
msgstr "Utilisateur créé avec succès." msgstr "Utilisateur créé avec succès."
#: cfp/views.py:1083 #: cfp/views.py:1087
#, python-format #, python-format
msgid "Format '%s' not available" msgid "Format '%s' not available"
msgstr "Format '%s' non disponible" msgstr "Format '%s' non disponible"