forked from DGNum/gestioCOF
Translation fixes in bds.models
- the 'u' in ugettext_lazy in a legacy of python2, we can drop it now - translate all verbose names - start field verbose names with a lowercase letter
This commit is contained in:
parent
f9aee86a1c
commit
98fe68d0be
2 changed files with 29 additions and 27 deletions
|
@ -29,7 +29,7 @@ class Migration(migrations.Migration):
|
|||
(
|
||||
"phone",
|
||||
models.CharField(
|
||||
blank=True, max_length=20, verbose_name="Téléphone"
|
||||
blank=True, max_length=20, verbose_name="téléphone"
|
||||
),
|
||||
),
|
||||
(
|
||||
|
@ -49,37 +49,37 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
default="1A",
|
||||
max_length=3,
|
||||
verbose_name="Occupation",
|
||||
verbose_name="occupation",
|
||||
),
|
||||
),
|
||||
(
|
||||
"departement",
|
||||
models.CharField(
|
||||
blank=True, max_length=50, verbose_name="Département"
|
||||
blank=True, max_length=50, verbose_name="département"
|
||||
),
|
||||
),
|
||||
(
|
||||
"birthdate",
|
||||
models.DateField(
|
||||
blank=True, null=True, verbose_name="Date de naissance"
|
||||
blank=True, null=True, verbose_name="date de naissance"
|
||||
),
|
||||
),
|
||||
(
|
||||
"mails_bds",
|
||||
models.BooleanField(
|
||||
default=False, verbose_name="Recevoir les mails du BDS"
|
||||
default=False, verbose_name="recevoir les mails du BDS"
|
||||
),
|
||||
),
|
||||
(
|
||||
"is_buro",
|
||||
models.BooleanField(
|
||||
default=False, verbose_name="Membre du Burô du BDS"
|
||||
default=False, verbose_name="membre du Burô du BDS"
|
||||
),
|
||||
),
|
||||
(
|
||||
"has_certificate",
|
||||
models.BooleanField(
|
||||
default=False, verbose_name="Certificat médical"
|
||||
default=False, verbose_name="certificat médical"
|
||||
),
|
||||
),
|
||||
(
|
||||
|
@ -87,7 +87,7 @@ class Migration(migrations.Migration):
|
|||
models.FileField(
|
||||
blank=True,
|
||||
upload_to=bds.models.BDSProfile.get_certificate_filename,
|
||||
verbose_name="Fichier de certificat médical",
|
||||
verbose_name="fichier de certificat médical",
|
||||
),
|
||||
),
|
||||
(
|
||||
|
@ -96,13 +96,13 @@ class Migration(migrations.Migration):
|
|||
blank=True,
|
||||
max_length=50,
|
||||
null=True,
|
||||
verbose_name="Numéro AS PSL",
|
||||
verbose_name="numéro AS PSL",
|
||||
),
|
||||
),
|
||||
(
|
||||
"FFSU_number",
|
||||
models.CharField(
|
||||
blank=True, max_length=50, null=True, verbose_name="Numéro FFSU"
|
||||
blank=True, max_length=50, null=True, verbose_name="numéro FFSU"
|
||||
),
|
||||
),
|
||||
(
|
||||
|
@ -116,13 +116,13 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
default="NO",
|
||||
max_length=3,
|
||||
verbose_name="Inscription",
|
||||
verbose_name="inscription",
|
||||
),
|
||||
),
|
||||
(
|
||||
"registration_date",
|
||||
models.DateField(
|
||||
auto_now_add=True, verbose_name="Date d'inscription"
|
||||
auto_now_add=True, verbose_name="date d'inscription"
|
||||
),
|
||||
),
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue