+
+ {% translate "Informasjon om opptaket" as trans_application %}
+ {% include "website/page_overviews/content_title.html" with title=trans_application %}
+
+ {% translate "Arrangementer" as trans_events %}
+ {% include "website/page_overviews/content_title.html" with title=trans_events %}
{% include "news/_list_admin_banner.html" %}
{% if drafts %}
+ {% translate "Nyheter" as news %}
+ {% include "website/page_overviews/content_title.html" with title=news %}
{% include "news/_list_admin_banner.html" %}
{% if drafts %}
+ {% translate "Prosjektarkiv" as trans_projectarchive %}
+ {% include "website/page_overviews/content_title.html" with title=trans_projectarchive %}
{% include "projectarchive/_list_admin_banner.html" %}
{% if drafts %}
{% trans "Vaktlisten gir en oversikt over når verkstedet er åpent og bemannet, og hva slags kompetanse de vakthavende har" %}.
-
-
-
-
+ {% translate "Vaktliste" as trans_watchlist %}
+ {% translate "Vaktlisten gir en oversikt over når verkstedet er åpent og bemannet, og hva slags kompetanse de vakthavende har" as trans_watchlist_description %}
+ {% include "website/page_overviews/content_title.html" with title=trans_watchlist description=trans_watchlist_description %}
{% if perms.watchlist.delete_shiftslot %}
{% include "watchlist/_watchlist_admin_banner.html" %}
diff --git a/website/templates/website/about.html b/website/templates/website/about.html
index 530b52873..8310c1d54 100644
--- a/website/templates/website/about.html
+++ b/website/templates/website/about.html
@@ -2,15 +2,9 @@
{% load static %}
{% load i18n %}
{% block content %}
-
-
-
-
-
{% trans "Om Hackerspace NTNU" %}
-
-
-
-
+ {% translate "Om Hackerspace NTNU" as trans_about_hs %}
+ {% include "website/page_overviews/content_title.html" with title=trans_about_hs %}
+
diff --git a/website/templates/website/page_overviews/content_title.html b/website/templates/website/page_overviews/content_title.html
new file mode 100644
index 000000000..bebb39952
--- /dev/null
+++ b/website/templates/website/page_overviews/content_title.html
@@ -0,0 +1,10 @@
+
{%trans "Nøvendig informasjon og regler for bruk av verkstedet og diverse utstyr" %}
-
-
-
-
+ {% translate "Regler" as trans_rules %}
+ {% translate "Nøvendig informasjon og regler for bruk av verkstedet og diverse utstyr" as trans_rules_desc %}
+ {% include "website/page_overviews/content_title.html" with title=trans_rules description=trans_rules_desc %}
+
From a054a192fd2fba28b9ed8cc85b723439313e9c98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carl=20G=C3=BCtzkow?=
<70779496+CJGutz@users.noreply.github.com>
Date: Sat, 24 Feb 2024 11:10:59 +0100
Subject: [PATCH 02/15] regenerate locale text
---
applications/locale/en/LC_MESSAGES/django.po | 44 +++++++++----------
applications/locale/nb/LC_MESSAGES/django.po | 44 +++++++++----------
files/locale/en/LC_MESSAGES/django.po | 2 +-
files/locale/nb/LC_MESSAGES/django.po | 2 +-
.../locale/en/LC_MESSAGES/django.po | 28 ++++++------
.../locale/nb/LC_MESSAGES/django.po | 28 ++++++------
inventory/locale/en/LC_MESSAGES/django.po | 2 +-
inventory/locale/nb/LC_MESSAGES/django.po | 2 +-
news/locale/en/LC_MESSAGES/django.po | 10 ++---
news/locale/nb/LC_MESSAGES/django.po | 10 ++---
.../locale/en/LC_MESSAGES/django.po | 4 +-
.../locale/nb/LC_MESSAGES/django.po | 4 +-
reservations/locale/en/LC_MESSAGES/django.po | 2 +-
reservations/locale/nb/LC_MESSAGES/django.po | 2 +-
userprofile/locale/en/LC_MESSAGES/django.po | 2 +-
userprofile/locale/nb/LC_MESSAGES/django.po | 2 +-
watchlist/locale/en/LC_MESSAGES/django.po | 36 ++++++++-------
watchlist/locale/nb/LC_MESSAGES/django.po | 36 ++++++++-------
website/locale/en/LC_MESSAGES/django.po | 38 ++++++++--------
website/locale/nb/LC_MESSAGES/django.po | 38 ++++++++--------
20 files changed, 172 insertions(+), 164 deletions(-)
diff --git a/applications/locale/en/LC_MESSAGES/django.po b/applications/locale/en/LC_MESSAGES/django.po
index a38247840..19a42ae4f 100644
--- a/applications/locale/en/LC_MESSAGES/django.po
+++ b/applications/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,23 +18,23 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: applications/templates/applications/application_info.html:9
+#: applications/templates/applications/application_info.html:6
msgid "Informasjon om opptaket"
msgstr "Information about the admission"
-#: applications/templates/applications/application_info.html:20
+#: applications/templates/applications/application_info.html:15
msgid "Gå til søknad"
msgstr "Go to application"
-#: applications/templates/applications/application_info.html:29
+#: applications/templates/applications/application_info.html:24
msgid "Praktisk informasjon om medlemskap"
msgstr "Practical information about membership"
-#: applications/templates/applications/application_info.html:30
+#: applications/templates/applications/application_info.html:25
msgid "Tusen takk for din interesse!"
msgstr "Thank you very much for your interest!"
-#: applications/templates/applications/application_info.html:31
+#: applications/templates/applications/application_info.html:26
msgid ""
"På denne nettsiden får du informasjon om medlemskap og gruppene i "
"Hackerspace."
@@ -42,7 +42,7 @@ msgstr ""
"On this website, you will find information about membership and the groups "
"in Hackerspace."
-#: applications/templates/applications/application_info.html:32
+#: applications/templates/applications/application_info.html:27
msgid ""
"Dersom du blir tatt opp i en av våre grupper, blir du selvsagt også medlem "
"av Hackerspace."
@@ -50,11 +50,11 @@ msgstr ""
"If you are accepted into one of our groups, you will naturally become a "
"member of Hackerspace as well."
-#: applications/templates/applications/application_info.html:33
+#: applications/templates/applications/application_info.html:28
msgid "Erfaring"
msgstr "Experience"
-#: applications/templates/applications/application_info.html:34
+#: applications/templates/applications/application_info.html:29
msgid ""
"Man trenger ikke være en verdensmester for å søke i Hackerspace. Både "
"nybegynnere og viderekommende er velkommen til å søke hos oss. Vi er først "
@@ -68,11 +68,11 @@ msgstr ""
"Hackerspace will be trained in the most commonly used equipment in our "
"workshop, with specific training for the group they join."
-#: applications/templates/applications/application_info.html:35
+#: applications/templates/applications/application_info.html:30
msgid "Vaktlisten"
msgstr "Shift Schedule"
-#: applications/templates/applications/application_info.html:37
+#: applications/templates/applications/application_info.html:32
msgid ""
"Alle medlemmer av Hackerspace er med på å holde verkstedet åpent. På vakt "
"hjelper du nysgjerrige studenter som stikker innom og vil bruke utstyret "
@@ -87,11 +87,11 @@ msgstr ""
"socializing with others in the workshop during your shift. Each member is "
"scheduled for two hours per week."
-#: applications/templates/applications/application_info.html:39
+#: applications/templates/applications/application_info.html:34
msgid "Stander"
msgstr "Stands"
-#: applications/templates/applications/application_info.html:41
+#: applications/templates/applications/application_info.html:36
msgid ""
"Du har kanskje møtt Hackerspace på stand på NTNU? Det er fordi Hackerspace "
"står mye på stand for å spre ordet om hvem vi er og hva vi gjør. Dette er "
@@ -101,26 +101,26 @@ msgstr ""
"Hackerspace often sets up stands to spread the word about who we are and "
"what we do. This is something everyone in Hackerspace participates in."
-#: applications/templates/applications/application_info.html:52
+#: applications/templates/applications/application_info.html:47
msgid "Hovedgrupper"
msgstr "Main Groups"
-#: applications/templates/applications/application_info.html:53
+#: applications/templates/applications/application_info.html:48
msgid "Under finner du informasjon om hovedgruppene som har opptak nå"
msgstr ""
"Below you will find information about the main groups currently open for "
"admission"
-#: applications/templates/applications/application_info.html:65
-#: applications/templates/applications/application_info.html:92
+#: applications/templates/applications/application_info.html:60
+#: applications/templates/applications/application_info.html:87
msgid "Ingen grupper lagt til i opptaket."
msgstr "No groups added to the admission process."
-#: applications/templates/applications/application_info.html:76
+#: applications/templates/applications/application_info.html:71
msgid "Prosjektgruppene"
msgstr "Project Groups"
-#: applications/templates/applications/application_info.html:77
+#: applications/templates/applications/application_info.html:72
msgid ""
"Prosjektgruppene gjennomfører en rekke prosjekter som varierer fra år til "
"år. Prosjektene varer som oftest i to semestre."
@@ -128,7 +128,7 @@ msgstr ""
"The project groups carry out a variety of projects that vary from year to "
"year. Projects usually last for two semesters."
-#: applications/templates/applications/application_info.html:78
+#: applications/templates/applications/application_info.html:73
msgid ""
"Som medlem av en prosjektgruppe jobber du konkret på et prosjekt sammen med "
"andre på gruppen."
@@ -136,7 +136,7 @@ msgstr ""
"As a member of a project group, you work actively on a project alongside "
"others in the group."
-#: applications/templates/applications/application_info.html:79
+#: applications/templates/applications/application_info.html:74
msgid ""
"Om du har forslag til noen andre prosjekter, kan dette sendes med et "
"søknadsskjema."
@@ -144,7 +144,7 @@ msgstr ""
"If you have suggestions for other projects, you can include them in your "
"application."
-#: applications/templates/applications/application_info.html:80
+#: applications/templates/applications/application_info.html:75
msgid "Under finner du informasjon om prosjektene som har opptak nå."
msgstr ""
"Below you will find information about the projects currently open for "
diff --git a/applications/locale/nb/LC_MESSAGES/django.po b/applications/locale/nb/LC_MESSAGES/django.po
index c5ea688a4..e61c07b6d 100644
--- a/applications/locale/nb/LC_MESSAGES/django.po
+++ b/applications/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,39 +18,39 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: applications/templates/applications/application_info.html:9
+#: applications/templates/applications/application_info.html:6
msgid "Informasjon om opptaket"
msgstr ""
-#: applications/templates/applications/application_info.html:20
+#: applications/templates/applications/application_info.html:15
msgid "Gå til søknad"
msgstr ""
-#: applications/templates/applications/application_info.html:29
+#: applications/templates/applications/application_info.html:24
msgid "Praktisk informasjon om medlemskap"
msgstr ""
-#: applications/templates/applications/application_info.html:30
+#: applications/templates/applications/application_info.html:25
msgid "Tusen takk for din interesse!"
msgstr ""
-#: applications/templates/applications/application_info.html:31
+#: applications/templates/applications/application_info.html:26
msgid ""
"På denne nettsiden får du informasjon om medlemskap og gruppene i "
"Hackerspace."
msgstr ""
-#: applications/templates/applications/application_info.html:32
+#: applications/templates/applications/application_info.html:27
msgid ""
"Dersom du blir tatt opp i en av våre grupper, blir du selvsagt også medlem "
"av Hackerspace."
msgstr ""
-#: applications/templates/applications/application_info.html:33
+#: applications/templates/applications/application_info.html:28
msgid "Erfaring"
msgstr ""
-#: applications/templates/applications/application_info.html:34
+#: applications/templates/applications/application_info.html:29
msgid ""
"Man trenger ikke være en verdensmester for å søke i Hackerspace. Både "
"nybegynnere og viderekommende er velkommen til å søke hos oss. Vi er først "
@@ -59,11 +59,11 @@ msgid ""
"verkstedet, og spesifikk kursing for gruppen de blir med i."
msgstr ""
-#: applications/templates/applications/application_info.html:35
+#: applications/templates/applications/application_info.html:30
msgid "Vaktlisten"
msgstr ""
-#: applications/templates/applications/application_info.html:37
+#: applications/templates/applications/application_info.html:32
msgid ""
"Alle medlemmer av Hackerspace er med på å holde verkstedet åpent. På vakt "
"hjelper du nysgjerrige studenter som stikker innom og vil bruke utstyret "
@@ -72,53 +72,53 @@ msgid ""
"Alle medlemmer sitter to timer på vakt i uken."
msgstr ""
-#: applications/templates/applications/application_info.html:39
+#: applications/templates/applications/application_info.html:34
msgid "Stander"
msgstr ""
-#: applications/templates/applications/application_info.html:41
+#: applications/templates/applications/application_info.html:36
msgid ""
"Du har kanskje møtt Hackerspace på stand på NTNU? Det er fordi Hackerspace "
"står mye på stand for å spre ordet om hvem vi er og hva vi gjør. Dette er "
"noe alle i Hackerspace er med på."
msgstr ""
-#: applications/templates/applications/application_info.html:52
+#: applications/templates/applications/application_info.html:47
msgid "Hovedgrupper"
msgstr ""
-#: applications/templates/applications/application_info.html:53
+#: applications/templates/applications/application_info.html:48
msgid "Under finner du informasjon om hovedgruppene som har opptak nå"
msgstr ""
-#: applications/templates/applications/application_info.html:65
-#: applications/templates/applications/application_info.html:92
+#: applications/templates/applications/application_info.html:60
+#: applications/templates/applications/application_info.html:87
msgid "Ingen grupper lagt til i opptaket."
msgstr ""
-#: applications/templates/applications/application_info.html:76
+#: applications/templates/applications/application_info.html:71
msgid "Prosjektgruppene"
msgstr ""
-#: applications/templates/applications/application_info.html:77
+#: applications/templates/applications/application_info.html:72
msgid ""
"Prosjektgruppene gjennomfører en rekke prosjekter som varierer fra år til "
"år. Prosjektene varer som oftest i to semestre."
msgstr ""
-#: applications/templates/applications/application_info.html:78
+#: applications/templates/applications/application_info.html:73
msgid ""
"Som medlem av en prosjektgruppe jobber du konkret på et prosjekt sammen med "
"andre på gruppen."
msgstr ""
-#: applications/templates/applications/application_info.html:79
+#: applications/templates/applications/application_info.html:74
msgid ""
"Om du har forslag til noen andre prosjekter, kan dette sendes med et "
"søknadsskjema."
msgstr ""
-#: applications/templates/applications/application_info.html:80
+#: applications/templates/applications/application_info.html:75
msgid "Under finner du informasjon om prosjektene som har opptak nå."
msgstr ""
diff --git a/files/locale/en/LC_MESSAGES/django.po b/files/locale/en/LC_MESSAGES/django.po
index 336a2362a..b6fa5a3eb 100644
--- a/files/locale/en/LC_MESSAGES/django.po
+++ b/files/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/files/locale/nb/LC_MESSAGES/django.po b/files/locale/nb/LC_MESSAGES/django.po
index ba8a506d6..daf59d9e5 100644
--- a/files/locale/nb/LC_MESSAGES/django.po
+++ b/files/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/internalportal/locale/en/LC_MESSAGES/django.po b/internalportal/locale/en/LC_MESSAGES/django.po
index 2b60b44d7..2de373086 100644
--- a/internalportal/locale/en/LC_MESSAGES/django.po
+++ b/internalportal/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -203,7 +203,7 @@ msgstr "Email"
msgid "Gå tilbake"
msgstr "Go back"
-#: internalportal/templates/internalportal/applications/approved_email.txt:2
+#: internalportal/templates/internalportal/applications/approved_email.txt:1
#, python-format
msgid ""
"Hei %(name)s,\n"
@@ -235,7 +235,7 @@ msgstr ""
"Best regards,\n"
"%(application_group)s "
-#: internalportal/templates/internalportal/applications/denied_email.txt:2
+#: internalportal/templates/internalportal/applications/denied_email.txt:1
#, python-format
msgid ""
"Hei %(name)s,\n"
@@ -261,7 +261,7 @@ msgstr ""
"Best regards,\n"
"%(application_group)s "
-#: internalportal/templates/internalportal/applications/interview_email.txt:2
+#: internalportal/templates/internalportal/applications/interview_email.txt:1
#, python-format
msgid ""
"Hei %(application_name)s,\n"
@@ -288,7 +288,7 @@ msgstr ""
"\n"
"The proposed time for the interview is %(start_time)s in "
-#: internalportal/templates/internalportal/applications/interview_email.txt:13
+#: internalportal/templates/internalportal/applications/interview_email.txt:12
msgid "Med vennlig hilsen"
msgstr "Best regards"
@@ -393,42 +393,42 @@ msgstr "Admin panel"
msgid "Medlemsliste for dørtilgang"
msgstr "Member list for door access"
-#: internalportal/templates/internalportal/internalportal.html:176
+#: internalportal/templates/internalportal/internalportal.html:177
msgid "Søkere"
msgstr "Applicants"
-#: internalportal/templates/internalportal/internalportal.html:178
+#: internalportal/templates/internalportal/internalportal.html:179
msgid "venter"
msgstr "waiting"
-#: internalportal/views.py:108
+#: internalportal/views.py:109
msgid "Søknad sendt videre til neste gruppe"
msgstr "Application forwarded to the next group"
-#: internalportal/views.py:117
+#: internalportal/views.py:118
msgid "Søknaden finnes ikke"
msgstr "The application does not exist"
-#: internalportal/views.py:132
+#: internalportal/views.py:133
msgid "Søknaden har ingen flere grupper å gå til"
msgstr "The application has no more groups to go to"
-#: internalportal/views.py:141
+#: internalportal/views.py:142
#, python-brace-format
msgid "Gruppen {group_name} finnes ikke. Kontakt administrator."
msgstr "The group {group_name} does not exist. Contact the administrator."
-#: internalportal/views.py:158
+#: internalportal/views.py:159
#, python-brace-format
msgid "Gruppen {group} har ingen ledere. Kontakt administrator."
msgstr ""
"The group {group} does not have any leaders. Contact the administrator."
-#: internalportal/views.py:169
+#: internalportal/views.py:170
msgid "Søknad sendt videre"
msgstr "Application forwarded"
-#: internalportal/views.py:270
+#: internalportal/views.py:271
msgid "Få brukeren til å logge inn med Feide først og bruk søkerens ntnu-mail."
msgstr ""
"Have the user log in with Feide first and use the applicant's NTNU email."
diff --git a/internalportal/locale/nb/LC_MESSAGES/django.po b/internalportal/locale/nb/LC_MESSAGES/django.po
index e8b05a68d..f34096c81 100644
--- a/internalportal/locale/nb/LC_MESSAGES/django.po
+++ b/internalportal/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -200,7 +200,7 @@ msgstr ""
msgid "Gå tilbake"
msgstr ""
-#: internalportal/templates/internalportal/applications/approved_email.txt:2
+#: internalportal/templates/internalportal/applications/approved_email.txt:1
#, python-format
msgid ""
"Hei %(name)s,\n"
@@ -218,7 +218,7 @@ msgid ""
"%(application_group)s"
msgstr ""
-#: internalportal/templates/internalportal/applications/denied_email.txt:2
+#: internalportal/templates/internalportal/applications/denied_email.txt:1
#, python-format
msgid ""
"Hei %(name)s,\n"
@@ -233,7 +233,7 @@ msgid ""
"%(application_group)s"
msgstr ""
-#: internalportal/templates/internalportal/applications/interview_email.txt:2
+#: internalportal/templates/internalportal/applications/interview_email.txt:1
#, python-format
msgid ""
"Hei %(application_name)s,\n"
@@ -249,7 +249,7 @@ msgid ""
"Foreslått tidspunkt for intervjuet er %(start_time)s i "
msgstr ""
-#: internalportal/templates/internalportal/applications/interview_email.txt:13
+#: internalportal/templates/internalportal/applications/interview_email.txt:12
msgid "Med vennlig hilsen"
msgstr ""
@@ -354,40 +354,40 @@ msgstr ""
msgid "Medlemsliste for dørtilgang"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:176
+#: internalportal/templates/internalportal/internalportal.html:177
msgid "Søkere"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:178
+#: internalportal/templates/internalportal/internalportal.html:179
msgid "venter"
msgstr ""
-#: internalportal/views.py:108
+#: internalportal/views.py:109
msgid "Søknad sendt videre til neste gruppe"
msgstr ""
-#: internalportal/views.py:117
+#: internalportal/views.py:118
msgid "Søknaden finnes ikke"
msgstr ""
-#: internalportal/views.py:132
+#: internalportal/views.py:133
msgid "Søknaden har ingen flere grupper å gå til"
msgstr ""
-#: internalportal/views.py:141
+#: internalportal/views.py:142
#, python-brace-format
msgid "Gruppen {group_name} finnes ikke. Kontakt administrator."
msgstr ""
-#: internalportal/views.py:158
+#: internalportal/views.py:159
#, python-brace-format
msgid "Gruppen {group} har ingen ledere. Kontakt administrator."
msgstr ""
-#: internalportal/views.py:169
+#: internalportal/views.py:170
msgid "Søknad sendt videre"
msgstr ""
-#: internalportal/views.py:270
+#: internalportal/views.py:271
msgid "Få brukeren til å logge inn med Feide først og bruk søkerens ntnu-mail."
msgstr ""
diff --git a/inventory/locale/en/LC_MESSAGES/django.po b/inventory/locale/en/LC_MESSAGES/django.po
index 7a0648aef..20e28c6f3 100644
--- a/inventory/locale/en/LC_MESSAGES/django.po
+++ b/inventory/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/inventory/locale/nb/LC_MESSAGES/django.po b/inventory/locale/nb/LC_MESSAGES/django.po
index 64a0110de..c1e777c28 100644
--- a/inventory/locale/nb/LC_MESSAGES/django.po
+++ b/inventory/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/news/locale/en/LC_MESSAGES/django.po b/news/locale/en/LC_MESSAGES/django.po
index 53a018f74..9609b2cbb 100644
--- a/news/locale/en/LC_MESSAGES/django.po
+++ b/news/locale/en/LC_MESSAGES/django.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -432,11 +432,11 @@ msgstr ""
msgid "NO, GO BACK"
msgstr ""
-#: news/templates/news/events.html:15
+#: news/templates/news/events.html:10
msgid "Arrangementer"
msgstr "Events"
-#: news/templates/news/events.html:27 news/templates/news/news.html:27
+#: news/templates/news/events.html:18 news/templates/news/news.html:18
msgid "Dine utkast"
msgstr "Your drafts"
@@ -444,11 +444,11 @@ msgstr "Your drafts"
msgid "info"
msgstr "info"
-#: news/templates/news/news.html:15
+#: news/templates/news/news.html:10
msgid "Nyheter"
msgstr "News"
-#: news/templates/news/news.html:45
+#: news/templates/news/news.html:36
msgid "Publiserte artikler"
msgstr "Published articles"
diff --git a/news/locale/nb/LC_MESSAGES/django.po b/news/locale/nb/LC_MESSAGES/django.po
index 209cc6229..71f053684 100644
--- a/news/locale/nb/LC_MESSAGES/django.po
+++ b/news/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -430,11 +430,11 @@ msgstr ""
msgid "NO, GO BACK"
msgstr ""
-#: news/templates/news/events.html:15
+#: news/templates/news/events.html:10
msgid "Arrangementer"
msgstr ""
-#: news/templates/news/events.html:27 news/templates/news/news.html:27
+#: news/templates/news/events.html:18 news/templates/news/news.html:18
msgid "Dine utkast"
msgstr ""
@@ -442,11 +442,11 @@ msgstr ""
msgid "info"
msgstr ""
-#: news/templates/news/news.html:15
+#: news/templates/news/news.html:10
msgid "Nyheter"
msgstr ""
-#: news/templates/news/news.html:45
+#: news/templates/news/news.html:36
msgid "Publiserte artikler"
msgstr ""
diff --git a/projectarchive/locale/en/LC_MESSAGES/django.po b/projectarchive/locale/en/LC_MESSAGES/django.po
index eafb410aa..9b5096db0 100644
--- a/projectarchive/locale/en/LC_MESSAGES/django.po
+++ b/projectarchive/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,6 +18,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: projectarchive/templates/projectarchive/projectarchive.html:15
+#: projectarchive/templates/projectarchive/projectarchive.html:10
msgid "Prosjektarkiv"
msgstr "Project archive"
diff --git a/projectarchive/locale/nb/LC_MESSAGES/django.po b/projectarchive/locale/nb/LC_MESSAGES/django.po
index 08df77c78..57d846e69 100644
--- a/projectarchive/locale/nb/LC_MESSAGES/django.po
+++ b/projectarchive/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,6 +18,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: projectarchive/templates/projectarchive/projectarchive.html:15
+#: projectarchive/templates/projectarchive/projectarchive.html:10
msgid "Prosjektarkiv"
msgstr ""
diff --git a/reservations/locale/en/LC_MESSAGES/django.po b/reservations/locale/en/LC_MESSAGES/django.po
index 1115cfdf5..a1685690e 100644
--- a/reservations/locale/en/LC_MESSAGES/django.po
+++ b/reservations/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/reservations/locale/nb/LC_MESSAGES/django.po b/reservations/locale/nb/LC_MESSAGES/django.po
index 5d2c822a6..225b03e02 100644
--- a/reservations/locale/nb/LC_MESSAGES/django.po
+++ b/reservations/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/userprofile/locale/en/LC_MESSAGES/django.po b/userprofile/locale/en/LC_MESSAGES/django.po
index f61a1fb12..df48ab59f 100644
--- a/userprofile/locale/en/LC_MESSAGES/django.po
+++ b/userprofile/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/userprofile/locale/nb/LC_MESSAGES/django.po b/userprofile/locale/nb/LC_MESSAGES/django.po
index 0a4130a23..5f6035f00 100644
--- a/userprofile/locale/nb/LC_MESSAGES/django.po
+++ b/userprofile/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/watchlist/locale/en/LC_MESSAGES/django.po b/watchlist/locale/en/LC_MESSAGES/django.po
index c66657f08..8adaf1c1a 100644
--- a/watchlist/locale/en/LC_MESSAGES/django.po
+++ b/watchlist/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,7 +18,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: watchlist/templates/watchlist/watchlist.html:19
+#: watchlist/templates/watchlist/watchlist.html:14
+msgid "Vaktliste"
+msgstr ""
+
+#: watchlist/templates/watchlist/watchlist.html:15
msgid ""
"Vaktlisten gir en oversikt over når verkstedet er åpent og bemannet, og hva "
"slags kompetanse de vakthavende har"
@@ -26,41 +30,41 @@ msgstr ""
"The shift schedule provides an overview of when the workshop is open and "
"staffed, and what kind of expertise the staff members have"
-#: watchlist/templates/watchlist/watchlist.html:108
+#: watchlist/templates/watchlist/watchlist.html:101
msgid "Tid"
msgstr "Time"
-#: watchlist/templates/watchlist/watchlist.html:190
-#: watchlist/templates/watchlist/watchlist.html:199
-#: watchlist/templates/watchlist/watchlist.html:208
-#: watchlist/templates/watchlist/watchlist.html:217
+#: watchlist/templates/watchlist/watchlist.html:183
+#: watchlist/templates/watchlist/watchlist.html:192
+#: watchlist/templates/watchlist/watchlist.html:201
+#: watchlist/templates/watchlist/watchlist.html:210
msgid "Verkstedet er"
msgstr "The workshop is"
-#: watchlist/templates/watchlist/watchlist.html:190
+#: watchlist/templates/watchlist/watchlist.html:183
msgid "stengt"
msgstr "closed"
-#: watchlist/templates/watchlist/watchlist.html:191
+#: watchlist/templates/watchlist/watchlist.html:184
msgid "Ingen på vakt"
msgstr "No one on duty"
-#: watchlist/templates/watchlist/watchlist.html:199
-#: watchlist/templates/watchlist/watchlist.html:208
-#: watchlist/templates/watchlist/watchlist.html:217
+#: watchlist/templates/watchlist/watchlist.html:192
+#: watchlist/templates/watchlist/watchlist.html:201
+#: watchlist/templates/watchlist/watchlist.html:210
msgid "åpent"
msgstr "open"
-#: watchlist/templates/watchlist/watchlist.html:200
+#: watchlist/templates/watchlist/watchlist.html:193
msgid "person på vakt"
msgstr "person on duty"
-#: watchlist/templates/watchlist/watchlist.html:209
-#: watchlist/templates/watchlist/watchlist.html:218
+#: watchlist/templates/watchlist/watchlist.html:202
+#: watchlist/templates/watchlist/watchlist.html:211
msgid "personer på vakt"
msgstr "people on duty"
-#: watchlist/templates/watchlist/watchlist.html:224
+#: watchlist/templates/watchlist/watchlist.html:217
msgid ""
"Hvis ferdighetskulen er avmerket viser det oppnåd ferdighet blant alle som "
"er på vakt."
diff --git a/watchlist/locale/nb/LC_MESSAGES/django.po b/watchlist/locale/nb/LC_MESSAGES/django.po
index 514e4def7..a7e3b16d1 100644
--- a/watchlist/locale/nb/LC_MESSAGES/django.po
+++ b/watchlist/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,47 +18,51 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: watchlist/templates/watchlist/watchlist.html:19
+#: watchlist/templates/watchlist/watchlist.html:14
+msgid "Vaktliste"
+msgstr ""
+
+#: watchlist/templates/watchlist/watchlist.html:15
msgid ""
"Vaktlisten gir en oversikt over når verkstedet er åpent og bemannet, og hva "
"slags kompetanse de vakthavende har"
msgstr ""
-#: watchlist/templates/watchlist/watchlist.html:108
+#: watchlist/templates/watchlist/watchlist.html:101
msgid "Tid"
msgstr ""
-#: watchlist/templates/watchlist/watchlist.html:190
-#: watchlist/templates/watchlist/watchlist.html:199
-#: watchlist/templates/watchlist/watchlist.html:208
-#: watchlist/templates/watchlist/watchlist.html:217
+#: watchlist/templates/watchlist/watchlist.html:183
+#: watchlist/templates/watchlist/watchlist.html:192
+#: watchlist/templates/watchlist/watchlist.html:201
+#: watchlist/templates/watchlist/watchlist.html:210
msgid "Verkstedet er"
msgstr ""
-#: watchlist/templates/watchlist/watchlist.html:190
+#: watchlist/templates/watchlist/watchlist.html:183
msgid "stengt"
msgstr ""
-#: watchlist/templates/watchlist/watchlist.html:191
+#: watchlist/templates/watchlist/watchlist.html:184
msgid "Ingen på vakt"
msgstr ""
-#: watchlist/templates/watchlist/watchlist.html:199
-#: watchlist/templates/watchlist/watchlist.html:208
-#: watchlist/templates/watchlist/watchlist.html:217
+#: watchlist/templates/watchlist/watchlist.html:192
+#: watchlist/templates/watchlist/watchlist.html:201
+#: watchlist/templates/watchlist/watchlist.html:210
msgid "åpent"
msgstr ""
-#: watchlist/templates/watchlist/watchlist.html:200
+#: watchlist/templates/watchlist/watchlist.html:193
msgid "person på vakt"
msgstr ""
-#: watchlist/templates/watchlist/watchlist.html:209
-#: watchlist/templates/watchlist/watchlist.html:218
+#: watchlist/templates/watchlist/watchlist.html:202
+#: watchlist/templates/watchlist/watchlist.html:211
msgid "personer på vakt"
msgstr ""
-#: watchlist/templates/watchlist/watchlist.html:224
+#: watchlist/templates/watchlist/watchlist.html:217
msgid ""
"Hvis ferdighetskulen er avmerket viser det oppnåd ferdighet blant alle som "
"er på vakt."
diff --git a/website/locale/en/LC_MESSAGES/django.po b/website/locale/en/LC_MESSAGES/django.po
index 14fcbedf3..957e6e012 100644
--- a/website/locale/en/LC_MESSAGES/django.po
+++ b/website/locale/en/LC_MESSAGES/django.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -21,11 +21,11 @@ msgstr ""
msgid "Søk Hackerspace"
msgstr "Apply to Hackerspace"
-#: website/templates/website/about.html:9
+#: website/templates/website/about.html:5
msgid "Om Hackerspace NTNU"
msgstr "About Hackerspace NTNU"
-#: website/templates/website/about.html:22
+#: website/templates/website/about.html:16
msgid ""
"Hackerspace NTNU er et studentdrevet prosjekt åpent for alle studenter "
"uansett studieretning eller Hackerspace-medlemsskap. Vi tilbyr en kreativ "
@@ -39,7 +39,7 @@ msgstr ""
"technology at your disposal, including 3D printers and Virtual Reality "
"equipment."
-#: website/templates/website/about.html:23
+#: website/templates/website/about.html:17
msgid ""
"Om du er en førsteklassing som trenger hjelp med ditt første Arduino-"
"prosjekt eller en fjerdeklassing som ønsker å lage en 3D-modell av "
@@ -52,46 +52,46 @@ msgstr ""
"Trondheim, we can provide both equipment and expertise. We also regularly "
"offer courses for both beginners and advanced users in many exciting topics."
-#: website/templates/website/about.html:24
+#: website/templates/website/about.html:18
msgid "Kom innom for å se hva vi driver med og slå av en prat"
msgstr "Come by to see what we are doing and have a chat. "
-#: website/templates/website/about.html:24
+#: website/templates/website/about.html:18
msgid ""
"Du finner oss i andre etasje i A-blokka på Realfagbygget, NTNU Gløshaugen"
msgstr ""
"You will find us on the second floor of the A-building sat Realfagbygget, "
"NTNU Gløshaugen."
-#: website/templates/website/about.html:25
+#: website/templates/website/about.html:19
msgid "Vis kart"
msgstr "Map"
-#: website/templates/website/about.html:34
+#: website/templates/website/about.html:28
msgid "Ofte stilte spørsmål"
msgstr "FAQ"
-#: website/templates/website/about.html:51
+#: website/templates/website/about.html:45
msgid "Våre aktive grupper"
msgstr "Active groups"
-#: website/templates/website/about.html:77
+#: website/templates/website/about.html:71
msgid "Leder"
msgstr "Leader"
-#: website/templates/website/about.html:80
+#: website/templates/website/about.html:74
msgid "Nestleder"
msgstr "Deputy Leader"
-#: website/templates/website/about.html:83
+#: website/templates/website/about.html:77
msgid "Økonomiansvarlig"
msgstr "Financial Manager"
-#: website/templates/website/about.html:87
+#: website/templates/website/about.html:81
msgid "E-post"
msgstr "E-mail"
-#: website/templates/website/about.html:108
+#: website/templates/website/about.html:102
msgid "Ingen medlemmer er lagt til enda"
msgstr "No members added yet"
@@ -154,7 +154,7 @@ msgstr "About us"
#: website/templates/website/footer.html:35
#: website/templates/website/header.html:129
#: website/templates/website/header.html:213
-#: website/templates/website/rules.html:15
+#: website/templates/website/rules.html:10
msgid "Regler"
msgstr "Rules"
@@ -391,18 +391,18 @@ msgstr "Recent news"
msgid "Siste arrangementer"
msgstr "Recent events"
-#: website/templates/website/rules.html:17
+#: website/templates/website/rules.html:11
msgid "Nøvendig informasjon og regler for bruk av verkstedet og diverse utstyr"
msgstr "Necessary information and rules for the workshop and its equipment"
-#: website/templates/website/rules.html:43
-#: website/templates/website/rules.html:49
+#: website/templates/website/rules.html:35
+#: website/templates/website/rules.html:41
#, fuzzy
#| msgid "Internportal"
msgid "Intern"
msgstr "Internal portal"
-#: website/templates/website/rules.html:56
+#: website/templates/website/rules.html:48
msgid "Fant ingen regler 🤠"
msgstr "No rules found"
diff --git a/website/locale/nb/LC_MESSAGES/django.po b/website/locale/nb/LC_MESSAGES/django.po
index 93ed282a8..62545a8cf 100644
--- a/website/locale/nb/LC_MESSAGES/django.po
+++ b/website/locale/nb/LC_MESSAGES/django.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-11-27 17:21+0100\n"
+"POT-Creation-Date: 2024-02-24 11:09+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -21,11 +21,11 @@ msgstr ""
msgid "Søk Hackerspace"
msgstr ""
-#: website/templates/website/about.html:9
+#: website/templates/website/about.html:5
msgid "Om Hackerspace NTNU"
msgstr ""
-#: website/templates/website/about.html:22
+#: website/templates/website/about.html:16
msgid ""
"Hackerspace NTNU er et studentdrevet prosjekt åpent for alle studenter "
"uansett studieretning eller Hackerspace-medlemsskap. Vi tilbyr en kreativ "
@@ -35,7 +35,7 @@ msgid ""
"Reality-utstyr"
msgstr ""
-#: website/templates/website/about.html:23
+#: website/templates/website/about.html:17
msgid ""
"Om du er en førsteklassing som trenger hjelp med ditt første Arduino-"
"prosjekt eller en fjerdeklassing som ønsker å lage en 3D-modell av "
@@ -44,44 +44,44 @@ msgid ""
"emner"
msgstr ""
-#: website/templates/website/about.html:24
+#: website/templates/website/about.html:18
msgid "Kom innom for å se hva vi driver med og slå av en prat"
msgstr ""
-#: website/templates/website/about.html:24
+#: website/templates/website/about.html:18
msgid ""
"Du finner oss i andre etasje i A-blokka på Realfagbygget, NTNU Gløshaugen"
msgstr ""
-#: website/templates/website/about.html:25
+#: website/templates/website/about.html:19
msgid "Vis kart"
msgstr ""
-#: website/templates/website/about.html:34
+#: website/templates/website/about.html:28
msgid "Ofte stilte spørsmål"
msgstr ""
-#: website/templates/website/about.html:51
+#: website/templates/website/about.html:45
msgid "Våre aktive grupper"
msgstr ""
-#: website/templates/website/about.html:77
+#: website/templates/website/about.html:71
msgid "Leder"
msgstr ""
-#: website/templates/website/about.html:80
+#: website/templates/website/about.html:74
msgid "Nestleder"
msgstr ""
-#: website/templates/website/about.html:83
+#: website/templates/website/about.html:77
msgid "Økonomiansvarlig"
msgstr ""
-#: website/templates/website/about.html:87
+#: website/templates/website/about.html:81
msgid "E-post"
msgstr ""
-#: website/templates/website/about.html:108
+#: website/templates/website/about.html:102
msgid "Ingen medlemmer er lagt til enda"
msgstr ""
@@ -142,7 +142,7 @@ msgstr ""
#: website/templates/website/footer.html:35
#: website/templates/website/header.html:129
#: website/templates/website/header.html:213
-#: website/templates/website/rules.html:15
+#: website/templates/website/rules.html:10
msgid "Regler"
msgstr ""
@@ -359,15 +359,15 @@ msgstr ""
msgid "Siste arrangementer"
msgstr ""
-#: website/templates/website/rules.html:17
+#: website/templates/website/rules.html:11
msgid "Nøvendig informasjon og regler for bruk av verkstedet og diverse utstyr"
msgstr ""
-#: website/templates/website/rules.html:43
-#: website/templates/website/rules.html:49
+#: website/templates/website/rules.html:35
+#: website/templates/website/rules.html:41
msgid "Intern"
msgstr ""
-#: website/templates/website/rules.html:56
+#: website/templates/website/rules.html:48
msgid "Fant ingen regler 🤠"
msgstr ""
From 5d9f9d60d9a8c57960cc2e88529529802a3dbec0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carl=20G=C3=BCtzkow?=
<70779496+CJGutz@users.noreply.github.com>
Date: Sat, 24 Feb 2024 13:21:11 +0100
Subject: [PATCH 03/15] add include children tag
---
.../website/page_overviews/content_title.html | 1 +
website/templatetags/__init__.py | 0
website/templatetags/includechildren.py | 45 +++++++++++++++++++
3 files changed, 46 insertions(+)
create mode 100644 website/templatetags/__init__.py
create mode 100644 website/templatetags/includechildren.py
diff --git a/website/templates/website/page_overviews/content_title.html b/website/templates/website/page_overviews/content_title.html
index bebb39952..dfccecef1 100644
--- a/website/templates/website/page_overviews/content_title.html
+++ b/website/templates/website/page_overviews/content_title.html
@@ -5,6 +5,7 @@
+ {% translate "Reservasjoner" as trans_reservations %}
+ {% translate "På denne siden kan du reservere bruk av diverse utstyr" as trans_reservations_desc %}
+ {% includechildren "website/page_overviews/content_title.html" with title=trans_reservations description=trans_reservations_desc %}
+ {% trans 'Se Hackerspace sitt utstyr' %}
+ {% endincludechildren %}
{% regroup reservation_list|dictsort:'parent_queue.name' by parent_queue as reservation_list %}
diff --git a/userprofile/templates/userprofile/members.html b/userprofile/templates/userprofile/members.html
index a709173c0..4cded9c90 100644
--- a/userprofile/templates/userprofile/members.html
+++ b/userprofile/templates/userprofile/members.html
@@ -1,6 +1,7 @@
{% extends 'website/base.html' %}
{% load static %}
{% load i18n %}
+{% load includechildren %}
{% block head %}
@@ -9,37 +10,28 @@
{% endblock %}
{% block content %}
-
-
-
-
-
{% trans "Medlemmer i Hackerspace" %}
-
{% trans "For oversikt over gruppene og deres medlemmer, se" %} {% trans "Om oss" %}.
-
-
-
-
-
-
-
-
-
-
-
+ {% translate "Medlemmer i Hackerspace" as trans_members %}
+ {% includechildren "website/page_overviews/content_title.html" with title=trans_members %}
+
{% trans "For oversikt over gruppene og deres medlemmer, se" %} {% trans "Om oss" %}.
+
+
+
+
- {% if perms.userprofile.is_active_member %}
-
{% trans 'Klikk på ferdigheter du vil se folk ikke har' %}
-
- {% for category in skill_categories %}
-
- {% endfor %}
-
- {% endif %}
-
+ {% if perms.userprofile.is_active_member %}
+
{% trans 'Klikk på ferdigheter du vil se folk ikke har' %}
+
+ {% for category in skill_categories %}
+
+ {% endfor %}
+
+ {% endif %}
+ {% endincludechildren %}
+
From 11c8d70b38d352492a4ac254a28589808ce3560f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carl=20G=C3=BCtzkow?=
<70779496+CJGutz@users.noreply.github.com>
Date: Sat, 24 Feb 2024 13:35:43 +0100
Subject: [PATCH 05/15] make locale messages
---
applications/locale/en/LC_MESSAGES/django.po | 2 +-
applications/locale/nb/LC_MESSAGES/django.po | 2 +-
files/locale/en/LC_MESSAGES/django.po | 2 +-
files/locale/nb/LC_MESSAGES/django.po | 2 +-
.../locale/en/LC_MESSAGES/django.po | 34 +++++++++----------
.../locale/nb/LC_MESSAGES/django.po | 34 +++++++++----------
inventory/locale/en/LC_MESSAGES/django.po | 28 +++++++--------
inventory/locale/nb/LC_MESSAGES/django.po | 28 +++++++--------
news/locale/en/LC_MESSAGES/django.po | 2 +-
news/locale/nb/LC_MESSAGES/django.po | 2 +-
.../locale/en/LC_MESSAGES/django.po | 2 +-
.../locale/nb/LC_MESSAGES/django.po | 2 +-
reservations/locale/en/LC_MESSAGES/django.po | 30 ++++++++--------
reservations/locale/nb/LC_MESSAGES/django.po | 30 ++++++++--------
userprofile/locale/en/LC_MESSAGES/django.po | 12 +++----
userprofile/locale/nb/LC_MESSAGES/django.po | 12 +++----
watchlist/locale/en/LC_MESSAGES/django.po | 2 +-
watchlist/locale/nb/LC_MESSAGES/django.po | 2 +-
website/locale/en/LC_MESSAGES/django.po | 2 +-
website/locale/nb/LC_MESSAGES/django.po | 2 +-
20 files changed, 116 insertions(+), 116 deletions(-)
diff --git a/applications/locale/en/LC_MESSAGES/django.po b/applications/locale/en/LC_MESSAGES/django.po
index 19a42ae4f..77bc9a8ae 100644
--- a/applications/locale/en/LC_MESSAGES/django.po
+++ b/applications/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/applications/locale/nb/LC_MESSAGES/django.po b/applications/locale/nb/LC_MESSAGES/django.po
index e61c07b6d..76c7dad12 100644
--- a/applications/locale/nb/LC_MESSAGES/django.po
+++ b/applications/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/files/locale/en/LC_MESSAGES/django.po b/files/locale/en/LC_MESSAGES/django.po
index b6fa5a3eb..15c619408 100644
--- a/files/locale/en/LC_MESSAGES/django.po
+++ b/files/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/files/locale/nb/LC_MESSAGES/django.po b/files/locale/nb/LC_MESSAGES/django.po
index daf59d9e5..49afd7f1a 100644
--- a/files/locale/nb/LC_MESSAGES/django.po
+++ b/files/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/internalportal/locale/en/LC_MESSAGES/django.po b/internalportal/locale/en/LC_MESSAGES/django.po
index 2de373086..a676a6c07 100644
--- a/internalportal/locale/en/LC_MESSAGES/django.po
+++ b/internalportal/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -337,67 +337,67 @@ msgstr "Access to"
msgid "Ingen aktive medlemmer."
msgstr "No active members."
-#: internalportal/templates/internalportal/internalportal.html:10
+#: internalportal/templates/internalportal/internalportal.html:7
msgid "Internportal"
msgstr "Internal portal"
-#: internalportal/templates/internalportal/internalportal.html:27
+#: internalportal/templates/internalportal/internalportal.html:21
msgid "Siste internnytt"
msgstr "Latest internal news"
-#: internalportal/templates/internalportal/internalportal.html:41
+#: internalportal/templates/internalportal/internalportal.html:35
msgid "Her var det intetnytt"
msgstr "There's no news here"
-#: internalportal/templates/internalportal/internalportal.html:51
+#: internalportal/templates/internalportal/internalportal.html:45
msgid "Siste interne arrangementer"
msgstr "Latest internal events"
-#: internalportal/templates/internalportal/internalportal.html:70
+#: internalportal/templates/internalportal/internalportal.html:64
msgid "Ingen interne arrangementer"
msgstr "No internal events"
-#: internalportal/templates/internalportal/internalportal.html:80
+#: internalportal/templates/internalportal/internalportal.html:74
msgid "Åpne lånesøknader"
msgstr "Open loan applications"
-#: internalportal/templates/internalportal/internalportal.html:93
+#: internalportal/templates/internalportal/internalportal.html:87
msgid "Ingen lånesøknader"
msgstr "No loan applications"
-#: internalportal/templates/internalportal/internalportal.html:108
+#: internalportal/templates/internalportal/internalportal.html:102
msgid "Lånesøknader"
msgstr "Loan applications"
-#: internalportal/templates/internalportal/internalportal.html:117
+#: internalportal/templates/internalportal/internalportal.html:111
msgid "Vaktliste"
msgstr "Shift schedule"
-#: internalportal/templates/internalportal/internalportal.html:126
+#: internalportal/templates/internalportal/internalportal.html:120
msgid "Lager"
msgstr "Storage"
-#: internalportal/templates/internalportal/internalportal.html:135
+#: internalportal/templates/internalportal/internalportal.html:129
msgid "Reservasjoner"
msgstr "Reservations"
-#: internalportal/templates/internalportal/internalportal.html:144
+#: internalportal/templates/internalportal/internalportal.html:138
msgid "Bildegalleri"
msgstr "Image gallery"
-#: internalportal/templates/internalportal/internalportal.html:154
+#: internalportal/templates/internalportal/internalportal.html:148
msgid "Adminpanel"
msgstr "Admin panel"
-#: internalportal/templates/internalportal/internalportal.html:163
+#: internalportal/templates/internalportal/internalportal.html:157
msgid "Medlemsliste for dørtilgang"
msgstr "Member list for door access"
-#: internalportal/templates/internalportal/internalportal.html:177
+#: internalportal/templates/internalportal/internalportal.html:171
msgid "Søkere"
msgstr "Applicants"
-#: internalportal/templates/internalportal/internalportal.html:179
+#: internalportal/templates/internalportal/internalportal.html:173
msgid "venter"
msgstr "waiting"
diff --git a/internalportal/locale/nb/LC_MESSAGES/django.po b/internalportal/locale/nb/LC_MESSAGES/django.po
index f34096c81..0bc405c86 100644
--- a/internalportal/locale/nb/LC_MESSAGES/django.po
+++ b/internalportal/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -298,67 +298,67 @@ msgstr ""
msgid "Ingen aktive medlemmer."
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:10
+#: internalportal/templates/internalportal/internalportal.html:7
msgid "Internportal"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:27
+#: internalportal/templates/internalportal/internalportal.html:21
msgid "Siste internnytt"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:41
+#: internalportal/templates/internalportal/internalportal.html:35
msgid "Her var det intetnytt"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:51
+#: internalportal/templates/internalportal/internalportal.html:45
msgid "Siste interne arrangementer"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:70
+#: internalportal/templates/internalportal/internalportal.html:64
msgid "Ingen interne arrangementer"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:80
+#: internalportal/templates/internalportal/internalportal.html:74
msgid "Åpne lånesøknader"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:93
+#: internalportal/templates/internalportal/internalportal.html:87
msgid "Ingen lånesøknader"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:108
+#: internalportal/templates/internalportal/internalportal.html:102
msgid "Lånesøknader"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:117
+#: internalportal/templates/internalportal/internalportal.html:111
msgid "Vaktliste"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:126
+#: internalportal/templates/internalportal/internalportal.html:120
msgid "Lager"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:135
+#: internalportal/templates/internalportal/internalportal.html:129
msgid "Reservasjoner"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:144
+#: internalportal/templates/internalportal/internalportal.html:138
msgid "Bildegalleri"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:154
+#: internalportal/templates/internalportal/internalportal.html:148
msgid "Adminpanel"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:163
+#: internalportal/templates/internalportal/internalportal.html:157
msgid "Medlemsliste for dørtilgang"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:177
+#: internalportal/templates/internalportal/internalportal.html:171
msgid "Søkere"
msgstr ""
-#: internalportal/templates/internalportal/internalportal.html:179
+#: internalportal/templates/internalportal/internalportal.html:173
msgid "venter"
msgstr ""
diff --git a/inventory/locale/en/LC_MESSAGES/django.po b/inventory/locale/en/LC_MESSAGES/django.po
index 20e28c6f3..55303487c 100644
--- a/inventory/locale/en/LC_MESSAGES/django.po
+++ b/inventory/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,52 +18,52 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: inventory/templates/inventory/inventory.html:12
+#: inventory/templates/inventory/inventory.html:9
msgid "Lager"
msgstr "Inventory"
-#: inventory/templates/inventory/inventory.html:13
+#: inventory/templates/inventory/inventory.html:10
msgid ""
"Her kan du søke i lageret vårt. Lyst til å låne noe? Kom innom verkstedet!"
msgstr ""
"Here you can search in our inventory. Want to borrow something? Visit the "
"workshop!"
-#: inventory/templates/inventory/inventory.html:14
+#: inventory/templates/inventory/inventory.html:12
msgid "Se utstyr og apparater"
msgstr "View equipment and apparatus"
-#: inventory/templates/inventory/inventory.html:28
+#: inventory/templates/inventory/inventory.html:23
msgid "Ting, tang og tare"
msgstr "Things and stuff"
-#: inventory/templates/inventory/inventory.html:29
-#: inventory/templates/inventory/inventory.html:37
+#: inventory/templates/inventory/inventory.html:24
+#: inventory/templates/inventory/inventory.html:32
msgid "Navn"
msgstr "Name"
-#: inventory/templates/inventory/inventory.html:33
+#: inventory/templates/inventory/inventory.html:28
msgid "Velg sorteringskriterie"
msgstr "Choose sorting criterion"
-#: inventory/templates/inventory/inventory.html:34
+#: inventory/templates/inventory/inventory.html:29
msgid "Popularitet"
msgstr "Popularity"
-#: inventory/templates/inventory/inventory.html:35
-#: inventory/templates/inventory/inventory.html:36
+#: inventory/templates/inventory/inventory.html:30
+#: inventory/templates/inventory/inventory.html:31
msgid "Lagerbeholdning"
msgstr "Inventory Quantity"
-#: inventory/templates/inventory/inventory.html:35
+#: inventory/templates/inventory/inventory.html:30
msgid "Synkende"
msgstr "Descending"
-#: inventory/templates/inventory/inventory.html:36
+#: inventory/templates/inventory/inventory.html:31
msgid "Stigende"
msgstr "Ascending"
-#: inventory/templates/inventory/inventory.html:39
+#: inventory/templates/inventory/inventory.html:34
msgid "Sorter etter"
msgstr "Sort by"
diff --git a/inventory/locale/nb/LC_MESSAGES/django.po b/inventory/locale/nb/LC_MESSAGES/django.po
index c1e777c28..27aac59ed 100644
--- a/inventory/locale/nb/LC_MESSAGES/django.po
+++ b/inventory/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,50 +18,50 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: inventory/templates/inventory/inventory.html:12
+#: inventory/templates/inventory/inventory.html:9
msgid "Lager"
msgstr ""
-#: inventory/templates/inventory/inventory.html:13
+#: inventory/templates/inventory/inventory.html:10
msgid ""
"Her kan du søke i lageret vårt. Lyst til å låne noe? Kom innom verkstedet!"
msgstr ""
-#: inventory/templates/inventory/inventory.html:14
+#: inventory/templates/inventory/inventory.html:12
msgid "Se utstyr og apparater"
msgstr ""
-#: inventory/templates/inventory/inventory.html:28
+#: inventory/templates/inventory/inventory.html:23
msgid "Ting, tang og tare"
msgstr ""
-#: inventory/templates/inventory/inventory.html:29
-#: inventory/templates/inventory/inventory.html:37
+#: inventory/templates/inventory/inventory.html:24
+#: inventory/templates/inventory/inventory.html:32
msgid "Navn"
msgstr ""
-#: inventory/templates/inventory/inventory.html:33
+#: inventory/templates/inventory/inventory.html:28
msgid "Velg sorteringskriterie"
msgstr ""
-#: inventory/templates/inventory/inventory.html:34
+#: inventory/templates/inventory/inventory.html:29
msgid "Popularitet"
msgstr ""
-#: inventory/templates/inventory/inventory.html:35
-#: inventory/templates/inventory/inventory.html:36
+#: inventory/templates/inventory/inventory.html:30
+#: inventory/templates/inventory/inventory.html:31
msgid "Lagerbeholdning"
msgstr ""
-#: inventory/templates/inventory/inventory.html:35
+#: inventory/templates/inventory/inventory.html:30
msgid "Synkende"
msgstr ""
-#: inventory/templates/inventory/inventory.html:36
+#: inventory/templates/inventory/inventory.html:31
msgid "Stigende"
msgstr ""
-#: inventory/templates/inventory/inventory.html:39
+#: inventory/templates/inventory/inventory.html:34
msgid "Sorter etter"
msgstr ""
diff --git a/news/locale/en/LC_MESSAGES/django.po b/news/locale/en/LC_MESSAGES/django.po
index 9609b2cbb..fb0f6f220 100644
--- a/news/locale/en/LC_MESSAGES/django.po
+++ b/news/locale/en/LC_MESSAGES/django.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/news/locale/nb/LC_MESSAGES/django.po b/news/locale/nb/LC_MESSAGES/django.po
index 71f053684..a710306af 100644
--- a/news/locale/nb/LC_MESSAGES/django.po
+++ b/news/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/projectarchive/locale/en/LC_MESSAGES/django.po b/projectarchive/locale/en/LC_MESSAGES/django.po
index 9b5096db0..ffbdcca0a 100644
--- a/projectarchive/locale/en/LC_MESSAGES/django.po
+++ b/projectarchive/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/projectarchive/locale/nb/LC_MESSAGES/django.po b/projectarchive/locale/nb/LC_MESSAGES/django.po
index 57d846e69..609315f12 100644
--- a/projectarchive/locale/nb/LC_MESSAGES/django.po
+++ b/projectarchive/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/reservations/locale/en/LC_MESSAGES/django.po b/reservations/locale/en/LC_MESSAGES/django.po
index a1685690e..d0794f759 100644
--- a/reservations/locale/en/LC_MESSAGES/django.po
+++ b/reservations/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,31 +18,31 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: reservations/templates/reservations/queue_list.html:10
+#: reservations/templates/reservations/queue_list.html:7
msgid "Reservasjoner"
msgstr "Reservations"
-#: reservations/templates/reservations/queue_list.html:11
+#: reservations/templates/reservations/queue_list.html:8
msgid "På denne siden kan du reservere bruk av diverse utstyr"
msgstr "On this page, you can reserve the use of various equipment"
-#: reservations/templates/reservations/queue_list.html:12
+#: reservations/templates/reservations/queue_list.html:10
msgid "Se Hackerspace sitt utstyr"
msgstr "View Hackerspace's equipment"
-#: reservations/templates/reservations/queue_list.html:27
+#: reservations/templates/reservations/queue_list.html:22
msgid "Les"
msgstr "Read"
-#: reservations/templates/reservations/queue_list.html:27
+#: reservations/templates/reservations/queue_list.html:22
msgid "regler for bruk av 3D-printer"
msgstr "rules for using the 3D printer"
-#: reservations/templates/reservations/queue_list.html:27
+#: reservations/templates/reservations/queue_list.html:22
msgid "før du starter"
msgstr "before you start"
-#: reservations/templates/reservations/queue_list.html:30
+#: reservations/templates/reservations/queue_list.html:25
#, fuzzy
#| msgid ""
#| "Ved å benytte reservasjonssystemet vårt setter vi av våre ressurser (både "
@@ -60,30 +60,30 @@ msgstr ""
"arrive on time (preferably 5 minutes before the allocated time) and do not "
"exceed the time you have booked."
-#: reservations/templates/reservations/queue_list.html:44
+#: reservations/templates/reservations/queue_list.html:39
msgid "I ustand"
msgstr "Out of order"
-#: reservations/templates/reservations/queue_list.html:52
+#: reservations/templates/reservations/queue_list.html:47
msgid "Vanskelighetsgrad"
msgstr "Difficulty level"
-#: reservations/templates/reservations/queue_list.html:61
+#: reservations/templates/reservations/queue_list.html:56
msgid "Mine reservasjoner"
msgstr "My reservations"
-#: reservations/templates/reservations/queue_list.html:68
+#: reservations/templates/reservations/queue_list.html:63
msgid "Fra"
msgstr "From"
-#: reservations/templates/reservations/queue_list.html:69
+#: reservations/templates/reservations/queue_list.html:64
msgid "til"
msgstr "to"
-#: reservations/templates/reservations/queue_list.html:72
+#: reservations/templates/reservations/queue_list.html:67
msgid "Du har ingen reservasjoner"
msgstr "You have no reservations"
-#: reservations/templates/reservations/queue_list.html:75
+#: reservations/templates/reservations/queue_list.html:70
msgid "Logg inn for å se reservasjoner"
msgstr "Log in to view reservations"
diff --git a/reservations/locale/nb/LC_MESSAGES/django.po b/reservations/locale/nb/LC_MESSAGES/django.po
index 225b03e02..c597ff4a3 100644
--- a/reservations/locale/nb/LC_MESSAGES/django.po
+++ b/reservations/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,31 +18,31 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: reservations/templates/reservations/queue_list.html:10
+#: reservations/templates/reservations/queue_list.html:7
msgid "Reservasjoner"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:11
+#: reservations/templates/reservations/queue_list.html:8
msgid "På denne siden kan du reservere bruk av diverse utstyr"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:12
+#: reservations/templates/reservations/queue_list.html:10
msgid "Se Hackerspace sitt utstyr"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:27
+#: reservations/templates/reservations/queue_list.html:22
msgid "Les"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:27
+#: reservations/templates/reservations/queue_list.html:22
msgid "regler for bruk av 3D-printer"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:27
+#: reservations/templates/reservations/queue_list.html:22
msgid "før du starter"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:30
+#: reservations/templates/reservations/queue_list.html:25
msgid ""
"Ved å benytte reservasjonssystemet vårt setter vi av våre ressurser (både "
"printer og folk på vakt som følger med). Det er derfor forventet at du møter "
@@ -50,30 +50,30 @@ msgid ""
"har booket"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:44
+#: reservations/templates/reservations/queue_list.html:39
msgid "I ustand"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:52
+#: reservations/templates/reservations/queue_list.html:47
msgid "Vanskelighetsgrad"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:61
+#: reservations/templates/reservations/queue_list.html:56
msgid "Mine reservasjoner"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:68
+#: reservations/templates/reservations/queue_list.html:63
msgid "Fra"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:69
+#: reservations/templates/reservations/queue_list.html:64
msgid "til"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:72
+#: reservations/templates/reservations/queue_list.html:67
msgid "Du har ingen reservasjoner"
msgstr ""
-#: reservations/templates/reservations/queue_list.html:75
+#: reservations/templates/reservations/queue_list.html:70
msgid "Logg inn for å se reservasjoner"
msgstr ""
diff --git a/userprofile/locale/en/LC_MESSAGES/django.po b/userprofile/locale/en/LC_MESSAGES/django.po
index df48ab59f..37f861eb6 100644
--- a/userprofile/locale/en/LC_MESSAGES/django.po
+++ b/userprofile/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,23 +18,23 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: userprofile/templates/userprofile/members.html:16
+#: userprofile/templates/userprofile/members.html:13
msgid "Medlemmer i Hackerspace"
msgstr "Members in Hackerspace"
-#: userprofile/templates/userprofile/members.html:17
+#: userprofile/templates/userprofile/members.html:15
msgid "For oversikt over gruppene og deres medlemmer, se"
msgstr "To see an overview of our groups and their members, visit"
-#: userprofile/templates/userprofile/members.html:17
+#: userprofile/templates/userprofile/members.html:15
msgid "Om oss"
msgstr "About us"
-#: userprofile/templates/userprofile/members.html:25
+#: userprofile/templates/userprofile/members.html:19
msgid "Søk etter medlem"
msgstr "Search for member"
-#: userprofile/templates/userprofile/members.html:31
+#: userprofile/templates/userprofile/members.html:23
msgid "Klikk på ferdigheter du vil se folk ikke har"
msgstr "Click on skills to see what people do not have"
diff --git a/userprofile/locale/nb/LC_MESSAGES/django.po b/userprofile/locale/nb/LC_MESSAGES/django.po
index 5f6035f00..38b0f769c 100644
--- a/userprofile/locale/nb/LC_MESSAGES/django.po
+++ b/userprofile/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -18,23 +18,23 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: userprofile/templates/userprofile/members.html:16
+#: userprofile/templates/userprofile/members.html:13
msgid "Medlemmer i Hackerspace"
msgstr ""
-#: userprofile/templates/userprofile/members.html:17
+#: userprofile/templates/userprofile/members.html:15
msgid "For oversikt over gruppene og deres medlemmer, se"
msgstr ""
-#: userprofile/templates/userprofile/members.html:17
+#: userprofile/templates/userprofile/members.html:15
msgid "Om oss"
msgstr ""
-#: userprofile/templates/userprofile/members.html:25
+#: userprofile/templates/userprofile/members.html:19
msgid "Søk etter medlem"
msgstr ""
-#: userprofile/templates/userprofile/members.html:31
+#: userprofile/templates/userprofile/members.html:23
msgid "Klikk på ferdigheter du vil se folk ikke har"
msgstr ""
diff --git a/watchlist/locale/en/LC_MESSAGES/django.po b/watchlist/locale/en/LC_MESSAGES/django.po
index 8adaf1c1a..320413bec 100644
--- a/watchlist/locale/en/LC_MESSAGES/django.po
+++ b/watchlist/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/watchlist/locale/nb/LC_MESSAGES/django.po b/watchlist/locale/nb/LC_MESSAGES/django.po
index a7e3b16d1..d139759e7 100644
--- a/watchlist/locale/nb/LC_MESSAGES/django.po
+++ b/watchlist/locale/nb/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/website/locale/en/LC_MESSAGES/django.po b/website/locale/en/LC_MESSAGES/django.po
index 957e6e012..fb926f9a1 100644
--- a/website/locale/en/LC_MESSAGES/django.po
+++ b/website/locale/en/LC_MESSAGES/django.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff --git a/website/locale/nb/LC_MESSAGES/django.po b/website/locale/nb/LC_MESSAGES/django.po
index 62545a8cf..ab35955bf 100644
--- a/website/locale/nb/LC_MESSAGES/django.po
+++ b/website/locale/nb/LC_MESSAGES/django.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-02-24 11:09+0100\n"
+"POT-Creation-Date: 2024-02-24 13:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
From 718aa0ebe558a29fd0c30282b4bdfe314bdb7b03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carl=20G=C3=BCtzkow?=
<70779496+CJGutz@users.noreply.github.com>
Date: Sat, 24 Feb 2024 14:53:33 +0100
Subject: [PATCH 06/15] simplify include children tag and add include to
equipment
---
.../inventory/equipment/equipment_list.html | 45 +++++++---------
website/templatetags/includechildren.py | 51 ++++++++++---------
2 files changed, 44 insertions(+), 52 deletions(-)
diff --git a/inventory/templates/inventory/equipment/equipment_list.html b/inventory/templates/inventory/equipment/equipment_list.html
index 3a8a68cfa..48a65358f 100644
--- a/inventory/templates/inventory/equipment/equipment_list.html
+++ b/inventory/templates/inventory/equipment/equipment_list.html
@@ -1,5 +1,6 @@
{% extends 'website/base.html' %}
{% load static %}
+{% load i18n %}
{% block head %}
@@ -7,35 +8,25 @@
{% block content %}
-
-
-
-
-
-
Utstyr
-
Her kan du finne utstyr som Hackerspace har. Ikke alt utstyr er mulig å låne bort, men de som er,
- linker til gjenstanden i lageret for utlån.
-
-
-
-
+ {% translate "Utstyr" as trans_equipment %}
+ {% translate "Her kan du finne utstyr som Hackerspace har. Ikke alt utstyr er mulig å låne bort, men de som er, linker til gjenstanden i lageret for utlån." as trans_equipment_desc %}
+ {% include "website/page_overviews/content_title.html" with title=trans_equipment description=trans_equipment_desc %}
- {% include "inventory/equipment/_list_admin_banner.html" %}
+ {% include "inventory/equipment/_list_admin_banner.html" %}
-
-
- {% for item in items %}
- {% include "inventory/equipment/equipment_list_item.html" %}
- {% empty %}
-
-
-
Fant ingen utstyr på lageret sentiment_dissatisfied
-
Det kan likevel hende at vi har det du leter etter. Kom innom verkstedet og spør oss!
-
+
+
+ {% for item in items %}
+ {% include "inventory/equipment/equipment_list_item.html" %}
+ {% empty %}
+
+
+
Fant ingen utstyr på lageret sentiment_dissatisfied
+
Det kan likevel hende at vi har det du leter etter. Kom innom verkstedet og spør oss!
- {% endfor %}
-
-
+
+ {% endfor %}
+
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/website/templatetags/includechildren.py b/website/templatetags/includechildren.py
index fd1440f96..1d216ef54 100644
--- a/website/templatetags/includechildren.py
+++ b/website/templatetags/includechildren.py
@@ -1,14 +1,15 @@
from django import template
-from django.template.library import token_kwargs
-from django.template.loader_tags import IncludeNode, construct_relative_path
+from django.template.loader_tags import IncludeNode, do_include
register = template.Library()
-class NewIncludeNode(IncludeNode):
- def __init__(self, nodelist, file_name, context, *args, **kwargs):
- super().__init__(file_name, *args, extra_context=context, **kwargs)
+class ChildrenIncludedNode(IncludeNode):
+ def __init__(self, nodelist, include_node):
self.nodelist = nodelist
+ self.template = include_node.template
+ self.extra_context = include_node.extra_context
+ self.isolated_context = include_node.isolated_context
def render(self, context):
context["children"] = self.nodelist.render(context)
@@ -17,29 +18,29 @@ def render(self, context):
@register.tag("includechildren")
def include_children(parser, token):
- bits = token.split_contents()
- if len(bits) < 2:
- raise template.TemplateSyntaxError(
- "'%s' takes at least one argument (name of the template to be included)"
- % bits[0]
- )
-
- file_name = bits[1]
-
+ """Extends the include tag to add children to the context.
+ Any HTML between `includechildren` and `endincludechildren` are
+ inserted in the `children` context variable.
+
+ Usage:
+ ```html
+
+ {% includechildren "template.html" %}
+