From 24fcdbace848f8d663c4801010a5330a13e3da18 Mon Sep 17 00:00:00 2001
From: Lucas Brandstaetter <lucas@brandstaetter.tech>
Date: Sat, 7 Dec 2024 00:30:05 +0100
Subject: [PATCH] Fix typo in backoffice

---
 .project-dictionary.txt                       |  3 +++
 .../locale/de/LC_MESSAGES/django.po           | 22 +++++++++----------
 .../locale/en/LC_MESSAGES/django.po           | 20 ++++++++---------
 .../backoffice/assembly_vouchers.html         |  2 +-
 src/backoffice/views/mixins.py                |  2 +-
 5 files changed, 26 insertions(+), 23 deletions(-)

diff --git a/.project-dictionary.txt b/.project-dictionary.txt
index 055bb5fc5..57b8c2c4f 100644
--- a/.project-dictionary.txt
+++ b/.project-dictionary.txt
@@ -12,6 +12,7 @@ csrfmiddlewaretoken
 datatables
 dect
 derefer
+dereferrer
 Dereferrer
 Disclaimern
 Einlöseseite
@@ -26,6 +27,7 @@ gettz
 Habitatsbeitritt
 Habitatseinladung
 Habitatszuordnung
+Historieneintrag
 htmlhead
 jitsi
 JITSI
@@ -50,6 +52,7 @@ Registrierungsinformationen
 Registrierungsstart
 renderable
 Roang
+Screensharing
 Shadowbanned
 Shibboleet
 Vorlesungsraum
diff --git a/src/backoffice/locale/de/LC_MESSAGES/django.po b/src/backoffice/locale/de/LC_MESSAGES/django.po
index 1b28bba1e..a146e4932 100644
--- a/src/backoffice/locale/de/LC_MESSAGES/django.po
+++ b/src/backoffice/locale/de/LC_MESSAGES/django.po
@@ -232,7 +232,7 @@ msgid "Badge-renew"
 msgstr "Issuing Token erneuern"
 
 msgid "Badge-assign-api-explanation"
-msgstr "Alternativ kann das Badge auch über einen API-Aufruf einem Nutzer zugeordnet werden. Dazu wird ein Redeem Token und der Usernickname benötigt. Eine spezifische Erklärung ist im HowTo zu finden."
+msgstr "Alternativ kann das Badge auch über einen API-Aufruf einem Nutzer zugeordnet werden. Dazu wird ein Redeem Token und der User-Nickname benötigt. Eine spezifische Erklärung ist im HowTo zu finden."
 
 msgid "Badge__remove"
 msgstr "Badge entfernen"
@@ -492,7 +492,7 @@ msgid "Event__delete__submit_text"
 msgstr "Veranstaltung löschen"
 
 msgid "Event__slug"
-msgstr "Veranstaltungs Slug"
+msgstr "Veranstaltungs-Slug"
 
 msgid "Event"
 msgstr "Veranstaltung"
@@ -650,7 +650,7 @@ msgid "Room__links"
 msgstr "Links"
 
 msgid "RoomLink__introduction"
-msgstr "Hier können Links zu weiteren Inhalten angegeben werden. Bitte beachte, dass externe Inhalte eine Dereferer-Seite vorgeschaltet bekommen. Der Typ des Links wird für besondere Hervorhebungen und u.U. für direkte Einbettung von z.B. Audio- und Video-Streams benutzt."
+msgstr "Hier können Links zu weiteren Inhalten angegeben werden. Bitte beachte, dass externe Inhalte eine Dereferrer-Seite vorgeschaltet bekommen. Der Typ des Links wird für besondere Hervorhebungen und u.U. für direkte Einbettung von z.B. Audio- und Video-Streams benutzt."
 
 msgid "delete"
 msgstr "löschen"
@@ -698,7 +698,7 @@ msgstr "Hier könnte der Raum gelöscht werden, jedoch sind noch Veranstaltungen
 msgid "Vouchers"
 msgstr ""
 
-msgid "assemblyedit__vouchers__explaination"
+msgid "assemblyedit__vouchers__explanation"
 msgstr "Hier werden für Euch bestimmte Informationen der Orga gelistet, wie zum Beispiel individualisierte Links zu weiteren Systemen oder Zugangscodes. Bitte beachte, dass diese Informationen nicht öffentlich sind und auch nur Verantwortliche der Assembly diese sehen können."
 
 msgid "assemblyedit__vouchers__hidden_data"
@@ -1200,7 +1200,7 @@ msgid "PlatformUser__shadow_banned"
 msgstr ""
 
 msgid "BulletinBoardEntries"
-msgstr "Boardeinträge"
+msgstr "Board-Einträge"
 
 # use translation from core
 msgid "EventParticipant__is_accepted"
@@ -1773,7 +1773,7 @@ msgid "assemblyedit_position_wasnotpublished"
 msgstr "Die Assembly war gar nicht veröffentlicht?!"
 
 msgid "assemblyedit_position_unknownaction"
-msgstr "Unbekannte Aktion, Lokation wurde dennoch gespeichert."
+msgstr "Unbekannte Aktion, Position wurde dennoch gespeichert."
 
 msgid "assemblyedit_changedposition"
 msgstr "Position der Assembly wurde aktualisiert"
@@ -1897,24 +1897,24 @@ msgstr "Self-organized Session %(event_name)s gelöscht"
 
 #, python-format
 msgid "Invitation__updated__message %(requester)s %(requested)s"
-msgstr "Die Einldung von \"%(requester)s\" an \"%(requested)s\" ist aktualisiert worden"
+msgstr "Die Einladung von \"%(requester)s\" an \"%(requested)s\" ist aktualisiert worden"
 
 #, python-format
 msgid "Invitation__withdraw__message %(requester)s %(requested)s"
-msgstr "Die Einldung von \"%(requester)s\" an \"%(requested)s\" ist aktualisiert zurückgezogen worden"
+msgstr "Die Einladung von \"%(requester)s\" an \"%(requested)s\" ist aktualisiert zurückgezogen worden"
 
 #, python-format
 msgid "Invitation__accept__message %(requester)s %(requested)s"
-msgstr "Die Einldung von \"%(requester)s\" an \"%(requested)s\" ist akzeptiert worden"
+msgstr "Die Einladung von \"%(requester)s\" an \"%(requested)s\" ist akzeptiert worden"
 
 #, python-format
 msgid "Invitation__rejected__message %(requester)s %(requested)s"
-msgstr "Die Einldung von \"%(requester)s\" an \"%(requested)s\" ist abgelehnt worden"
+msgstr "Die Einladung von \"%(requester)s\" an \"%(requested)s\" ist abgelehnt worden"
 
 msgid "all"
 msgstr "alle"
 
-msgid "backoffice:assembly-organisational-data"
+msgid "backoffice:assembly-organizational-data"
 msgstr "Organisatorisches"
 
 msgid "backoffice:assembly-basic-data"
diff --git a/src/backoffice/locale/en/LC_MESSAGES/django.po b/src/backoffice/locale/en/LC_MESSAGES/django.po
index 061dec354..5853d4bfb 100644
--- a/src/backoffice/locale/en/LC_MESSAGES/django.po
+++ b/src/backoffice/locale/en/LC_MESSAGES/django.po
@@ -650,7 +650,7 @@ msgid "Room__links"
 msgstr "links"
 
 msgid "RoomLink__introduction"
-msgstr "Here you can add links to additional content. Please note that external content will have a dereferer (disclaimer) page in front of it. The link type is used for highlighting and/or direct embedding of e.g. audio and video streams."
+msgstr "Here you can add links to additional content. Please note that external content will have a dereferrer (disclaimer) page in front of it. The link type is used for highlighting and/or direct embedding of e.g. audio and video streams."
 
 msgid "delete"
 msgstr "delete"
@@ -674,7 +674,7 @@ msgid "Project__remove"
 msgstr "remove project"
 
 msgid "Room__remove__introduction"
-msgstr "This will remove the room so that it is not shown anywhere any more. Any backend ressources allocated will be freed."
+msgstr "This will remove the room so that it is not shown anywhere any more. Any backend resources allocated will be freed."
 
 msgid "Project__remove__introduction"
 msgstr "This removes this project and it will not be shown any more."
@@ -698,7 +698,7 @@ msgstr "Here you could remove the room if it hadn't at least one event assigned
 msgid "Vouchers"
 msgstr ""
 
-msgid "assemblyedit__vouchers__explaination"
+msgid "assemblyedit__vouchers__explanation"
 msgstr "Here you'll find information from the orga, e.g. individual links to other systems or access codes. Please note that these information are not public and only managing staff of your assembly is able to see it."
 
 msgid "assemblyedit__vouchers__hidden_data"
@@ -1330,7 +1330,7 @@ msgid "Room-new-bbb"
 msgstr "BigBlueButton"
 
 msgid "Room-new-bbb__help"
-msgstr "Create an online room for audio and video chat, whiteboard and screensharing capabilities."
+msgstr "Create an online room for audio and video chat, whiteboard and screen sharing capabilities."
 
 msgid "Room-new-bbb__create"
 msgstr "create"
@@ -1482,7 +1482,7 @@ msgid "Event__location"
 msgstr ""
 
 msgid "Event__room__none"
-msgstr "The selected room is not available (in the given timeframe)."
+msgstr "The selected room is not available (in the given time-frame)."
 
 msgid "Event__room__choose"
 msgstr "choose room"
@@ -1631,7 +1631,7 @@ msgid "assemblyedit_cfdateerror"
 msgstr "Field's value was not a valid date:"
 
 msgid "assemblyedit_cfdaterangeerror"
-msgstr "The chosen date was outside the allowed timeframe, it has been modified to fit:"
+msgstr "The chosen date was outside the allowed time-frame, it has been modified to fit:"
 
 msgid "assemblyedit_cfoption_missingdetails"
 msgstr "missing details on a field:"
@@ -1720,7 +1720,7 @@ msgstr "Could not remove the room as it has at least one event assigned to it. P
 
 #, python-format
 msgid "Room__remove__success %s"
-msgstr "The romme '%s' was removed!"
+msgstr "The room '%s' was removed!"
 
 msgid "nav_assemblies_all"
 msgstr "all"
@@ -1851,7 +1851,7 @@ msgid "Conference__recall__success"
 msgstr "Conference was successfully recalled."
 
 msgid "Conference__create__success"
-msgstr "Conference was successfully crewated."
+msgstr "Conference was successfully created."
 
 msgid "Conference__update__success"
 msgstr "Conference was successfully updated."
@@ -1919,8 +1919,8 @@ msgstr "The invitation from \"%(requester)s\" to \"%(requested)s\" has been reje
 msgid "all"
 msgstr "all"
 
-msgid "backoffice:assembly-organisational-data"
-msgstr "Organisational Data"
+msgid "backoffice:assembly-organizational-data"
+msgstr "Organizational Data"
 
 msgid "backoffice:assembly-basic-data"
 msgstr "Basic Data"
diff --git a/src/backoffice/templates/backoffice/assembly_vouchers.html b/src/backoffice/templates/backoffice/assembly_vouchers.html
index 746544a45..51398ca4e 100644
--- a/src/backoffice/templates/backoffice/assembly_vouchers.html
+++ b/src/backoffice/templates/backoffice/assembly_vouchers.html
@@ -13,7 +13,7 @@
     <div class="col-md-12">
       <div class="card border-default">
         <div class="card-header bg-default">{% trans "Vouchers" %}</div>
-        <div class="card-body">{% trans "assemblyedit__vouchers__explaination" %}</div>
+        <div class="card-body">{% trans "assemblyedit__vouchers__explanation" %}</div>
       </div>
     </div>
   </div>
diff --git a/src/backoffice/views/mixins.py b/src/backoffice/views/mixins.py
index f03b7c9a1..53e4abd09 100644
--- a/src/backoffice/views/mixins.py
+++ b/src/backoffice/views/mixins.py
@@ -234,7 +234,7 @@ class AssemblyMixinBase:
                 context['sidebar']['back_link'] = {'link': assembly_back['link'], 'caption': assembly_back['title']}
 
         organisation = []
-        sidebar.append({'caption': _('backoffice:assembly-organisational-data'), 'children': organisation})
+        sidebar.append({'caption': _('backoffice:assembly-organizational-data'), 'children': organisation})
         organisation.append(
             {
                 'caption': _('backoffice:assembly-basic-data'),
-- 
GitLab