mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
Fixed locales
+Pronoun description on the user's profile Signed-off-by: Ailé <03ht@theodurr.fr>
This commit is contained in:
parent
c66e4232b9
commit
b8aabc466c
18
core/migrations/0037_auto_20211105_1708.py
Normal file
18
core/migrations/0037_auto_20211105_1708.py
Normal 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'),
|
||||||
|
),
|
||||||
|
]
|
@ -26,7 +26,7 @@
|
|||||||
<div id="user_profile_infos_items">
|
<div id="user_profile_infos_items">
|
||||||
{% if profile.pronouns %}
|
{% if profile.pronouns %}
|
||||||
<div>
|
<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>
|
<span class="user_profile_infos_item_value">{{ profile.pronouns }}</span>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -2071,8 +2071,8 @@ msgid "Woman"
|
|||||||
msgstr "Femme"
|
msgstr "Femme"
|
||||||
|
|
||||||
#:core/models.py:232
|
#:core/models.py:232
|
||||||
msgid "Pronouns"
|
msgid "pronouns"
|
||||||
msgstr "Pronoms"
|
msgstr "pronoms"
|
||||||
|
|
||||||
#: core/models.py:209
|
#: core/models.py:209
|
||||||
msgid "tshirt size"
|
msgid "tshirt size"
|
||||||
@ -3112,6 +3112,10 @@ msgstr "Profil de %(user_name)s"
|
|||||||
msgid "Born: "
|
msgid "Born: "
|
||||||
msgstr "Né le : "
|
msgstr "Né le : "
|
||||||
|
|
||||||
|
#: core/templates/core/user_detail.jinja:27
|
||||||
|
msgid "Pronouns: "
|
||||||
|
msgstr "Pronoms : "
|
||||||
|
|
||||||
#: core/templates/core/user_detail.jinja:34
|
#: core/templates/core/user_detail.jinja:34
|
||||||
msgid "Department: "
|
msgid "Department: "
|
||||||
msgstr "Département : "
|
msgstr "Département : "
|
||||||
|
Loading…
Reference in New Issue
Block a user