Fixed locales

+Pronoun description on the user's profile

Signed-off-by: Ailé <03ht@theodurr.fr>
This commit is contained in:
Ailé 2021-11-05 20:28:37 +01:00
parent c66e4232b9
commit b8aabc466c
No known key found for this signature in database
GPG Key ID: D14CC55CB7A2260D
3 changed files with 25 additions and 3 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 2.2.24 on 2021-11-05 16:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0036_auto_20211001_0248'),
]
operations = [
migrations.AlterField(
model_name='user',
name='pronouns',
field=models.CharField(default='', max_length=64, verbose_name='pronouns'),
),
]

View File

@ -26,7 +26,7 @@
<div id="user_profile_infos_items">
{% if profile.pronouns %}
<div>
<span class="user_profile_infos_item"> </span>
<span class="user_profile_infos_item">{% trans %}Pronouns: {% endtrans %}</span>
<span class="user_profile_infos_item_value">{{ profile.pronouns }}</span>
</div>
{% endif %}

View File

@ -2071,8 +2071,8 @@ msgid "Woman"
msgstr "Femme"
#:core/models.py:232
msgid "Pronouns"
msgstr "Pronoms"
msgid "pronouns"
msgstr "pronoms"
#: core/models.py:209
msgid "tshirt size"
@ -3112,6 +3112,10 @@ msgstr "Profil de %(user_name)s"
msgid "Born: "
msgstr "Né le : "
#: core/templates/core/user_detail.jinja:27
msgid "Pronouns: "
msgstr "Pronoms : "
#: core/templates/core/user_detail.jinja:34
msgid "Department: "
msgstr "Département : "