···24242525USERNAME_REGEX_FIELD = forms.RegexField(
2626 required=True,
2727- label='Username',
2727+ label=_('Username'),
2828 max_length=50,
2929 regex=r'^[a-zA-Z0-9-_@]+$',
3030 error_messages={
···55555656 if password != password_confirm:
5757 raise forms.ValidationError(
5858- "Password and Confirm Password do not match."
5858+ _("Password and Confirm Password do not match.")
5959 )
6060 if len(password) < 10:
6161 raise forms.ValidationError(
6262- "Password must be at least 10 characters long."
6262+ _("Password must be at least 10 characters long.")
6363 )
64646565 if PawUser.objects.filter(username=cleaned_data.get("username")).exists():
6666 raise forms.ValidationError(
6767- "An account with this username already exists."
6767+ _("An account with this username already exists.")
6868 )
6969 if PawUser.objects.filter(email=cleaned_data.get("email")).exists():
7070 raise forms.ValidationError(
7171- "An account with this email already exists."
7171+ _("An account with this email already exists.")
7272 )
7373 return cleaned_data
7474···85858686 if PawUser.objects.filter(username=cleaned_data.get("username")).exists():
8787 raise forms.ValidationError(
8888- "An account with this username already exists"
8888+ _("An account with this username already exists")
8989 )
90909191 return cleaned_data
paw/locale/de/LC_MESSAGES/django.mo
This is a binary file and will not be displayed.
+44-16
paw/locale/de/LC_MESSAGES/django.po
···88msgstr ""
99"Project-Id-Version: PACKAGE VERSION\n"
1010"Report-Msgid-Bugs-To: \n"
1111-"POT-Creation-Date: 2024-03-25 11:47+0000\n"
1111+"POT-Creation-Date: 2024-04-07 16:31+0000\n"
1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414"Language-Team: LANGUAGE <LL@li.org>\n"
···1818"Content-Transfer-Encoding: 8bit\n"
1919"Plural-Forms: nplurals=2; plural=(n != 1);\n"
20202121+#: core/forms.py:27 core/forms.py:35 paw/templates/core/account_finish.html:33
2222+#: paw/templates/core/login.html:24 paw/templates/core/register.html:24
2323+msgid "Username"
2424+msgstr "Benutzername"
2525+2126#: core/forms.py:31
2222-msgid "Please enter your name"
2727+#, fuzzy
2828+#| msgid "Please enter your name"
2929+msgid "Please enter a username"
2330msgstr "Gib bitte deinen Namen an"
24312532#: core/forms.py:32
3333+#, fuzzy
3434+#| msgid ""
3535+#| "Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, "
3636+#| "@)"
2637msgid ""
2727-"Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, @)"
2828-msgstr "Nur Alphanumerische Zeichen, Unterstriche und Striche (a-z, 0-9, _, -, @)"
3838+"Username can only have alphanumeric characters and underscores and dashes (a-"
3939+"z, 0-9, _, -, @)"
4040+msgstr ""
4141+"Nur Alphanumerische Zeichen, Unterstriche und Striche (a-z, 0-9, _, -, @)"
29423030-#: core/forms.py:35 paw/templates/core/account_finish.html:29
3131-#: paw/templates/core/login.html:24 paw/templates/core/register.html:20
3232-msgid "Username"
3333-msgstr "Benutzername"
4343+#: core/forms.py:58
4444+msgid "Password and Confirm Password do not match."
4545+msgstr ""
4646+4747+#: core/forms.py:62
4848+msgid "Password must be at least 10 characters long."
4949+msgstr ""
5050+5151+#: core/forms.py:67
5252+msgid "An account with this username already exists."
5353+msgstr ""
5454+5555+#: core/forms.py:71
5656+msgid "An account with this email already exists."
5757+msgstr ""
5858+5959+#: core/forms.py:88
6060+msgid "An account with this username already exists"
6161+msgstr ""
34623563#: core/models.py:30
3664msgid "Google SSO User"
···73101msgid "Done"
74102msgstr "Fertig"
751037676-#: paw/templates/core/account_finish.html:34
104104+#: paw/templates/core/account_finish.html:38
77105#: paw/templates/core/settings.html:55
78106msgid "Save"
79107msgstr "Speichern"
···86114msgid "Register Account"
87115msgstr "Account erstellen"
881168989-#: paw/templates/core/login.html:30 paw/templates/core/register.html:32
117117+#: paw/templates/core/login.html:30 paw/templates/core/register.html:36
90118msgid "Password"
91119msgstr "Passwort"
92120···98126msgid "Log in with Google"
99127msgstr "Mit Google anmelden"
100128101101-#: paw/templates/core/register.html:26
129129+#: paw/templates/core/register.html:30
102130#, fuzzy
103131#| msgid "Mail Address"
104132msgid "Email Address"
105133msgstr "Mail Adresse"
106134107107-#: paw/templates/core/register.html:38
135135+#: paw/templates/core/register.html:42
108136msgid "Confirm Password"
109137msgstr "Passwort bestätigen"
110138111111-#: paw/templates/core/register.html:43
139139+#: paw/templates/core/register.html:47
112140#, fuzzy
113141#| msgid "Register Account"
114142msgid "Register"
···166194msgid "Unassigned"
167195msgstr "Nicht zugewiesen"
168196169169-#: paw/templates/partials/ticket_priority_badge.html:3 ticketing/models.py:45
197197+#: paw/templates/partials/ticket_priority_badge.html:4 ticketing/models.py:45
170198msgid "Low"
171199msgstr "Niedrig"
172200173173-#: paw/templates/partials/ticket_priority_badge.html:5 ticketing/models.py:46
201201+#: paw/templates/partials/ticket_priority_badge.html:6 ticketing/models.py:46
174202msgid "Medium"
175203msgstr "Mittel"
176204177177-#: paw/templates/partials/ticket_priority_badge.html:7 ticketing/models.py:47
205205+#: paw/templates/partials/ticket_priority_badge.html:8 ticketing/models.py:47
178206msgid "High"
179207msgstr "Hoch"
180208
+35-14
paw/locale/en/LC_MESSAGES/django.po
···88msgstr ""
99"Project-Id-Version: PACKAGE VERSION\n"
1010"Report-Msgid-Bugs-To: \n"
1111-"POT-Creation-Date: 2024-03-25 11:47+0000\n"
1111+"POT-Creation-Date: 2024-04-07 16:31+0000\n"
1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414"Language-Team: LANGUAGE <LL@li.org>\n"
···1717"Content-Type: text/plain; charset=UTF-8\n"
1818"Content-Transfer-Encoding: 8bit\n"
1919"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2020+2121+#: core/forms.py:27 core/forms.py:35 paw/templates/core/account_finish.html:33
2222+#: paw/templates/core/login.html:24 paw/templates/core/register.html:24
2323+msgid "Username"
2424+msgstr ""
20252126#: core/forms.py:31
2222-msgid "Please enter your name"
2727+msgid "Please enter a username"
2328msgstr ""
24292530#: core/forms.py:32
2631msgid ""
2727-"Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, @)"
3232+"Username can only have alphanumeric characters and underscores and dashes (a-"
3333+"z, 0-9, _, -, @)"
3434+msgstr ""
3535+3636+#: core/forms.py:58
3737+msgid "Password and Confirm Password do not match."
3838+msgstr ""
3939+4040+#: core/forms.py:62
4141+msgid "Password must be at least 10 characters long."
4242+msgstr ""
4343+4444+#: core/forms.py:67
4545+msgid "An account with this username already exists."
4646+msgstr ""
4747+4848+#: core/forms.py:71
4949+msgid "An account with this email already exists."
2850msgstr ""
29513030-#: core/forms.py:35 paw/templates/core/account_finish.html:29
3131-#: paw/templates/core/login.html:24 paw/templates/core/register.html:20
3232-msgid "Username"
5252+#: core/forms.py:88
5353+msgid "An account with this username already exists"
3354msgstr ""
34553556#: core/models.py:30
···7394msgid "Done"
7495msgstr ""
75967676-#: paw/templates/core/account_finish.html:34
9797+#: paw/templates/core/account_finish.html:38
7798#: paw/templates/core/settings.html:55
7899msgid "Save"
79100msgstr ""
···86107msgid "Register Account"
87108msgstr ""
881098989-#: paw/templates/core/login.html:30 paw/templates/core/register.html:32
110110+#: paw/templates/core/login.html:30 paw/templates/core/register.html:36
90111msgid "Password"
91112msgstr ""
92113···98119msgid "Log in with Google"
99120msgstr ""
100121101101-#: paw/templates/core/register.html:26
122122+#: paw/templates/core/register.html:30
102123msgid "Email Address"
103124msgstr ""
104125105105-#: paw/templates/core/register.html:38
126126+#: paw/templates/core/register.html:42
106127msgid "Confirm Password"
107128msgstr ""
108129109109-#: paw/templates/core/register.html:43
130130+#: paw/templates/core/register.html:47
110131msgid "Register"
111132msgstr ""
112133···164185msgid "Unassigned"
165186msgstr ""
166187167167-#: paw/templates/partials/ticket_priority_badge.html:3 ticketing/models.py:45
188188+#: paw/templates/partials/ticket_priority_badge.html:4 ticketing/models.py:45
168189msgid "Low"
169190msgstr ""
170191171171-#: paw/templates/partials/ticket_priority_badge.html:5 ticketing/models.py:46
192192+#: paw/templates/partials/ticket_priority_badge.html:6 ticketing/models.py:46
172193msgid "Medium"
173194msgstr ""
174195175175-#: paw/templates/partials/ticket_priority_badge.html:7 ticketing/models.py:47
196196+#: paw/templates/partials/ticket_priority_badge.html:8 ticketing/models.py:47
176197msgid "High"
177198msgstr ""
178199
paw/locale/fr/LC_MESSAGES/django.mo
This is a binary file and will not be displayed.
+35-14
paw/locale/fr/LC_MESSAGES/django.po
···88msgstr ""
99"Project-Id-Version: PACKAGE VERSION\n"
1010"Report-Msgid-Bugs-To: \n"
1111-"POT-Creation-Date: 2024-03-25 11:47+0000\n"
1111+"POT-Creation-Date: 2024-04-07 16:31+0000\n"
1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414"Language-Team: LANGUAGE <LL@li.org>\n"
···1717"Content-Type: text/plain; charset=UTF-8\n"
1818"Content-Transfer-Encoding: 8bit\n"
1919"Plural-Forms: nplurals=2; plural=(n > 1);\n"
2020+2121+#: core/forms.py:27 core/forms.py:35 paw/templates/core/account_finish.html:33
2222+#: paw/templates/core/login.html:24 paw/templates/core/register.html:24
2323+msgid "Username"
2424+msgstr ""
20252126#: core/forms.py:31
2222-msgid "Please enter your name"
2727+msgid "Please enter a username"
2328msgstr ""
24292530#: core/forms.py:32
2631msgid ""
2727-"Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, @)"
3232+"Username can only have alphanumeric characters and underscores and dashes (a-"
3333+"z, 0-9, _, -, @)"
3434+msgstr "Les noms d’utilisateurs ne peuvent contenir que des caractères alphanumériques, ainsi que des tirets ou des tirets du bas. (a-z, 0-9, -, _, @)"
3535+3636+#: core/forms.py:58
3737+msgid "Password and Confirm Password do not match."
3838+msgstr ""
3939+4040+#: core/forms.py:62
4141+msgid "Password must be at least 10 characters long."
4242+msgstr ""
4343+4444+#: core/forms.py:67
4545+msgid "An account with this username already exists."
4646+msgstr ""
4747+4848+#: core/forms.py:71
4949+msgid "An account with this email already exists."
2850msgstr ""
29513030-#: core/forms.py:35 paw/templates/core/account_finish.html:29
3131-#: paw/templates/core/login.html:24 paw/templates/core/register.html:20
3232-msgid "Username"
5252+#: core/forms.py:88
5353+msgid "An account with this username already exists"
3354msgstr ""
34553556#: core/models.py:30
···7394msgid "Done"
7495msgstr ""
75967676-#: paw/templates/core/account_finish.html:34
9797+#: paw/templates/core/account_finish.html:38
7798#: paw/templates/core/settings.html:55
7899msgid "Save"
79100msgstr "Enregistrer"
···86107msgid "Register Account"
87108msgstr ""
881098989-#: paw/templates/core/login.html:30 paw/templates/core/register.html:32
110110+#: paw/templates/core/login.html:30 paw/templates/core/register.html:36
90111msgid "Password"
91112msgstr ""
92113···98119msgid "Log in with Google"
99120msgstr ""
100121101101-#: paw/templates/core/register.html:26
122122+#: paw/templates/core/register.html:30
102123#, fuzzy
103124#| msgid "Mail Address"
104125msgid "Email Address"
105126msgstr "Adresse e-mail"
106127107107-#: paw/templates/core/register.html:38
128128+#: paw/templates/core/register.html:42
108129msgid "Confirm Password"
109130msgstr ""
110131111111-#: paw/templates/core/register.html:43
132132+#: paw/templates/core/register.html:47
112133msgid "Register"
113134msgstr ""
114135···164185msgid "Unassigned"
165186msgstr "Non attribué"
166187167167-#: paw/templates/partials/ticket_priority_badge.html:3 ticketing/models.py:45
188188+#: paw/templates/partials/ticket_priority_badge.html:4 ticketing/models.py:45
168189msgid "Low"
169190msgstr ""
170191171171-#: paw/templates/partials/ticket_priority_badge.html:5 ticketing/models.py:46
192192+#: paw/templates/partials/ticket_priority_badge.html:6 ticketing/models.py:46
172193msgid "Medium"
173194msgstr ""
174195175175-#: paw/templates/partials/ticket_priority_badge.html:7 ticketing/models.py:47
196196+#: paw/templates/partials/ticket_priority_badge.html:8 ticketing/models.py:47
176197msgid "High"
177198msgstr ""
178199