Skip to content
Snippets Groups Projects
Commit 7bb4f294 authored by Roang's avatar Roang
Browse files

Add invitation model to the translation system

parent 30ef4db5
No related branches found
No related tags found
No related merge requests found
......@@ -1170,6 +1170,12 @@ msgstr "Team Mitglied"
msgid "Habitat"
msgstr "Habitatszuordnung"
msgid "Invitation__name"
msgstr "Einladung"
msgid "Invitation__name__plural"
msgstr "Einladungen"
msgid "Invitation__comment"
msgstr "Kommentar"
......
......@@ -1170,6 +1170,12 @@ msgstr "Team member"
msgid "Habitat"
msgstr "Habitat assignment"
msgid "Invitation__name"
msgstr "invitation"
msgid "Invitation__name__plural"
msgstr "invitations"
msgid "Invitation__comment"
msgstr "comment"
......
# Generated by Django 5.1.3 on 2024-11-30 12:58
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("core", "0162_remove_workadventure"),
]
operations = [
migrations.AlterModelOptions(
name="invitation",
options={
"verbose_name": "Invitation__name",
"verbose_name_plural": "Invitation__name__plural",
},
),
]
......@@ -95,6 +95,8 @@ class Invitation(models.Model):
models.Index(fields=['requester_type', 'requester_id'], name='requester_idx'),
models.Index(fields=['requested_type', 'requested_id'], name='requested_idx'),
]
verbose_name = _('Invitation__name')
verbose_name_plural = _('Invitation__name__plural')
# Make the enums available through the class
InvitationType = InvitationType
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment