Skip to content

Commit

Permalink
Merge pull request #16 from aottr/feature/minor-updates
Browse files Browse the repository at this point in the history
Feature/minor updates
  • Loading branch information
aottr authored Apr 13, 2024
2 parents 30dab5b + 76078d1 commit 528ec78
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 3,875 deletions.
4 changes: 2 additions & 2 deletions core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ def get_template(cls, event, language='en'):
template = cls.objects.filter(event=event, language='en').first()
return template

def send_mail(self, to, context):
def send_mail(self, to_list: list[str], context):
try:
send_mail(
self.subject.format(**context),
self.content.format(**context),
settings.DEFAULT_FROM_EMAIL,
[to],
to_list,
fail_silently=False,
)
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion paw/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django import get_version

PAW_VERSION = (0, 5, 10, "final", 0)
PAW_VERSION = (0, 5, 11, "final", 0)

__version__ = get_version(PAW_VERSION)
Binary file modified paw/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
8 changes: 4 additions & 4 deletions paw/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,19 @@ msgstr ""

#: paw/settings.py:133
msgid "English"
msgstr ""
msgstr "English"

#: paw/settings.py:134
msgid "French"
msgstr ""
msgstr "Français"

#: paw/settings.py:135
msgid "German"
msgstr ""
msgstr "Deutsch"

#: paw/settings.py:136
msgid "Dutch"
msgstr ""
msgstr "Nederlands"

#: paw/templates/base.html:20 paw/templates/dashboard_base.html:40
msgid "Tickets"
Expand Down
Binary file modified paw/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion paw/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgstr "Deutsch"

#: paw/settings.py:136
msgid "Dutch"
msgstr ""
msgstr "Nederlands"

#: paw/templates/base.html:20 paw/templates/dashboard_base.html:40
msgid "Tickets"
Expand Down
Binary file modified paw/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
10 changes: 5 additions & 5 deletions paw/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ msgstr "Utilisateur Google SSO"

#: paw/settings.py:133
msgid "English"
msgstr "Anglais"
msgstr "English"

#: paw/settings.py:134
msgid "French"
msgstr "Français"

#: paw/settings.py:135
msgid "German"
msgstr "Allemand"
msgstr "Deutsch"

#: paw/settings.py:136
msgid "Dutch"
msgstr ""
msgstr "Nederlands"

#: paw/templates/base.html:20 paw/templates/dashboard_base.html:40
msgid "Tickets"
Expand Down Expand Up @@ -274,7 +274,7 @@ msgstr "Ajouter un commentaire"

#: paw/templates/ticketing/ticket_detail.html:98
msgid "Close Ticket"
msgstr "Nouveau ticket"
msgstr "Fermer"

#: paw/templates/ticketing/ticket_detail.html:107
msgid "Make this an internal comment"
Expand Down Expand Up @@ -340,7 +340,7 @@ msgstr "pour"
#: paw/templates/ticketing/tickets.html:18
#: paw/templates/ticketing/tickets_history.html:18
msgid "Assigned to"
msgstr "Me l'attribuer"
msgstr "Attribué à"

#: paw/templates/ticketing/tickets.html:27
#: paw/templates/ticketing/tickets_history.html:27
Expand Down
Binary file modified paw/locale/nl/LC_MESSAGES/django.mo
Binary file not shown.
6 changes: 3 additions & 3 deletions paw/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ msgstr "Google SSO Gebruiker"

#: paw/settings.py:133
msgid "English"
msgstr "Engels"
msgstr "English"

#: paw/settings.py:134
msgid "French"
msgstr "Frans"
msgstr "Français"

#: paw/settings.py:135
msgid "German"
msgstr "Duits"
msgstr "Deutsch"

#: paw/settings.py:136
msgid "Dutch"
Expand Down
Loading

0 comments on commit 528ec78

Please sign in to comment.