From 11714ce3858f6937cab192f50fdf41e77d289b85 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:09:22 +0100 Subject: [PATCH 01/15] add header to replace duplicate html --- .../templates/applications/application_info.html | 13 ++++--------- news/templates/news/events.html | 13 ++----------- news/templates/news/news.html | 13 ++----------- .../templates/projectarchive/projectarchive.html | 13 ++----------- watchlist/templates/watchlist/watchlist.html | 13 +++---------- website/templates/website/about.html | 12 +++--------- .../website/page_overviews/content_title.html | 10 ++++++++++ website/templates/website/rules.html | 16 ++++------------ 8 files changed, 30 insertions(+), 73 deletions(-) create mode 100644 website/templates/website/page_overviews/content_title.html diff --git a/applications/templates/applications/application_info.html b/applications/templates/applications/application_info.html index b4cd57fc1..b62fc39db 100644 --- a/applications/templates/applications/application_info.html +++ b/applications/templates/applications/application_info.html @@ -2,15 +2,10 @@ {% load static %} {% load i18n %} {% block content %} -
-
-
-
-

{% trans "Informasjon om opptaket" %}

-
-
-
-
+ + {% translate "Informasjon om opptaket" as trans_application %} + {% include "website/page_overviews/content_title.html" with title=trans_application %} +


diff --git a/news/templates/news/events.html b/news/templates/news/events.html index d9d0670a9..7de21f4ad 100644 --- a/news/templates/news/events.html +++ b/news/templates/news/events.html @@ -7,17 +7,8 @@ {% endblock header %} {% block content %} -
-
-
-
-

- {% trans "Arrangementer" %} -

-
-
-
-
+ {% translate "Arrangementer" as trans_events %} + {% include "website/page_overviews/content_title.html" with title=trans_events %} {% include "news/_list_admin_banner.html" %} {% if drafts %}
diff --git a/news/templates/news/news.html b/news/templates/news/news.html index eb80ad569..16400d596 100644 --- a/news/templates/news/news.html +++ b/news/templates/news/news.html @@ -7,17 +7,8 @@ {% endblock header %} {% block content %} -
-
-
-
-

- {% trans "Nyheter" %} -

-
-
-
-
+ {% translate "Nyheter" as news %} + {% include "website/page_overviews/content_title.html" with title=news %} {% include "news/_list_admin_banner.html" %} {% if drafts %}
diff --git a/projectarchive/templates/projectarchive/projectarchive.html b/projectarchive/templates/projectarchive/projectarchive.html index 72f9df926..8ac0039fe 100644 --- a/projectarchive/templates/projectarchive/projectarchive.html +++ b/projectarchive/templates/projectarchive/projectarchive.html @@ -7,17 +7,8 @@ {% endblock header %} {% block content %} -
-
-
-
-

- {% trans "Prosjektarkiv" %} -

-
-
-
-
+ {% translate "Prosjektarkiv" as trans_projectarchive %} + {% include "website/page_overviews/content_title.html" with title=trans_projectarchive %} {% include "projectarchive/_list_admin_banner.html" %} {% if drafts %}
diff --git a/watchlist/templates/watchlist/watchlist.html b/watchlist/templates/watchlist/watchlist.html index fce29ca51..26230f0fd 100644 --- a/watchlist/templates/watchlist/watchlist.html +++ b/watchlist/templates/watchlist/watchlist.html @@ -11,16 +11,9 @@ {% endblock %} {% block content %} -
-
-
-
-

Vaktliste

-

{% 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 @@ +
+
+
+

+ {{ title }} +

+

{{ description }}

+
+
+
diff --git a/website/templates/website/rules.html b/website/templates/website/rules.html index ed51753ad..b0a166dfc 100644 --- a/website/templates/website/rules.html +++ b/website/templates/website/rules.html @@ -7,18 +7,10 @@ {% endblock header %} {% block content %} -
-
-
-
-

- {% trans "Regler" %} -

-

{%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 @@

{{ title }}

{{ description }}

+ {{children}}
diff --git a/website/templatetags/__init__.py b/website/templatetags/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/website/templatetags/includechildren.py b/website/templatetags/includechildren.py new file mode 100644 index 000000000..fd1440f96 --- /dev/null +++ b/website/templatetags/includechildren.py @@ -0,0 +1,45 @@ +from django import template +from django.template.library import token_kwargs +from django.template.loader_tags import IncludeNode, construct_relative_path + +register = template.Library() + + +class NewIncludeNode(IncludeNode): + def __init__(self, nodelist, file_name, context, *args, **kwargs): + super().__init__(file_name, *args, extra_context=context, **kwargs) + self.nodelist = nodelist + + def render(self, context): + context["children"] = self.nodelist.render(context) + return super().render(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] + + nodelist = parser.parse(("endincludechildren",)) + parser.delete_first_token() + + remaining_bits = bits[2:] + arguments = {} + while remaining_bits: + key = remaining_bits.pop(0) + if key == "with": + arguments = token_kwargs(remaining_bits, parser) + + file_name = construct_relative_path(parser.origin.template_name, file_name) + print(arguments) + return NewIncludeNode( + nodelist, + parser.compile_filter(file_name), + arguments, + ) From 744f4d79108e7d6c0929d1572c88379d58869610 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:33:54 +0100 Subject: [PATCH 04/15] change headers to use include with children --- .../internalportal/internalportal.html | 12 ++--- inventory/templates/inventory/inventory.html | 17 +++---- .../templates/reservations/queue_list.html | 17 +++---- .../templates/userprofile/members.html | 50 ++++++++----------- 4 files changed, 36 insertions(+), 60 deletions(-) diff --git a/internalportal/templates/internalportal/internalportal.html b/internalportal/templates/internalportal/internalportal.html index adad6188b..430551a30 100644 --- a/internalportal/templates/internalportal/internalportal.html +++ b/internalportal/templates/internalportal/internalportal.html @@ -3,15 +3,9 @@ {% load i18n %} {% block content %} -
-
-
-
-

{% trans "Internportal" %}

-
-
-
-
+ + {% translate "Internportal" as trans_internalportal %} + {% include "website/page_overviews/content_title.html" with title=trans_internalportal %}
diff --git a/inventory/templates/inventory/inventory.html b/inventory/templates/inventory/inventory.html index 68096bc31..9cfe50ab8 100644 --- a/inventory/templates/inventory/inventory.html +++ b/inventory/templates/inventory/inventory.html @@ -1,21 +1,16 @@ {% extends 'website/base.html' %} {% load static %} {% load i18n %} +{% load includechildren %} {% block head %} {{ jquery | safe }} {% endblock %} {% block content %} -
-
-
-
-

{% trans 'Lager' %}

-

{% trans "Her kan du søke i lageret vårt. Lyst til å låne noe? Kom innom verkstedet!" %}

- {% trans 'Se utstyr og apparater' %} -
-
-
-
+ {% translate "Lager" as trans_inventory %} + {% translate "Her kan du søke i lageret vårt. Lyst til å låne noe? Kom innom verkstedet!" as trans_inventory_desc %} + {% includechildren "website/page_overviews/content_title.html" with title=trans_inventory description=trans_inventory_desc %} + {% trans 'Se utstyr og apparater' %} + {% endincludechildren %} {% include "inventory/_list_admin_banner.html" %} diff --git a/reservations/templates/reservations/queue_list.html b/reservations/templates/reservations/queue_list.html index aafa816c7..7ecf39d3e 100644 --- a/reservations/templates/reservations/queue_list.html +++ b/reservations/templates/reservations/queue_list.html @@ -1,19 +1,14 @@ {% extends 'website/base.html' %} {% load i18n %} +{% load includechildren %} {% block content %} -
-
-
-
-

{% trans "Reservasjoner" %}

-

{% trans "På denne siden kan du reservere bruk av diverse utstyr" %}.

- {% trans 'Se Hackerspace sitt utstyr' %} -
-
-
-
+ {% 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" %} +

Children

+ {% endincludechildren %} + + +
+ {{ children }} +
+ ``` + """ nodelist = parser.parse(("endincludechildren",)) parser.delete_first_token() - remaining_bits = bits[2:] - arguments = {} - while remaining_bits: - key = remaining_bits.pop(0) - if key == "with": - arguments = token_kwargs(remaining_bits, parser) + include_node = do_include(parser, token) - file_name = construct_relative_path(parser.origin.template_name, file_name) - print(arguments) - return NewIncludeNode( + return ChildrenIncludedNode( nodelist, - parser.compile_filter(file_name), - arguments, + include_node, ) From c1a3b37211cf17f5a8db31a095ad4faa6b0839cf 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 15:16:39 +0100 Subject: [PATCH 07/15] replace even more files with page overview content title --- .../applications/application_form.html | 17 +++++------- .../applications/application_info.html | 2 +- .../applications/application.html | 2 +- .../applications/applications.html | 2 +- .../applications/interview_email_form.html | 2 +- .../internalportal/internalportal.html | 2 +- .../inventory/equipment/equipment_list.html | 2 +- inventory/templates/inventory/inventory.html | 2 +- .../inventory/loan_applications.html | 15 ++++------- news/templates/news/edit_article.html | 12 +++------ news/templates/news/edit_event.html | 14 ++++------ news/templates/news/events.html | 2 +- news/templates/news/news.html | 2 +- .../projectarchive/edit_article.html | 15 ++++------- .../projectarchive/projectarchive.html | 2 +- .../templates/reservations/queue_list.html | 2 +- search/templates/search/view.html | 26 ++++++------------- .../templates/userprofile/members.html | 2 +- .../templates/userprofile/profile.html | 22 +++++++--------- userprofile/templates/userprofile/skills.html | 14 ++++------ watchlist/templates/watchlist/watchlist.html | 2 +- website/templates/website/about.html | 2 +- website/templates/website/page_header.html | 9 ------- .../content_title.html | 0 website/templates/website/rules.html | 2 +- 25 files changed, 62 insertions(+), 112 deletions(-) delete mode 100644 website/templates/website/page_header.html rename website/templates/website/{page_overviews => page_overview}/content_title.html (100%) diff --git a/applications/templates/applications/application_form.html b/applications/templates/applications/application_form.html index 11d7af137..224c9420d 100644 --- a/applications/templates/applications/application_form.html +++ b/applications/templates/applications/application_form.html @@ -1,5 +1,7 @@ {% extends 'website/base.html' %} {% load static %} +{% load i18n %} +{% load includechildren %} {% block head %} @@ -7,17 +9,10 @@ {{ jquery_ui | safe }} {% endblock %} {% block content %} - -
-
-
-
-

Søknad

- Tilbake til infoside -
-
-
-
+ {% translate "Søknad" as trans_apply %} + {% includechildren "website/page_overview/content_title.html" with title=trans_apply %} + Tilbake til infoside + {% endincludechildren %}
diff --git a/applications/templates/applications/application_info.html b/applications/templates/applications/application_info.html index b62fc39db..7c8353542 100644 --- a/applications/templates/applications/application_info.html +++ b/applications/templates/applications/application_info.html @@ -4,7 +4,7 @@ {% block content %} {% translate "Informasjon om opptaket" as trans_application %} - {% include "website/page_overviews/content_title.html" with title=trans_application %} + {% include "website/page_overview/content_title.html" with title=trans_application %}

diff --git a/internalportal/templates/internalportal/applications/application.html b/internalportal/templates/internalportal/applications/application.html index 6394dfd1f..3ff1ad2ce 100644 --- a/internalportal/templates/internalportal/applications/application.html +++ b/internalportal/templates/internalportal/applications/application.html @@ -7,7 +7,7 @@ {% endblock %} {% block content %} - {% include "website/page_header.html" with title=application.name %} + {% include "website/page_overview/content_title.html" with title=application.name %}
diff --git a/internalportal/templates/internalportal/applications/applications.html b/internalportal/templates/internalportal/applications/applications.html index 53514457d..67e291cd2 100644 --- a/internalportal/templates/internalportal/applications/applications.html +++ b/internalportal/templates/internalportal/applications/applications.html @@ -4,7 +4,7 @@ {% block content %} {% trans "Søknader" as applications_header %} - {% include "website/page_header.html" with title=applications_header %} + {% include "website/page_overview/content_title.html" with title=applications_header %}
    diff --git a/internalportal/templates/internalportal/applications/interview_email_form.html b/internalportal/templates/internalportal/applications/interview_email_form.html index 48bd90b2f..02027d61d 100644 --- a/internalportal/templates/internalportal/applications/interview_email_form.html +++ b/internalportal/templates/internalportal/applications/interview_email_form.html @@ -8,7 +8,7 @@ {% block content %} {% trans "E-post for intervju" as interview_email_header %} - {% include "website/page_header.html" with title=interview_email_header %} + {% include "website/page_overview/content_title.html" with title=interview_email_header %}
    diff --git a/internalportal/templates/internalportal/internalportal.html b/internalportal/templates/internalportal/internalportal.html index 430551a30..02dc500ac 100644 --- a/internalportal/templates/internalportal/internalportal.html +++ b/internalportal/templates/internalportal/internalportal.html @@ -5,7 +5,7 @@ {% block content %} {% translate "Internportal" as trans_internalportal %} - {% include "website/page_overviews/content_title.html" with title=trans_internalportal %} + {% include "website/page_overview/content_title.html" with title=trans_internalportal %}
    diff --git a/inventory/templates/inventory/equipment/equipment_list.html b/inventory/templates/inventory/equipment/equipment_list.html index 48a65358f..629a1d53c 100644 --- a/inventory/templates/inventory/equipment/equipment_list.html +++ b/inventory/templates/inventory/equipment/equipment_list.html @@ -10,7 +10,7 @@ {% 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 "website/page_overview/content_title.html" with title=trans_equipment description=trans_equipment_desc %} {% include "inventory/equipment/_list_admin_banner.html" %} diff --git a/inventory/templates/inventory/inventory.html b/inventory/templates/inventory/inventory.html index 9cfe50ab8..59fcea849 100644 --- a/inventory/templates/inventory/inventory.html +++ b/inventory/templates/inventory/inventory.html @@ -8,7 +8,7 @@ {% block content %} {% translate "Lager" as trans_inventory %} {% translate "Her kan du søke i lageret vårt. Lyst til å låne noe? Kom innom verkstedet!" as trans_inventory_desc %} - {% includechildren "website/page_overviews/content_title.html" with title=trans_inventory description=trans_inventory_desc %} + {% includechildren "website/page_overview/content_title.html" with title=trans_inventory description=trans_inventory_desc %} {% trans 'Se utstyr og apparater' %} {% endincludechildren %} diff --git a/inventory/templates/inventory/loan_applications.html b/inventory/templates/inventory/loan_applications.html index 0662a4fd7..8c8f8d505 100644 --- a/inventory/templates/inventory/loan_applications.html +++ b/inventory/templates/inventory/loan_applications.html @@ -1,17 +1,12 @@ {% extends 'website/base.html' %} {% load static %} +{% load i18n %} {% block content %} -
    -
    -
    -
    -

    Lånesøknader

    -

    Oversikt over lånesøknader

    -
    -
    -
    -
    + + {% translate "Lånesøknader" as trans_loans %} + {% translate "Oversikt over lånesøknader" as trans_loans_desc %} + {% include "website/page_overview/content_title.html" with title=trans_loans description=trans_loans_desc %}
    diff --git a/news/templates/news/edit_article.html b/news/templates/news/edit_article.html index 8c0ca3234..2c64abaf5 100644 --- a/news/templates/news/edit_article.html +++ b/news/templates/news/edit_article.html @@ -9,15 +9,9 @@ {% endblock head %} {% block content %} -
    -
    -
    -
    -

    {% trans "Rediger artikkel" %}

    -
    -
    -
    -
    + {% translate "Rediger artikkel" as trans_edit %} + {% include "website/page_overview/content_title.html" with title=trans_edit %} +
    diff --git a/news/templates/news/edit_event.html b/news/templates/news/edit_event.html index ed447f74a..10ddb23ab 100644 --- a/news/templates/news/edit_event.html +++ b/news/templates/news/edit_event.html @@ -9,15 +9,11 @@ {% endblock head %} {% block content %} -
    -
    -
    -
    -

    {% trans "Rediger arrangement" %}

    -
    -
    -
    -
    + {% translate "Rediger arrangement" as trans_edit %} + {% include "website/page_overview/content_title.html" with title=trans_edit %} + + {% include "news/_list_admin_banner.html" %} +
    diff --git a/news/templates/news/events.html b/news/templates/news/events.html index 7de21f4ad..f38aa6ac5 100644 --- a/news/templates/news/events.html +++ b/news/templates/news/events.html @@ -8,7 +8,7 @@ {% block content %} {% translate "Arrangementer" as trans_events %} - {% include "website/page_overviews/content_title.html" with title=trans_events %} + {% include "website/page_overview/content_title.html" with title=trans_events %} {% include "news/_list_admin_banner.html" %} {% if drafts %}
    diff --git a/news/templates/news/news.html b/news/templates/news/news.html index 16400d596..60e20cc32 100644 --- a/news/templates/news/news.html +++ b/news/templates/news/news.html @@ -8,7 +8,7 @@ {% block content %} {% translate "Nyheter" as news %} - {% include "website/page_overviews/content_title.html" with title=news %} + {% include "website/page_overview/content_title.html" with title=news %} {% include "news/_list_admin_banner.html" %} {% if drafts %}
    diff --git a/projectarchive/templates/projectarchive/edit_article.html b/projectarchive/templates/projectarchive/edit_article.html index a33a20d8d..a30a35bed 100644 --- a/projectarchive/templates/projectarchive/edit_article.html +++ b/projectarchive/templates/projectarchive/edit_article.html @@ -1,5 +1,6 @@ {% extends 'website/base.html' %} {% load static %} +{% load i18n %} {% block head %} @@ -8,15 +9,9 @@ {% endblock head %} {% block content %} -
    -
    -
    -
    -

    Rediger prosjektartikkel

    -
    -
    -
    -
    + {% translate "Rediger prosjektartikkel" as trans_edit %} + {% include "website/page_overview/content_title.html" with title=trans_edit %} +
    @@ -78,4 +73,4 @@
    Innhold
    -{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/projectarchive/templates/projectarchive/projectarchive.html b/projectarchive/templates/projectarchive/projectarchive.html index 8ac0039fe..1069f39cb 100644 --- a/projectarchive/templates/projectarchive/projectarchive.html +++ b/projectarchive/templates/projectarchive/projectarchive.html @@ -8,7 +8,7 @@ {% block content %} {% translate "Prosjektarkiv" as trans_projectarchive %} - {% include "website/page_overviews/content_title.html" with title=trans_projectarchive %} + {% include "website/page_overview/content_title.html" with title=trans_projectarchive %} {% include "projectarchive/_list_admin_banner.html" %} {% if drafts %}
    diff --git a/reservations/templates/reservations/queue_list.html b/reservations/templates/reservations/queue_list.html index 7ecf39d3e..5a8f5eded 100644 --- a/reservations/templates/reservations/queue_list.html +++ b/reservations/templates/reservations/queue_list.html @@ -6,7 +6,7 @@ {% block content %} {% 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 %} + {% includechildren "website/page_overview/content_title.html" with title=trans_reservations description=trans_reservations_desc %} {% trans 'Se Hackerspace sitt utstyr' %} {% endincludechildren %} diff --git a/search/templates/search/view.html b/search/templates/search/view.html index 61da5acd8..86457a6dc 100644 --- a/search/templates/search/view.html +++ b/search/templates/search/view.html @@ -1,31 +1,21 @@ {% extends 'website/base.html' %} {% load static %} +{% load i18n %} +{% load includechildren %} {% block head %} {% endblock %} {% block content %} -
    -
    -
    -
    -

    - Søk -

    -
    -
    -
    -
    -
    -
    - -
    -
    -
    + {% translate "Søk" as trans_search %} + {% includechildren "website/page_overview/content_title.html" with title=trans_search %} +
    +
    +
    -
    + {% endincludechildren %}
    diff --git a/userprofile/templates/userprofile/members.html b/userprofile/templates/userprofile/members.html index 4cded9c90..599eb435e 100644 --- a/userprofile/templates/userprofile/members.html +++ b/userprofile/templates/userprofile/members.html @@ -11,7 +11,7 @@ {% endblock %} {% block content %} {% translate "Medlemmer i Hackerspace" as trans_members %} - {% includechildren "website/page_overviews/content_title.html" with title=trans_members %} + {% includechildren "website/page_overview/content_title.html" with title=trans_members %}

    {% trans "For oversikt over gruppene og deres medlemmer, se" %} {% trans "Om oss" %}.

    diff --git a/userprofile/templates/userprofile/profile.html b/userprofile/templates/userprofile/profile.html index f4ccc4a54..d91cd0d30 100644 --- a/userprofile/templates/userprofile/profile.html +++ b/userprofile/templates/userprofile/profile.html @@ -1,22 +1,20 @@ {% extends 'website/base.html' %} {% load static %} +{% load i18n %} +{% load includechildren %} {% block header %} {% endblock %} {% block content %} -
    -
    -
    -
    -

    Brukerprofil

    - {% if user == profile.user %} - Innstillinger - {% endif %} -
    -
    -
    -
    + + {% translate "Brukerprofil" as trans_profile %} + {% includechildren "website/page_overview/content_title.html" with title=trans_profile %} + {% if user == profile.user %} + {% trans "Innstillinger" %} + {% endif %} + {% endincludechildren %} +
    diff --git a/userprofile/templates/userprofile/skills.html b/userprofile/templates/userprofile/skills.html index cdd2cd181..139dbd831 100644 --- a/userprofile/templates/userprofile/skills.html +++ b/userprofile/templates/userprofile/skills.html @@ -1,5 +1,6 @@ {% extends "website/base.html" %} {% load static %} +{% load i18n %} {% block header %} {{ jquery | safe }} @@ -8,15 +9,10 @@ {% endblock %} {% block content %} -
    -
    -
    -
    -

    Ferdigheter

    -
    -
    -
    -
    + + {% translate "Ferdigheter" as trans_skills %} + {% include "website/page_overview/content_title.html" with title=trans_skills %} +
    diff --git a/watchlist/templates/watchlist/watchlist.html b/watchlist/templates/watchlist/watchlist.html index 26230f0fd..768148290 100644 --- a/watchlist/templates/watchlist/watchlist.html +++ b/watchlist/templates/watchlist/watchlist.html @@ -13,7 +13,7 @@ {% block content %} {% 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 %} + {% include "website/page_overview/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 8310c1d54..a6800215e 100644 --- a/website/templates/website/about.html +++ b/website/templates/website/about.html @@ -3,7 +3,7 @@ {% load i18n %} {% block content %} {% translate "Om Hackerspace NTNU" as trans_about_hs %} - {% include "website/page_overviews/content_title.html" with title=trans_about_hs %} + {% include "website/page_overview/content_title.html" with title=trans_about_hs %}
    diff --git a/website/templates/website/page_header.html b/website/templates/website/page_header.html deleted file mode 100644 index 1da17f4da..000000000 --- a/website/templates/website/page_header.html +++ /dev/null @@ -1,9 +0,0 @@ -
    -
    -
    -
    -

    {{ title }}

    -
    -
    -
    -
    diff --git a/website/templates/website/page_overviews/content_title.html b/website/templates/website/page_overview/content_title.html similarity index 100% rename from website/templates/website/page_overviews/content_title.html rename to website/templates/website/page_overview/content_title.html diff --git a/website/templates/website/rules.html b/website/templates/website/rules.html index b0a166dfc..1c72de207 100644 --- a/website/templates/website/rules.html +++ b/website/templates/website/rules.html @@ -9,7 +9,7 @@ {% block content %} {% 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 %} + {% include "website/page_overview/content_title.html" with title=trans_rules description=trans_rules_desc %}
    From a74e4ba9c4e708f9fa9a84b52e5ff2e5976bdb9f 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 15:17:41 +0100 Subject: [PATCH 08/15] generate locale messages again --- applications/locale/en/LC_MESSAGES/django.po | 6 ++- applications/locale/nb/LC_MESSAGES/django.po | 6 ++- files/locale/en/LC_MESSAGES/django.po | 2 +- files/locale/nb/LC_MESSAGES/django.po | 2 +- .../locale/en/LC_MESSAGES/django.po | 2 +- .../locale/nb/LC_MESSAGES/django.po | 2 +- inventory/locale/en/LC_MESSAGES/django.po | 20 +++++++++- inventory/locale/nb/LC_MESSAGES/django.po | 20 +++++++++- news/locale/en/LC_MESSAGES/django.po | 38 +++++++++---------- news/locale/nb/LC_MESSAGES/django.po | 38 +++++++++---------- .../locale/en/LC_MESSAGES/django.po | 6 ++- .../locale/nb/LC_MESSAGES/django.po | 6 ++- reservations/locale/en/LC_MESSAGES/django.po | 2 +- reservations/locale/nb/LC_MESSAGES/django.po | 2 +- userprofile/locale/en/LC_MESSAGES/django.po | 14 ++++++- userprofile/locale/nb/LC_MESSAGES/django.po | 14 ++++++- 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, 132 insertions(+), 56 deletions(-) diff --git a/applications/locale/en/LC_MESSAGES/django.po b/applications/locale/en/LC_MESSAGES/django.po index 77bc9a8ae..30dc282f6 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,10 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: applications/templates/applications/application_form.html:12 +msgid "Søknad" +msgstr "" + #: applications/templates/applications/application_info.html:6 msgid "Informasjon om opptaket" msgstr "Information about the admission" diff --git a/applications/locale/nb/LC_MESSAGES/django.po b/applications/locale/nb/LC_MESSAGES/django.po index 76c7dad12..78f94cae5 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,10 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: applications/templates/applications/application_form.html:12 +msgid "Søknad" +msgstr "" + #: applications/templates/applications/application_info.html:6 msgid "Informasjon om opptaket" msgstr "" diff --git a/files/locale/en/LC_MESSAGES/django.po b/files/locale/en/LC_MESSAGES/django.po index 15c619408..cddad094c 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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 49afd7f1a..2e43ea566 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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 a676a6c07..0150cbe31 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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/nb/LC_MESSAGES/django.po b/internalportal/locale/nb/LC_MESSAGES/django.po index 0bc405c86..19d72e0e6 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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/en/LC_MESSAGES/django.po b/inventory/locale/en/LC_MESSAGES/django.po index 55303487c..901e10ef2 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,16 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: inventory/templates/inventory/equipment/equipment_list.html:11 +msgid "Utstyr" +msgstr "" + +#: inventory/templates/inventory/equipment/equipment_list.html:12 +msgid "" +"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." +msgstr "" + #: inventory/templates/inventory/inventory.html:9 msgid "Lager" msgstr "Inventory" @@ -112,3 +122,11 @@ msgstr "the workshop" #: inventory/templates/inventory/items_list.html:76 msgid "og spør oss!" msgstr "and ask us!" + +#: inventory/templates/inventory/loan_applications.html:7 +msgid "Lånesøknader" +msgstr "" + +#: inventory/templates/inventory/loan_applications.html:8 +msgid "Oversikt over lånesøknader" +msgstr "" diff --git a/inventory/locale/nb/LC_MESSAGES/django.po b/inventory/locale/nb/LC_MESSAGES/django.po index 27aac59ed..10238f513 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,16 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: inventory/templates/inventory/equipment/equipment_list.html:11 +msgid "Utstyr" +msgstr "" + +#: inventory/templates/inventory/equipment/equipment_list.html:12 +msgid "" +"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." +msgstr "" + #: inventory/templates/inventory/inventory.html:9 msgid "Lager" msgstr "" @@ -110,3 +120,11 @@ msgstr "" #: inventory/templates/inventory/items_list.html:76 msgid "og spør oss!" msgstr "" + +#: inventory/templates/inventory/loan_applications.html:7 +msgid "Lånesøknader" +msgstr "" + +#: inventory/templates/inventory/loan_applications.html:8 +msgid "Oversikt over lånesøknader" +msgstr "" diff --git a/news/locale/en/LC_MESSAGES/django.po b/news/locale/en/LC_MESSAGES/django.po index fb0f6f220..e05a1fb05 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,7 +31,7 @@ msgid "Administrator-meny" msgstr "Administrator Menu" #: news/templates/news/_event_admin_menu.html:14 -#: news/templates/news/edit_event.html:16 +#: news/templates/news/edit_event.html:12 msgid "Rediger arrangement" msgstr "Edit event" @@ -128,7 +128,7 @@ msgstr "Read" msgid "ganger" msgstr "times" -#: news/templates/news/article.html:61 news/templates/news/edit_article.html:16 +#: news/templates/news/article.html:61 news/templates/news/edit_article.html:12 msgid "Rediger artikkel" msgstr "Edit article" @@ -193,13 +193,13 @@ msgstr "Attended" msgid "Lagre" msgstr "Save" -#: news/templates/news/edit_article.html:27 -#: news/templates/news/edit_event.html:29 +#: news/templates/news/edit_article.html:21 +#: news/templates/news/edit_event.html:25 msgid "Innhold" msgstr "Content" -#: news/templates/news/edit_article.html:48 -#: news/templates/news/edit_event.html:51 +#: news/templates/news/edit_article.html:42 +#: news/templates/news/edit_event.html:47 msgid "" "Bare markdown støttes i dette feltet, html blir returnert som plaintext. " "Bilder kan legges til ved drag-and-drop." @@ -207,42 +207,42 @@ msgstr "" "Only markdown is supported in this field, HTML will be returned as " "plaintext. Images can be added using drag-and-drop." -#: news/templates/news/edit_article.html:80 -#: news/templates/news/edit_article.html:81 +#: news/templates/news/edit_article.html:74 +#: news/templates/news/edit_article.html:75 msgid "Lagre og publiser artikkel" msgstr "Save and publish article" -#: news/templates/news/edit_article.html:82 -#: news/templates/news/edit_event.html:245 +#: news/templates/news/edit_article.html:76 +#: news/templates/news/edit_event.html:241 msgid "Lagre som utkast" msgstr "Save as draft" -#: news/templates/news/edit_event.html:61 +#: news/templates/news/edit_event.html:57 msgid "Velg hovedbilde" msgstr "Select main image" -#: news/templates/news/edit_event.html:84 +#: news/templates/news/edit_event.html:80 msgid "Internt arrangement (Kun Hackerspace-medlemmer kan se arrangementet)" msgstr "Internal event (Only Hackerspace members can see the event)" -#: news/templates/news/edit_event.html:151 news/templates/news/event.html:103 +#: news/templates/news/edit_event.html:147 news/templates/news/event.html:103 msgid "Påmelding" msgstr "Registration" -#: news/templates/news/edit_event.html:185 +#: news/templates/news/edit_event.html:181 msgid "Ferdigheter" msgstr "Skills" -#: news/templates/news/edit_event.html:202 news/templates/news/event.html:153 +#: news/templates/news/edit_event.html:198 news/templates/news/event.html:153 msgid "Filer" msgstr "Files" -#: news/templates/news/edit_event.html:224 +#: news/templates/news/edit_event.html:220 msgid "Ferdig" msgstr "Done" -#: news/templates/news/edit_event.html:239 -#: news/templates/news/edit_event.html:242 +#: news/templates/news/edit_event.html:235 +#: news/templates/news/edit_event.html:238 msgid "Lagre og publiser arrangement" msgstr "Save and publish event" diff --git a/news/locale/nb/LC_MESSAGES/django.po b/news/locale/nb/LC_MESSAGES/django.po index a710306af..07b82061f 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -37,7 +37,7 @@ msgid "Administrator-meny" msgstr "" #: news/templates/news/_event_admin_menu.html:14 -#: news/templates/news/edit_event.html:16 +#: news/templates/news/edit_event.html:12 msgid "Rediger arrangement" msgstr "" @@ -134,7 +134,7 @@ msgstr "" msgid "ganger" msgstr "" -#: news/templates/news/article.html:61 news/templates/news/edit_article.html:16 +#: news/templates/news/article.html:61 news/templates/news/edit_article.html:12 msgid "Rediger artikkel" msgstr "" @@ -199,54 +199,54 @@ msgstr "" msgid "Lagre" msgstr "" -#: news/templates/news/edit_article.html:27 -#: news/templates/news/edit_event.html:29 +#: news/templates/news/edit_article.html:21 +#: news/templates/news/edit_event.html:25 msgid "Innhold" msgstr "" -#: news/templates/news/edit_article.html:48 -#: news/templates/news/edit_event.html:51 +#: news/templates/news/edit_article.html:42 +#: news/templates/news/edit_event.html:47 msgid "" "Bare markdown støttes i dette feltet, html blir returnert som plaintext. " "Bilder kan legges til ved drag-and-drop." msgstr "" -#: news/templates/news/edit_article.html:80 -#: news/templates/news/edit_article.html:81 +#: news/templates/news/edit_article.html:74 +#: news/templates/news/edit_article.html:75 msgid "Lagre og publiser artikkel" msgstr "" -#: news/templates/news/edit_article.html:82 -#: news/templates/news/edit_event.html:245 +#: news/templates/news/edit_article.html:76 +#: news/templates/news/edit_event.html:241 msgid "Lagre som utkast" msgstr "" -#: news/templates/news/edit_event.html:61 +#: news/templates/news/edit_event.html:57 msgid "Velg hovedbilde" msgstr "" -#: news/templates/news/edit_event.html:84 +#: news/templates/news/edit_event.html:80 msgid "Internt arrangement (Kun Hackerspace-medlemmer kan se arrangementet)" msgstr "" -#: news/templates/news/edit_event.html:151 news/templates/news/event.html:103 +#: news/templates/news/edit_event.html:147 news/templates/news/event.html:103 msgid "Påmelding" msgstr "" -#: news/templates/news/edit_event.html:185 +#: news/templates/news/edit_event.html:181 msgid "Ferdigheter" msgstr "" -#: news/templates/news/edit_event.html:202 news/templates/news/event.html:153 +#: news/templates/news/edit_event.html:198 news/templates/news/event.html:153 msgid "Filer" msgstr "" -#: news/templates/news/edit_event.html:224 +#: news/templates/news/edit_event.html:220 msgid "Ferdig" msgstr "" -#: news/templates/news/edit_event.html:239 -#: news/templates/news/edit_event.html:242 +#: news/templates/news/edit_event.html:235 +#: news/templates/news/edit_event.html:238 msgid "Lagre og publiser arrangement" msgstr "" diff --git a/projectarchive/locale/en/LC_MESSAGES/django.po b/projectarchive/locale/en/LC_MESSAGES/django.po index ffbdcca0a..b05df71c6 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,10 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: projectarchive/templates/projectarchive/edit_article.html:12 +msgid "Rediger prosjektartikkel" +msgstr "" + #: 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 609315f12..a9a93732c 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,10 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: projectarchive/templates/projectarchive/edit_article.html:12 +msgid "Rediger prosjektartikkel" +msgstr "" + #: 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 d0794f759..60237d90a 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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 c597ff4a3..2625a82c4 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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 37f861eb6..ff8db1cff 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,3 +41,15 @@ msgstr "Click on skills to see what people do not have" #: userprofile/templates/userprofile/members_list.html:32 msgid "Det finnes ingen profiler etter dine søkekriterier" msgstr "There are no members with your search criteria" + +#: userprofile/templates/userprofile/profile.html:11 +msgid "Brukerprofil" +msgstr "" + +#: userprofile/templates/userprofile/profile.html:14 +msgid "Innstillinger" +msgstr "" + +#: userprofile/templates/userprofile/skills.html:13 +msgid "Ferdigheter" +msgstr "" diff --git a/userprofile/locale/nb/LC_MESSAGES/django.po b/userprofile/locale/nb/LC_MESSAGES/django.po index 38b0f769c..9779ef6fb 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,3 +41,15 @@ msgstr "" #: userprofile/templates/userprofile/members_list.html:32 msgid "Det finnes ingen profiler etter dine søkekriterier" msgstr "" + +#: userprofile/templates/userprofile/profile.html:11 +msgid "Brukerprofil" +msgstr "" + +#: userprofile/templates/userprofile/profile.html:14 +msgid "Innstillinger" +msgstr "" + +#: userprofile/templates/userprofile/skills.html:13 +msgid "Ferdigheter" +msgstr "" diff --git a/watchlist/locale/en/LC_MESSAGES/django.po b/watchlist/locale/en/LC_MESSAGES/django.po index 320413bec..ece12a5f7 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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 d139759e7..18c8eef35 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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 fb926f9a1..7085d05c2 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+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 ab35955bf..9632d3101 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 13:35+0100\n" +"POT-Creation-Date: 2024-02-24 15:16+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" From 9845439be2011edf47217f65cee4340f056db00d 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 15:20:00 +0100 Subject: [PATCH 09/15] generate locale messages and add two english translations --- applications/locale/en/LC_MESSAGES/django.po | 8 ++++++-- applications/locale/nb/LC_MESSAGES/django.po | 6 +++++- applications/templates/applications/application_form.html | 2 +- files/locale/en/LC_MESSAGES/django.po | 2 +- files/locale/nb/LC_MESSAGES/django.po | 2 +- internalportal/locale/en/LC_MESSAGES/django.po | 2 +- internalportal/locale/nb/LC_MESSAGES/django.po | 2 +- inventory/locale/en/LC_MESSAGES/django.po | 2 +- inventory/locale/nb/LC_MESSAGES/django.po | 2 +- news/locale/en/LC_MESSAGES/django.po | 2 +- news/locale/nb/LC_MESSAGES/django.po | 2 +- projectarchive/locale/en/LC_MESSAGES/django.po | 2 +- projectarchive/locale/nb/LC_MESSAGES/django.po | 2 +- 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 | 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 +- 21 files changed, 30 insertions(+), 22 deletions(-) diff --git a/applications/locale/en/LC_MESSAGES/django.po b/applications/locale/en/LC_MESSAGES/django.po index 30dc282f6..47770ee77 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -20,7 +20,11 @@ msgstr "" #: applications/templates/applications/application_form.html:12 msgid "Søknad" -msgstr "" +msgstr "Application" + +#: applications/templates/applications/application_form.html:14 +msgid "Tilbake til infoside" +msgstr "Back to information page" #: applications/templates/applications/application_info.html:6 msgid "Informasjon om opptaket" diff --git a/applications/locale/nb/LC_MESSAGES/django.po b/applications/locale/nb/LC_MESSAGES/django.po index 78f94cae5..c1e50a835 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,6 +22,10 @@ msgstr "" msgid "Søknad" msgstr "" +#: applications/templates/applications/application_form.html:14 +msgid "Tilbake til infoside" +msgstr "" + #: applications/templates/applications/application_info.html:6 msgid "Informasjon om opptaket" msgstr "" diff --git a/applications/templates/applications/application_form.html b/applications/templates/applications/application_form.html index 224c9420d..fbcf92e11 100644 --- a/applications/templates/applications/application_form.html +++ b/applications/templates/applications/application_form.html @@ -11,7 +11,7 @@ {% block content %} {% translate "Søknad" as trans_apply %} {% includechildren "website/page_overview/content_title.html" with title=trans_apply %} - Tilbake til infoside + {% trans "Tilbake til infoside" %} {% endincludechildren %}
    diff --git a/files/locale/en/LC_MESSAGES/django.po b/files/locale/en/LC_MESSAGES/django.po index cddad094c..da909342f 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 2e43ea566..45422c31c 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 0150cbe31..07c81aa5f 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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/nb/LC_MESSAGES/django.po b/internalportal/locale/nb/LC_MESSAGES/django.po index 19d72e0e6..435cd04ad 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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/en/LC_MESSAGES/django.po b/inventory/locale/en/LC_MESSAGES/django.po index 901e10ef2..dd4e9db10 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 10238f513..3710b09bb 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 e05a1fb05..c58935f3a 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 07b82061f..5ce32d730 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 b05df71c6..db825b4bd 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 a9a93732c..a00f3bbb2 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 60237d90a..ee5ab036b 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 2625a82c4..ad2f0cbad 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 ff8db1cff..ec1c6c4bc 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 9779ef6fb..c209c0cce 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 ece12a5f7..e34e73fdd 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 18c8eef35..8cd8f8c56 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 7085d05c2..d7bcd2e97 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+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 9632d3101..ccd10703d 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 15:16+0100\n" +"POT-Creation-Date: 2024-02-24 15:19+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" From 310da47f8e4e6140c5826ddf1612740c6128a02b 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 15:23:16 +0100 Subject: [PATCH 10/15] hopefully last time to generate new messages, but added another term --- 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 +- internalportal/locale/en/LC_MESSAGES/django.po | 2 +- internalportal/locale/nb/LC_MESSAGES/django.po | 2 +- inventory/locale/en/LC_MESSAGES/django.po | 2 +- inventory/locale/nb/LC_MESSAGES/django.po | 2 +- news/locale/en/LC_MESSAGES/django.po | 2 +- news/locale/nb/LC_MESSAGES/django.po | 2 +- projectarchive/locale/en/LC_MESSAGES/django.po | 2 +- projectarchive/locale/nb/LC_MESSAGES/django.po | 2 +- reservations/locale/en/LC_MESSAGES/django.po | 2 +- reservations/locale/nb/LC_MESSAGES/django.po | 2 +- search/templates/search/view.html | 2 +- userprofile/locale/en/LC_MESSAGES/django.po | 2 +- userprofile/locale/nb/LC_MESSAGES/django.po | 2 +- 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 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/applications/locale/en/LC_MESSAGES/django.po b/applications/locale/en/LC_MESSAGES/django.po index 47770ee77..9edbb33fc 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 c1e50a835..2f903ca87 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 da909342f..bb9645be6 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 45422c31c..f5865ef25 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 07c81aa5f..60e5e745f 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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/nb/LC_MESSAGES/django.po b/internalportal/locale/nb/LC_MESSAGES/django.po index 435cd04ad..c5406d7ea 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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/en/LC_MESSAGES/django.po b/inventory/locale/en/LC_MESSAGES/django.po index dd4e9db10..385810007 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 3710b09bb..e33b51e43 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 c58935f3a..3f302cafa 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 5ce32d730..cf93d3c0f 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 db825b4bd..b97d3bda8 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 a00f3bbb2..c54062c55 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 ee5ab036b..e1707b9bf 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 ad2f0cbad..45e695ce7 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/search/templates/search/view.html b/search/templates/search/view.html index 86457a6dc..86e869581 100644 --- a/search/templates/search/view.html +++ b/search/templates/search/view.html @@ -12,7 +12,7 @@ {% includechildren "website/page_overview/content_title.html" with title=trans_search %}
    - +
    {% endincludechildren %} diff --git a/userprofile/locale/en/LC_MESSAGES/django.po b/userprofile/locale/en/LC_MESSAGES/django.po index ec1c6c4bc..723815476 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 c209c0cce..c3c78507f 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 e34e73fdd..faf8dc31d 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 8cd8f8c56..c9a546a0e 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 d7bcd2e97..19f8a4b04 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+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 ccd10703d..80d192f1c 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 15:19+0100\n" +"POT-Creation-Date: 2024-02-24 15:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" From 974769f2accce15540b935295d94d460cab6b20f 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 15:32:03 +0100 Subject: [PATCH 11/15] add english translations to locale files --- inventory/locale/en/LC_MESSAGES/django.po | 8 +++++--- projectarchive/locale/en/LC_MESSAGES/django.po | 2 +- userprofile/locale/en/LC_MESSAGES/django.po | 6 +++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/inventory/locale/en/LC_MESSAGES/django.po b/inventory/locale/en/LC_MESSAGES/django.po index 385810007..616d3c593 100644 --- a/inventory/locale/en/LC_MESSAGES/django.po +++ b/inventory/locale/en/LC_MESSAGES/django.po @@ -20,13 +20,15 @@ msgstr "" #: inventory/templates/inventory/equipment/equipment_list.html:11 msgid "Utstyr" -msgstr "" +msgstr "Equipment" #: inventory/templates/inventory/equipment/equipment_list.html:12 msgid "" "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." msgstr "" +"Here you can find equipment that Hackerspace has. Not all equipment are available to borrow, " +"but those that are, have a link to the item in the storage." #: inventory/templates/inventory/inventory.html:9 msgid "Lager" @@ -125,8 +127,8 @@ msgstr "and ask us!" #: inventory/templates/inventory/loan_applications.html:7 msgid "Lånesøknader" -msgstr "" +msgstr "Loan applications" #: inventory/templates/inventory/loan_applications.html:8 msgid "Oversikt over lånesøknader" -msgstr "" +msgstr "Overview of loan applications" diff --git a/projectarchive/locale/en/LC_MESSAGES/django.po b/projectarchive/locale/en/LC_MESSAGES/django.po index b97d3bda8..1fed78865 100644 --- a/projectarchive/locale/en/LC_MESSAGES/django.po +++ b/projectarchive/locale/en/LC_MESSAGES/django.po @@ -20,7 +20,7 @@ msgstr "" #: projectarchive/templates/projectarchive/edit_article.html:12 msgid "Rediger prosjektartikkel" -msgstr "" +msgstr "Edit project article" #: projectarchive/templates/projectarchive/projectarchive.html:10 msgid "Prosjektarkiv" diff --git a/userprofile/locale/en/LC_MESSAGES/django.po b/userprofile/locale/en/LC_MESSAGES/django.po index 723815476..440f25fd7 100644 --- a/userprofile/locale/en/LC_MESSAGES/django.po +++ b/userprofile/locale/en/LC_MESSAGES/django.po @@ -44,12 +44,12 @@ msgstr "There are no members with your search criteria" #: userprofile/templates/userprofile/profile.html:11 msgid "Brukerprofil" -msgstr "" +msgstr "Profile" #: userprofile/templates/userprofile/profile.html:14 msgid "Innstillinger" -msgstr "" +msgstr "Settings" #: userprofile/templates/userprofile/skills.html:13 msgid "Ferdigheter" -msgstr "" +msgstr "Skills" From 968ece0e17d5b8b2fe1dd92a1839420b77f99516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20G=C3=BCtzkow?= <70779496+CJGutz@users.noreply.github.com> Date: Tue, 27 Feb 2024 00:21:16 +0100 Subject: [PATCH 12/15] rename to includeslots and add several slots --- website/templatetags/includechildren.py | 46 -------------- website/templatetags/includeslots.py | 80 +++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 46 deletions(-) delete mode 100644 website/templatetags/includechildren.py create mode 100644 website/templatetags/includeslots.py diff --git a/website/templatetags/includechildren.py b/website/templatetags/includechildren.py deleted file mode 100644 index 1d216ef54..000000000 --- a/website/templatetags/includechildren.py +++ /dev/null @@ -1,46 +0,0 @@ -from django import template -from django.template.loader_tags import IncludeNode, do_include - -register = template.Library() - - -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) - return super().render(context) - - -@register.tag("includechildren") -def include_children(parser, token): - """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" %} -

    Children

    - {% endincludechildren %} - - -
    - {{ children }} -
    - ``` - """ - nodelist = parser.parse(("endincludechildren",)) - parser.delete_first_token() - - include_node = do_include(parser, token) - - return ChildrenIncludedNode( - nodelist, - include_node, - ) diff --git a/website/templatetags/includeslots.py b/website/templatetags/includeslots.py new file mode 100644 index 000000000..d2880fc7d --- /dev/null +++ b/website/templatetags/includeslots.py @@ -0,0 +1,80 @@ +from dataclasses import dataclass +from typing import List + +from django import template +from django.template.loader_tags import IncludeNode, do_include + +register = template.Library() + + +@dataclass +class SlotNode: + name: str + nodelist: template.NodeList + + +class ChildrenIncludedNode(IncludeNode): + def __init__(self, slots: List[SlotNode], include_node: IncludeNode): + self.slots = slots + + self.template = include_node.template + self.extra_context = include_node.extra_context + self.isolated_context = include_node.isolated_context + + def render(self, context): + for slot in self.slots: + print("slot", slot) + context[slot.name] = slot.nodelist.render(context) + return super().render(context) + + +END_SLOTS = "endslots" +SLOT = "slot" + + +@register.tag("includeslots") +def include_slots(parser, token): + """Extends the include tag to add slots to the context. + Any HTML between `includeslots` and the next `slot` or + `endslots` are inserted in the context variable as the + slot argument. + + Usage: + ```html + + {% includeslots "template.html" %} + {% slot firstslot %} +

    Children

    + {% slot second_one %} + + {% endslots %} + + +
    + {{ firstslot }} + {{ second_one }} +
    + ``` + """ + + nodelist = parser.parse((SLOT, END_SLOTS)) + first_token = token + token = parser.next_token() + + slots: List[SlotNode] = [] + while token.contents.startswith(SLOT): + bits = token.split_contents() + if len(bits) != 2: + raise template.TemplateSyntaxError( + f"Requires one argument, got {len(bits) - 1} for {token.contents}" + ) + nodelist = parser.parse((SLOT, END_SLOTS)) + slots.append(SlotNode(bits[1], nodelist)) + token = parser.next_token() + + include_node = do_include(parser, first_token) + + return ChildrenIncludedNode( + slots, + include_node, + ) From d6778bd66b1a9f8bd65651edec28341bb5f3c430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20G=C3=BCtzkow?= <70779496+CJGutz@users.noreply.github.com> Date: Tue, 27 Feb 2024 00:30:20 +0100 Subject: [PATCH 13/15] change to use includeslots --- .../applications/application_form.html | 213 +++++++++--------- inventory/templates/inventory/inventory.html | 179 +++++++-------- .../templates/reservations/queue_list.html | 121 +++++----- search/templates/search/view.html | 37 +-- .../templates/userprofile/members.html | 181 +++++++-------- .../templates/userprofile/profile.html | 171 +++++++------- website/templatetags/includeslots.py | 4 +- 7 files changed, 456 insertions(+), 450 deletions(-) diff --git a/applications/templates/applications/application_form.html b/applications/templates/applications/application_form.html index fbcf92e11..0678a43e0 100644 --- a/applications/templates/applications/application_form.html +++ b/applications/templates/applications/application_form.html @@ -1,7 +1,7 @@ {% extends 'website/base.html' %} {% load static %} {% load i18n %} -{% load includechildren %} +{% load includeslots %} {% block head %} @@ -10,122 +10,123 @@ {% endblock %} {% block content %} {% translate "Søknad" as trans_apply %} - {% includechildren "website/page_overview/content_title.html" with title=trans_apply %} - {% trans "Tilbake til infoside" %} - {% endincludechildren %} -
    -
    -
    -
    -
    Velkommen til søknadssiden for Hackerspace NTNU sitt opptak!
    -

    Når opptaket er ferdig, kontakter vi deg med svar via e-postadressen du oppgir under.

    -
    + {% includeslots "website/page_overview/content_title.html" with title=trans_apply %} + {% slot children %} + {% trans "Tilbake til infoside" %} +{% endslots %} +
    +
    +
    +
    +
    Velkommen til søknadssiden for Hackerspace NTNU sitt opptak!
    +

    Når opptaket er ferdig, kontakter vi deg med svar via e-postadressen du oppgir under.

    -
    -
    - - {% csrf_token %} -
    -
    - {{ form.name }} - -
    -
    - {{ form.email }} - - {% if form.email.errors %} - {{ form.email.errors }} - {% endif %} -
    -
    - {{ form.phone }} - - {% if form.phone.errors %} - {{ form.phone.errors }} - {% endif %} -
    -
    - {{ form.study }} - -
    -
    - {{ form.year }} - - {% if form.year.errors %} - {{ form.year.errors }} - {% endif %} -
    +
    +
    +
    + + {% csrf_token %} +
    +
    + {{ form.name }} + +
    +
    + {{ form.email }} + + {% if form.email.errors %} + {{ form.email.errors }} + {% endif %} +
    +
    + {{ form.phone }} + + {% if form.phone.errors %} + {{ form.phone.errors }} + {% endif %} +
    +
    + {{ form.study }} + +
    +
    + {{ form.year }} + + {% if form.year.errors %} + {{ form.year.errors }} + {% endif %} +
    -
    - {{ form.knowledge_of_hs }} - - {% if form.knowledge_of_hs.errors %} - {{ form.knowledge_of_hs.errors }} - {% endif %} -
    +
    + {{ form.knowledge_of_hs }} + + {% if form.knowledge_of_hs.errors %} + {{ form.knowledge_of_hs.errors }} + {% endif %} +
    -
    - {{ form.about }} - - {% if form.about.errors %} - {{ form.about.errors }} - {% else %} - Vi ønsker å vite litt om hvem du er som person, hva du liker å gjøre på fritiden, etc. - {% endif %} -
    -
    - {{ form.application_text }} - - {% if form.application_text.errors %} - {{ form.application_text.errors }} - {% else %} - Skriv gjerne litt om hva du har lyst til å jobbe med innenfor gruppen, dersom relevant. - {% endif %} -
    +
    + {{ form.about }} + + {% if form.about.errors %} + {{ form.about.errors }} + {% else %} + Vi ønsker å vite litt om hvem du er som person, hva du liker å gjøre på fritiden, etc. + {% endif %} +
    +
    + {{ form.application_text }} + + {% if form.application_text.errors %} + {{ form.application_text.errors }} + {% else %} + Skriv gjerne litt om hva du har lyst til å jobbe med innenfor gruppen, dersom relevant. + {% endif %} +
    -
    - -
    -
    - Legg til - -
    +
    + +
    +
    + Legg til +
    - - {% if form.group_choice.errors %} - {{ form.group_choice.errors }} - {% endif %} - {{ form.group_choice }}
    + + {% if form.group_choice.errors %} + {{ form.group_choice.errors }} + {% endif %} + {{ form.group_choice }} +
    -
    - {{ form.project_interests }} - - {% if form.project_interests.errors %} - {{ form.project_interests.errors }} - {% else %} - Beskriv gjerne om du ønsker å danne nye prosjekter. Vi ønsker å vite hva som interesserer deg. - {% endif %} -
    +
    + {{ form.project_interests }} + + {% if form.project_interests.errors %} + {{ form.project_interests.errors }} + {% else %} + Beskriv gjerne om du ønsker å danne nye prosjekter. Vi ønsker å vite hva som interesserer deg. + {% endif %} +
    +
    +
    +
    +

    Informasjonen oppgitt i dette skjema vil kun benyttes av styret (gruppeledere og ledelsen) til formål for opptaket. Dataen vil permanent slettes etter opptaket er ferdig.

    +
    -
    -
    -

    Informasjonen oppgitt i dette skjema vil kun benyttes av styret (gruppeledere og ledelsen) til formål for opptaket. Dataen vil permanent slettes etter opptaket er ferdig.

    -
    -
    -
    - -
    +
    +
    - -
    -
    +
    +
    +
    +
    {% endblock content %} diff --git a/inventory/templates/inventory/inventory.html b/inventory/templates/inventory/inventory.html index 59fcea849..5b38c236e 100644 --- a/inventory/templates/inventory/inventory.html +++ b/inventory/templates/inventory/inventory.html @@ -1,107 +1,108 @@ {% extends 'website/base.html' %} {% load static %} {% load i18n %} -{% load includechildren %} +{% load includeslots %} {% block head %} {{ jquery | safe }} {% endblock %} {% block content %} {% translate "Lager" as trans_inventory %} {% translate "Her kan du søke i lageret vårt. Lyst til å låne noe? Kom innom verkstedet!" as trans_inventory_desc %} - {% includechildren "website/page_overview/content_title.html" with title=trans_inventory description=trans_inventory_desc %} - {% trans 'Se utstyr og apparater' %} - {% endincludechildren %} - - {% include "inventory/_list_admin_banner.html" %} - -
    -
    -
    -
    -
    - - -
    -
    - - -
    -
    + {% includeslots "website/page_overview/content_title.html" with title=trans_inventory description=trans_inventory_desc %} + {% slot children %} + {% trans 'Se utstyr og apparater' %} +{% endslots %} + +{% include "inventory/_list_admin_banner.html" %} + +
    +
    + +
    +
    + +
    - +
    + + +
    +
    +
    + -
    +
    -
    - - + {% endblock %} diff --git a/reservations/templates/reservations/queue_list.html b/reservations/templates/reservations/queue_list.html index 5a8f5eded..d04e0fd26 100644 --- a/reservations/templates/reservations/queue_list.html +++ b/reservations/templates/reservations/queue_list.html @@ -1,78 +1,79 @@ {% extends 'website/base.html' %} {% load i18n %} -{% load includechildren %} +{% load includeslots %} {% block content %} {% translate "Reservasjoner" as trans_reservations %} {% translate "På denne siden kan du reservere bruk av diverse utstyr" as trans_reservations_desc %} - {% includechildren "website/page_overview/content_title.html" with title=trans_reservations description=trans_reservations_desc %} - {% trans 'Se Hackerspace sitt utstyr' %} - {% endincludechildren %} + {% includeslots "website/page_overview/content_title.html" with title=trans_reservations description=trans_reservations_desc %} + {% slot children %} + {% trans 'Se Hackerspace sitt utstyr' %} +{% endslots %} - {% regroup reservation_list|dictsort:'parent_queue.name' by parent_queue as reservation_list %} +{% regroup reservation_list|dictsort:'parent_queue.name' by parent_queue as reservation_list %} -
    -
    -
    -
    -

    Viktig informasjon

    - {% if printer_rule %} -
    - {% trans "Les" %} {% trans "regler for bruk av 3D-printer" %} {% trans "før du starter" %}. -
    - {% endif %} -
    {% trans "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 opp tidsnok (gjerne 5 minutter før avsatt tid) og ikke går over tiden du har booket" %}. +
    +
    +
    +
    +

    Viktig informasjon

    + {% if printer_rule %} +
    + {% trans "Les" %} {% trans "regler for bruk av 3D-printer" %} {% trans "før du starter" %}.
    -
    -
    -
    -

    Tilgjengelige køer

    + {% endif %} +
    {% trans "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 opp tidsnok (gjerne 5 minutter før avsatt tid) og ikke går over tiden du har booket" %}. +
    +
    +
    +
    +

    Tilgjengelige køer

    -
      - {% for queue in object_list %} - {% if not queue.hidden %} -
    • - - - {% if queue.out_of_order %} - {{ queue.name }} - {% trans "I ustand" %} - {% else %} - - {{ queue.name }} - - {% endif %} - -

      - {% trans "Vanskelighetsgrad" %}: {{ queue.get_difficulty_string }} +

        + {% for queue in object_list %} + {% if not queue.hidden %} +
      • + + + {% if queue.out_of_order %} + {{ queue.name }} - {% trans "I ustand" %} + {% else %} + + {{ queue.name }} + + {% endif %} + +

        + {% trans "Vanskelighetsgrad" %}: {{ queue.get_difficulty_string }} +

        +

        {{ queue.description|linebreaks }}

        +
      • + {% endif %} + {% endfor %} +
      +
    +
    +

    {% trans "Mine reservasjoner" %}

    + {% if user.is_authenticated %} + {% for queue in reservation_list %} +
      +
    • {{ queue.grouper }}
    • + {% for reservation in queue.list %} +
    • +

      {% trans "Fra" %} {{ reservation.start }}
      + {% trans "til" %} {{ reservation.end }}

      -

      {{ queue.description|linebreaks }}

    • - {% endif %} - {% endfor %} + {% empty %}

      {% trans "Du har ingen reservasjoner" %}.

      {% endfor %}
    {% endfor %} + {% else %} +
      +
    • {% trans "Logg inn for å se reservasjoner" %}.
    -
    -
    -

    {% trans "Mine reservasjoner" %}

    - {% if user.is_authenticated %} - {% for queue in reservation_list %} -
      -
    • {{ queue.grouper }}
    • - {% for reservation in queue.list %} -
    • -

      {% trans "Fra" %} {{ reservation.start }}
      - {% trans "til" %} {{ reservation.end }} -

      -
    • - {% empty %}

      {% trans "Du har ingen reservasjoner" %}.

      {% endfor %}
    {% endfor %} - {% else %} -
      -
    • {% trans "Logg inn for å se reservasjoner" %}.
    • -
    - LOGG INN - {% endif %} -
    + LOGG INN + {% endif %}
    +
    {% endblock content %} diff --git a/search/templates/search/view.html b/search/templates/search/view.html index 86e869581..c6ae5af6e 100644 --- a/search/templates/search/view.html +++ b/search/templates/search/view.html @@ -1,7 +1,7 @@ {% extends 'website/base.html' %} {% load static %} {% load i18n %} -{% load includechildren %} +{% load includeslots %} {% block head %} @@ -9,25 +9,26 @@ {% block content %} {% translate "Søk" as trans_search %} - {% includechildren "website/page_overview/content_title.html" with title=trans_search %} -
    -
    - -
    + {% includeslots "website/page_overview/content_title.html" with title=trans_search %} + {% slot children %} +
    +
    +
    - {% endincludechildren %} -
    -
    -
    -
    -
    -
    +
    +{% endslots %} +
    +
    +
    +
    +
    - - +
    + + {% endblock content %} diff --git a/userprofile/templates/userprofile/members.html b/userprofile/templates/userprofile/members.html index 599eb435e..bea975b11 100644 --- a/userprofile/templates/userprofile/members.html +++ b/userprofile/templates/userprofile/members.html @@ -1,7 +1,7 @@ {% extends 'website/base.html' %} {% load static %} {% load i18n %} -{% load includechildren %} +{% load includeslots %} {% block head %} @@ -11,102 +11,103 @@ {% endblock %} {% block content %} {% translate "Medlemmer i Hackerspace" as trans_members %} - {% includechildren "website/page_overview/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 %} - {% endincludechildren %} - -
    -
    -
    + {% includeslots "website/page_overview/content_title.html" with title=trans_members %} + {% slot children %} +

    {% 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 %} +{% endslots %} - + {% endblock %} diff --git a/userprofile/templates/userprofile/profile.html b/userprofile/templates/userprofile/profile.html index d91cd0d30..342cbf869 100644 --- a/userprofile/templates/userprofile/profile.html +++ b/userprofile/templates/userprofile/profile.html @@ -1,7 +1,7 @@ {% extends 'website/base.html' %} {% load static %} {% load i18n %} -{% load includechildren %} +{% load includeslots %} {% block header %} @@ -9,102 +9,103 @@ {% block content %} {% translate "Brukerprofil" as trans_profile %} - {% includechildren "website/page_overview/content_title.html" with title=trans_profile %} - {% if user == profile.user %} - {% trans "Innstillinger" %} - {% endif %} - {% endincludechildren %} + {% includeslots "website/page_overview/content_title.html" with title=trans_profile %} + {% slot children %} + {% if user == profile.user %} + {% trans "Innstillinger" %} + {% endif %} +{% endslots %} -
    -
    -
    -
    -
    - {% if profile.image %} - - {% else %} - - {% endif %} -
    -
    -

    {{ profile.user.get_full_name }}

    -
    {{ profile.get_main_group }}
    -
    +
    +
    +
    +
    +
    + {% if profile.image %} + + {% else %} + + {% endif %}
    -
    -
    - {% if profile.image %} - - {% else %} - - {% endif %} -

    {{ profile.user.get_full_name }}

    -
    {{ profile.get_main_group }}
    -
    +
    +

    {{ profile.user.get_full_name }}

    +
    {{ profile.get_main_group }}
    +
    +
    +
    +
    + {% if profile.image %} + + {% else %} + + {% endif %} +

    {{ profile.user.get_full_name }}

    +
    {{ profile.get_main_group }}
    -
    -
    -
    +
    +
    +
      +
    • +
      + Ferdigheter + + open_in_new + +

      Avmerket sirkel betyr ferdigheten er oppnådd

      +
      +
    • + {% for category, level in category_levels %} +
    • + +
      + + {% if level %} + check + {% endif %} + +
      +
      + {{ category }} + + info -

      Avmerket sirkel betyr ferdigheten er oppnådd

      - +
    • - {% for category, level in category_levels %} -
    • - -
      - - {% if level %} - check - {% endif %} - -
      -
      - {{ category }} - - info - -
      -
    • - {% endfor %} -
    -
    -
    -
      -
    • Basisinformasjon
    • - {% if profile.study %} -
    • Studerer {{ profile.study }}
    • - {% endif %} - {% if profile.user.email and profile.show_email %} -
    • {{ profile.user.email }}
    • - {% endif %} - {% if profile.limit_social %} - {% if perms.userprofile.is_active_member or profile.user == request.user %} - {% include "userprofile/_social_fields.html" %} - {% endif %} - {% else %} + {% endfor %} +
    +
    +
    +
      +
    • Basisinformasjon
    • + {% if profile.study %} +
    • Studerer {{ profile.study }}
    • + {% endif %} + {% if profile.user.email and profile.show_email %} +
    • {{ profile.user.email }}
    • + {% endif %} + {% if profile.limit_social %} + {% if perms.userprofile.is_active_member or profile.user == request.user %} {% include "userprofile/_social_fields.html" %} {% endif %} -
    -
    + {% else %} + {% include "userprofile/_social_fields.html" %} + {% endif %} +
-
-
- + {% endblock %} diff --git a/website/templatetags/includeslots.py b/website/templatetags/includeslots.py index d2880fc7d..59c739049 100644 --- a/website/templatetags/includeslots.py +++ b/website/templatetags/includeslots.py @@ -13,7 +13,7 @@ class SlotNode: nodelist: template.NodeList -class ChildrenIncludedNode(IncludeNode): +class SlotsIncludedNode(IncludeNode): def __init__(self, slots: List[SlotNode], include_node: IncludeNode): self.slots = slots @@ -74,7 +74,7 @@ def include_slots(parser, token): include_node = do_include(parser, first_token) - return ChildrenIncludedNode( + return SlotsIncludedNode( slots, include_node, ) From 860eb702d5a49f8a486a9db577f71ed3ba9f9de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20G=C3=BCtzkow?= <70779496+CJGutz@users.noreply.github.com> Date: Tue, 27 Feb 2024 01:01:40 +0100 Subject: [PATCH 14/15] change to use includeslots on even more websites --- files/templates/files/images.html | 2 +- inventory/templates/inventory/edit_item.html | 11 +- news/templates/news/attendee_form.html | 11 +- news/templates/news/skills_form.html | 11 +- .../templates/userprofile/edit_profile.html | 291 +++++++++--------- website/templates/website/403.html | 50 +-- website/templates/website/404.html | 33 +- website/templates/website/500.html | 27 +- website/templates/website/admin.html | 9 +- .../templates/website/flatpages/default.html | 29 +- .../templates/website/tos-returningls.html | 16 +- 11 files changed, 232 insertions(+), 258 deletions(-) diff --git a/files/templates/files/images.html b/files/templates/files/images.html index 97bbb9b3e..bee316b55 100644 --- a/files/templates/files/images.html +++ b/files/templates/files/images.html @@ -35,4 +35,4 @@

{% trans "Galleriet er tomt" %}

{% endif %} -{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/inventory/templates/inventory/edit_item.html b/inventory/templates/inventory/edit_item.html index 86c45de8f..fff5f13ca 100644 --- a/inventory/templates/inventory/edit_item.html +++ b/inventory/templates/inventory/edit_item.html @@ -9,15 +9,8 @@ {% endblock head %} {% block content %} -
-
-
-
-

Rediger lagerinnslag

-
-
-
-
+ {% translate "Rediger lagerinnslag" as trans_edit_item %} + {% include "website/page_overview/content_title.html" title=trans_edit_item %}
diff --git a/news/templates/news/attendee_form.html b/news/templates/news/attendee_form.html index 7f94f21e6..3467c6973 100644 --- a/news/templates/news/attendee_form.html +++ b/news/templates/news/attendee_form.html @@ -3,15 +3,8 @@ {% load i18n %} {% block content %} -
-
-
-
-

{% trans "Oppmøte" %}

-
-
-
-
+ {% translate "Oppmøte" as trans_registrations %} + {% include "website/page_overview/content_title.html" title=trans_registrations %}
diff --git a/news/templates/news/skills_form.html b/news/templates/news/skills_form.html index 4a90a97c9..1b691d5cf 100644 --- a/news/templates/news/skills_form.html +++ b/news/templates/news/skills_form.html @@ -3,15 +3,8 @@ {% load static %} {% block content %} -
-
-
-
-

{% trans "Skills" %}

-
-
-
-
+ {% translate "Skills" as trans_skills %} + {% include "website/page_overview/content_title.html" title=trans_skills %}
diff --git a/userprofile/templates/userprofile/edit_profile.html b/userprofile/templates/userprofile/edit_profile.html index 052f0556b..8a09aaf37 100644 --- a/userprofile/templates/userprofile/edit_profile.html +++ b/userprofile/templates/userprofile/edit_profile.html @@ -1,155 +1,154 @@ {% extends 'website/base.html' %} {% load static %} +{% load i18n %} +{% load includeslots %} + {% block content %} -
-
-
-
-

Innstillinger

- Tilbake til profil -
+ {% translate "Innstillinger" as trans_settings %} + {% includeslots "website/page_overview/content_title.html" with title=trans_settings %} + {% slot children %} + {% trans "Tilbake til profil" %} +{% endslots %} + +
+
+
+
+ {% if profile.image %} + + {% else %} + + {% endif %} +
+
+

{{ profile.user.get_full_name }}

+
{{ profile.get_main_group }}
-
-
-
-
-
- {% if profile.image %} - - {% else %} - - {% endif %} -
-
-

{{ profile.user.get_full_name }}

-
{{ profile.get_main_group }}
+ + {% csrf_token %} +
+
+
Profilbilde
+
+
+
+ {{ form.image }} + {{ form.image.errors }}
- - {% csrf_token %} -
-
-
Profilbilde
-
-
-
- {{ form.image }} - {{ form.image.errors }} -
-
-
-
-
Grunnleggende
-
-
-
-
- {{ form.phone_number }} - - {{ form.phone_number.help_text }} - {{ form.phone_number.errors }} -
-
- {{ form.study }} - - {{ form.study.errors }} -
-
-

- -

- {{ form.show_email.errors }} -
-
-
-
-
Spill og Sosialt
-
-
-
-
- {{ form.social_discord }} - - {{ form.social_discord.errors }} -
-
- {{ form.social_steam }} - - {{ form.social_steam.errors }} -
-
- {{ form.social_battlenet }} - - {{ form.social_battlenet.errors }} -
-
- {{ form.social_git }} - - {{ form.social_git.errors }} -
-
-

- -

- {{ form.limit_social.errors }} -
-
-
-
-
Mat og Allergier
-

Merk at disse ikke vil vises på din profil. Arrangør får kun opp aktuelle matønsker uten - navn.

-
-
-
-
-

- -

- {{ form.allergi_gluten.errors }} -
-
-

- -

- {{ form.allergi_vegetar.errors }} -
-
-

- -

- {{ form.allergi_vegan.errors }} -
-
- {{ form.allergi_annet }} - - {{ form.allergi_annet.errors }} -
- {% for hidden in form.hidden_fields %} - {{ hidden }} - {% endfor %} -
-
- -
- -
+
+
+
Grunnleggende
+
+
+
+
+ {{ form.phone_number }} + + {{ form.phone_number.help_text }} + {{ form.phone_number.errors }} +
+
+ {{ form.study }} + + {{ form.study.errors }} +
+
+

+ +

+ {{ form.show_email.errors }} +
+
+
+
+
Spill og Sosialt
+
+
+
+
+ {{ form.social_discord }} + + {{ form.social_discord.errors }} +
+
+ {{ form.social_steam }} + + {{ form.social_steam.errors }} +
+
+ {{ form.social_battlenet }} + + {{ form.social_battlenet.errors }} +
+
+ {{ form.social_git }} + + {{ form.social_git.errors }} +
+
+

+ +

+ {{ form.limit_social.errors }} +
+
+
+
+
Mat og Allergier
+

Merk at disse ikke vil vises på din profil. Arrangør får kun opp aktuelle matønsker uten + navn.

+
+
+
+
+

+ +

+ {{ form.allergi_gluten.errors }} +
+
+

+ +

+ {{ form.allergi_vegetar.errors }} +
+
+

+ +

+ {{ form.allergi_vegan.errors }} +
+
+ {{ form.allergi_annet }} + + {{ form.allergi_annet.errors }} +
+ {% for hidden in form.hidden_fields %} + {{ hidden }} + {% endfor %} +
+
+ +
+
+
{% endblock %} diff --git a/website/templates/website/403.html b/website/templates/website/403.html index bad9a9545..2d5bea13f 100644 --- a/website/templates/website/403.html +++ b/website/templates/website/403.html @@ -1,35 +1,37 @@ {% extends "website/base.html" %} {% load static %} +{% load i18n %} +{% load includeslots %} {% block content %} -
-
-
- -
-

403

-

Forbudt! Hut dæ ut!

-

Eller prøv å logge inn...

-
- -
+ + {% includeslots "website/page_overview/content_title.html" %} + {% slot children %} +
+ +
+

403

+

{% trans "Forbudt! Hut dæ ut!" %}

+

{% trans "Eller prøv å logge inn..." %}

+
-
-
-
-
-
- Logg inn -
-

- Dette hadde du ikke mye lov til å titte på! -
- Hvis du allikevel mener du burde kunne se på dette, kanskje du skulle prøvd å logge inn først? -

+{% endslots %} +
+
+
+
+ +

+ Dette hadde du ikke mye lov til å titte på! +
+ Hvis du allikevel mener du burde kunne se på dette, kanskje du skulle prøvd å logge inn først? +

- +
+ {% endblock %} diff --git a/website/templates/website/404.html b/website/templates/website/404.html index c6fe78a96..8377c7876 100644 --- a/website/templates/website/404.html +++ b/website/templates/website/404.html @@ -1,25 +1,26 @@ {% extends "website/base.html" %} {% load static %} +{% load i18n %} +{% load includeslots %} {% block content %} -
-
-
-

OOPS!

-

404 - Ikke funnet

-
-
+ {% includeslots "website/page_overview/content_title.html" %} + {% slot children %} +
+

OOPS!

+

{% trans "404 - Ikke funnet" %}

-
-
-
-
-

- Vi finner dessverre ikke siden du leter etter. :-(
-

-
+{% endslots %} +
+
+
+
+

+ {% trans "Vi finner dessverre ikke siden du leter etter." %} :-(
+

- +
+ {% endblock %} diff --git a/website/templates/website/500.html b/website/templates/website/500.html index e3fe62435..2236b554c 100644 --- a/website/templates/website/500.html +++ b/website/templates/website/500.html @@ -1,21 +1,22 @@ {% extends "website/base.html" %} {% load static %} +{% load i18n %} +{% load includeslots %} {% block content %} -
-
-
-

OOPS!

-

500 - Noe har gått galt

-
-
+ {% includeslots "website/page_overview/content_title.html" %} + {% slot children %} +
+

OOPS!

+

{% trans "500 - Noe har gått galt" %}

-
-
-
-
-

Vår server føler seg ikke helt i toppform i dag, men en melding er sendt til våre utviklere som kommer med kyllingsuppe og varmeflaske så fort som mulig.

-
+{% endslots %} +
+
+
+
+

Vår server føler seg ikke helt i toppform i dag, men en melding er sendt til våre utviklere som kommer med kyllingsuppe og varmeflaske så fort som mulig.

+
{% endblock %} diff --git a/website/templates/website/admin.html b/website/templates/website/admin.html index 436a369f1..9510ec5a0 100644 --- a/website/templates/website/admin.html +++ b/website/templates/website/admin.html @@ -2,13 +2,8 @@ {% load static %} {% block content %} -
-
-
-

Administratorpanel

-
-
-
+ {% translate "Administratorpanel" as trans_admin %} + {% include "website/page_overview/content_title.html" with title=trans_admin %}
diff --git a/website/templates/website/flatpages/default.html b/website/templates/website/flatpages/default.html index 3a3cf8db3..c15e9a6aa 100644 --- a/website/templates/website/flatpages/default.html +++ b/website/templates/website/flatpages/default.html @@ -1,27 +1,28 @@ {% extends "website/base.html" %} {% load thumbnail %} +{% load includeslots %} {% block content %} -
-
-
-

{{ flatpage.title }}

-
-
+ + {% includeslots "website/page_overview/content_title.html" %} + {% slot children %} +
+

{{ flatpage.title }}

-
-
-
-
-
-
-

{{ flatpage.content }}

-
+{% endslots %} +
+
+
+
+
+
+

{{ flatpage.content }}

+
{% endblock %} diff --git a/website/templates/website/tos-returningls.html b/website/templates/website/tos-returningls.html index 8a98c5468..f2b6267bf 100644 --- a/website/templates/website/tos-returningls.html +++ b/website/templates/website/tos-returningls.html @@ -1,6 +1,7 @@ {% extends "website/base.html" %} {% load static %} +{% load i18n %} {% block header %} @@ -8,19 +9,14 @@ {% block content %} -
-
-
-

Vi har oppdatert våre retningslinjer for behandling av personinformasjon

-
-
-
+ {% translate "Vi har oppdatert våre retningslinjer for behandling av personinformasjon" as trans_updated_tos %} + {% include "website/page_overview/content_title.html" with title=trans_updated_tos %}
-

I forbindelse med nye lovverk (vektlagt er Personvernforordningen, også kjent som GDPR) og formalisering internt i organisasjonen, ønsker vi å informere og innhente nytt samtykke om bruk av personvern i Hackerspace.

+

{% trans "I forbindelse med nye lovverk (vektlagt er Personvernforordningen, også kjent som GDPR) og formalisering internt i organisasjonen, ønsker vi å informere og innhente nytt samtykke om bruk av personvern i Hackerspace." %}

-

Vennligst bekreft at du har lest og godtar informasjonen og samtykker til vilkårene tilgjengelig her

- JEG HAR LEST, FORSTÅTT OG GODTAR VILKÅRENE +

{% trans "Vennligst bekreft at du har lest og godtar informasjonen og samtykker til vilkårene tilgjengelig" %} {% trans "her" %}

+ {% trans "JEG HAR LEST, FORSTÅTT OG GODTAR VILKÅRENE" %}
From bb43b5428331eeff91d7c59cce557155ed03f5a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20G=C3=BCtzkow?= <70779496+CJGutz@users.noreply.github.com> Date: Tue, 27 Feb 2024 01:11:11 +0100 Subject: [PATCH 15/15] update locale files --- applications/locale/en/LC_MESSAGES/django.po | 4 +- applications/locale/nb/LC_MESSAGES/django.po | 4 +- inventory/locale/en/LC_MESSAGES/django.po | 31 ++++++---- inventory/locale/nb/LC_MESSAGES/django.po | 26 ++++---- news/locale/en/LC_MESSAGES/django.po | 30 +++++----- news/locale/nb/LC_MESSAGES/django.po | 30 +++++----- reservations/locale/en/LC_MESSAGES/django.po | 26 ++++---- reservations/locale/nb/LC_MESSAGES/django.po | 26 ++++---- userprofile/locale/en/LC_MESSAGES/django.po | 23 ++++--- userprofile/locale/nb/LC_MESSAGES/django.po | 23 ++++--- website/locale/en/LC_MESSAGES/django.po | 63 ++++++++++++++++++-- website/locale/nb/LC_MESSAGES/django.po | 52 +++++++++++++++- 12 files changed, 231 insertions(+), 107 deletions(-) diff --git a/applications/locale/en/LC_MESSAGES/django.po b/applications/locale/en/LC_MESSAGES/django.po index 9edbb33fc..7a2de804e 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,7 +22,7 @@ msgstr "" msgid "Søknad" msgstr "Application" -#: applications/templates/applications/application_form.html:14 +#: applications/templates/applications/application_form.html:15 msgid "Tilbake til infoside" msgstr "Back to information page" diff --git a/applications/locale/nb/LC_MESSAGES/django.po b/applications/locale/nb/LC_MESSAGES/django.po index 2f903ca87..ef0605a82 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,7 +22,7 @@ msgstr "" msgid "Søknad" msgstr "" -#: applications/templates/applications/application_form.html:14 +#: applications/templates/applications/application_form.html:15 msgid "Tilbake til infoside" msgstr "" diff --git a/inventory/locale/en/LC_MESSAGES/django.po b/inventory/locale/en/LC_MESSAGES/django.po index 616d3c593..617d03df5 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,10 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: inventory/templates/inventory/edit_item.html:12 +msgid "Rediger lagerinnslag" +msgstr "Edit inventory item" + #: inventory/templates/inventory/equipment/equipment_list.html:11 msgid "Utstyr" msgstr "Equipment" @@ -27,8 +31,9 @@ msgid "" "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." msgstr "" -"Here you can find equipment that Hackerspace has. Not all equipment are available to borrow, " -"but those that are, have a link to the item in the storage." +"Here you can find equipment that Hackerspace has. Not all equipment are " +"available to borrow, but those that are, have a link to the item in the " +"storage." #: inventory/templates/inventory/inventory.html:9 msgid "Lager" @@ -41,41 +46,41 @@ msgstr "" "Here you can search in our inventory. Want to borrow something? Visit the " "workshop!" -#: inventory/templates/inventory/inventory.html:12 +#: inventory/templates/inventory/inventory.html:13 msgid "Se utstyr og apparater" msgstr "View equipment and apparatus" -#: inventory/templates/inventory/inventory.html:23 +#: inventory/templates/inventory/inventory.html:24 msgid "Ting, tang og tare" msgstr "Things and stuff" -#: inventory/templates/inventory/inventory.html:24 -#: inventory/templates/inventory/inventory.html:32 +#: inventory/templates/inventory/inventory.html:25 +#: inventory/templates/inventory/inventory.html:33 msgid "Navn" msgstr "Name" -#: inventory/templates/inventory/inventory.html:28 +#: inventory/templates/inventory/inventory.html:29 msgid "Velg sorteringskriterie" msgstr "Choose sorting criterion" -#: inventory/templates/inventory/inventory.html:29 +#: inventory/templates/inventory/inventory.html:30 msgid "Popularitet" msgstr "Popularity" -#: inventory/templates/inventory/inventory.html:30 #: inventory/templates/inventory/inventory.html:31 +#: inventory/templates/inventory/inventory.html:32 msgid "Lagerbeholdning" msgstr "Inventory Quantity" -#: inventory/templates/inventory/inventory.html:30 +#: inventory/templates/inventory/inventory.html:31 msgid "Synkende" msgstr "Descending" -#: inventory/templates/inventory/inventory.html:31 +#: inventory/templates/inventory/inventory.html:32 msgid "Stigende" msgstr "Ascending" -#: inventory/templates/inventory/inventory.html:34 +#: inventory/templates/inventory/inventory.html:35 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 e33b51e43..bb23d9ff8 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,10 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: inventory/templates/inventory/edit_item.html:12 +msgid "Rediger lagerinnslag" +msgstr "" + #: inventory/templates/inventory/equipment/equipment_list.html:11 msgid "Utstyr" msgstr "" @@ -37,41 +41,41 @@ msgid "" "Her kan du søke i lageret vårt. Lyst til å låne noe? Kom innom verkstedet!" msgstr "" -#: inventory/templates/inventory/inventory.html:12 +#: inventory/templates/inventory/inventory.html:13 msgid "Se utstyr og apparater" msgstr "" -#: inventory/templates/inventory/inventory.html:23 +#: inventory/templates/inventory/inventory.html:24 msgid "Ting, tang og tare" msgstr "" -#: inventory/templates/inventory/inventory.html:24 -#: inventory/templates/inventory/inventory.html:32 +#: inventory/templates/inventory/inventory.html:25 +#: inventory/templates/inventory/inventory.html:33 msgid "Navn" msgstr "" -#: inventory/templates/inventory/inventory.html:28 +#: inventory/templates/inventory/inventory.html:29 msgid "Velg sorteringskriterie" msgstr "" -#: inventory/templates/inventory/inventory.html:29 +#: inventory/templates/inventory/inventory.html:30 msgid "Popularitet" msgstr "" -#: inventory/templates/inventory/inventory.html:30 #: inventory/templates/inventory/inventory.html:31 +#: inventory/templates/inventory/inventory.html:32 msgid "Lagerbeholdning" msgstr "" -#: inventory/templates/inventory/inventory.html:30 +#: inventory/templates/inventory/inventory.html:31 msgid "Synkende" msgstr "" -#: inventory/templates/inventory/inventory.html:31 +#: inventory/templates/inventory/inventory.html:32 msgid "Stigende" msgstr "" -#: inventory/templates/inventory/inventory.html:34 +#: inventory/templates/inventory/inventory.html:35 msgid "Sorter etter" msgstr "" diff --git a/news/locale/en/LC_MESSAGES/django.po b/news/locale/en/LC_MESSAGES/django.po index 3f302cafa..9241d64f8 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -36,7 +36,7 @@ msgid "Rediger arrangement" msgstr "Edit event" #: news/templates/news/_event_admin_menu.html:20 -#: news/templates/news/attendee_form.html:19 +#: news/templates/news/attendee_form.html:12 msgid "Registrer oppmøte" msgstr "Register attendance" @@ -181,15 +181,15 @@ msgstr "NO, GO BACK" msgid "Publisert" msgstr "Published" -#: news/templates/news/attendee_form.html:10 +#: news/templates/news/attendee_form.html:6 msgid "Oppmøte" msgstr "Attendance" -#: news/templates/news/attendee_form.html:43 +#: news/templates/news/attendee_form.html:36 msgid "Oppmøtt" msgstr "Attended" -#: news/templates/news/attendee_form.html:52 +#: news/templates/news/attendee_form.html:45 msgid "Lagre" msgstr "Save" @@ -452,42 +452,42 @@ msgstr "News" msgid "Publiserte artikler" msgstr "Published articles" -#: news/templates/news/skills_form.html:10 +#: news/templates/news/skills_form.html:6 msgid "Skills" msgstr "Skills" -#: news/templates/news/skills_form.html:21 +#: news/templates/news/skills_form.html:14 msgid "Approve Skills" msgstr "Approve Skills" -#: news/templates/news/skills_form.html:28 +#: news/templates/news/skills_form.html:21 msgid "Select All Attendees" msgstr "Select All Attendees" -#: news/templates/news/skills_form.html:35 +#: news/templates/news/skills_form.html:28 msgid "Select All" msgstr "Select All" -#: news/templates/news/skills_form.html:51 +#: news/templates/news/skills_form.html:44 msgid "Waiting List" msgstr "Waiting List" -#: news/templates/news/skills_form.html:57 +#: news/templates/news/skills_form.html:50 msgid "Already Has Skills" msgstr "Already Has Skills" -#: news/templates/news/skills_form.html:61 +#: news/templates/news/skills_form.html:54 msgid "Missing Prerequisites" msgstr "Missing Prerequisites" -#: news/templates/news/skills_form.html:73 +#: news/templates/news/skills_form.html:66 msgid "Attendance Registered" msgstr "Attendance Registered" -#: news/templates/news/skills_form.html:77 +#: news/templates/news/skills_form.html:70 msgid "Attendance Not Registered" msgstr "Attendance Not Registered" -#: news/templates/news/skills_form.html:94 +#: news/templates/news/skills_form.html:87 msgid "Save" msgstr "Save" diff --git a/news/locale/nb/LC_MESSAGES/django.po b/news/locale/nb/LC_MESSAGES/django.po index cf93d3c0f..cbd51d099 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -42,7 +42,7 @@ msgid "Rediger arrangement" msgstr "" #: news/templates/news/_event_admin_menu.html:20 -#: news/templates/news/attendee_form.html:19 +#: news/templates/news/attendee_form.html:12 msgid "Registrer oppmøte" msgstr "" @@ -187,15 +187,15 @@ msgstr "" msgid "Publisert" msgstr "" -#: news/templates/news/attendee_form.html:10 +#: news/templates/news/attendee_form.html:6 msgid "Oppmøte" msgstr "" -#: news/templates/news/attendee_form.html:43 +#: news/templates/news/attendee_form.html:36 msgid "Oppmøtt" msgstr "" -#: news/templates/news/attendee_form.html:52 +#: news/templates/news/attendee_form.html:45 msgid "Lagre" msgstr "" @@ -450,42 +450,42 @@ msgstr "" msgid "Publiserte artikler" msgstr "" -#: news/templates/news/skills_form.html:10 +#: news/templates/news/skills_form.html:6 msgid "Skills" msgstr "" -#: news/templates/news/skills_form.html:21 +#: news/templates/news/skills_form.html:14 msgid "Approve Skills" msgstr "" -#: news/templates/news/skills_form.html:28 +#: news/templates/news/skills_form.html:21 msgid "Select All Attendees" msgstr "" -#: news/templates/news/skills_form.html:35 +#: news/templates/news/skills_form.html:28 msgid "Select All" msgstr "" -#: news/templates/news/skills_form.html:51 +#: news/templates/news/skills_form.html:44 msgid "Waiting List" msgstr "" -#: news/templates/news/skills_form.html:57 +#: news/templates/news/skills_form.html:50 msgid "Already Has Skills" msgstr "" -#: news/templates/news/skills_form.html:61 +#: news/templates/news/skills_form.html:54 msgid "Missing Prerequisites" msgstr "" -#: news/templates/news/skills_form.html:73 +#: news/templates/news/skills_form.html:66 msgid "Attendance Registered" msgstr "" -#: news/templates/news/skills_form.html:77 +#: news/templates/news/skills_form.html:70 msgid "Attendance Not Registered" msgstr "" -#: news/templates/news/skills_form.html:94 +#: news/templates/news/skills_form.html:87 msgid "Save" msgstr "" diff --git a/reservations/locale/en/LC_MESSAGES/django.po b/reservations/locale/en/LC_MESSAGES/django.po index e1707b9bf..408b2820e 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,23 +26,23 @@ msgstr "Reservations" 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:10 +#: reservations/templates/reservations/queue_list.html:11 msgid "Se Hackerspace sitt utstyr" msgstr "View Hackerspace's equipment" -#: reservations/templates/reservations/queue_list.html:22 +#: reservations/templates/reservations/queue_list.html:23 msgid "Les" msgstr "Read" -#: reservations/templates/reservations/queue_list.html:22 +#: reservations/templates/reservations/queue_list.html:23 msgid "regler for bruk av 3D-printer" msgstr "rules for using the 3D printer" -#: reservations/templates/reservations/queue_list.html:22 +#: reservations/templates/reservations/queue_list.html:23 msgid "før du starter" msgstr "before you start" -#: reservations/templates/reservations/queue_list.html:25 +#: reservations/templates/reservations/queue_list.html:26 #, 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:39 +#: reservations/templates/reservations/queue_list.html:40 msgid "I ustand" msgstr "Out of order" -#: reservations/templates/reservations/queue_list.html:47 +#: reservations/templates/reservations/queue_list.html:48 msgid "Vanskelighetsgrad" msgstr "Difficulty level" -#: reservations/templates/reservations/queue_list.html:56 +#: reservations/templates/reservations/queue_list.html:57 msgid "Mine reservasjoner" msgstr "My reservations" -#: reservations/templates/reservations/queue_list.html:63 +#: reservations/templates/reservations/queue_list.html:64 msgid "Fra" msgstr "From" -#: reservations/templates/reservations/queue_list.html:64 +#: reservations/templates/reservations/queue_list.html:65 msgid "til" msgstr "to" -#: reservations/templates/reservations/queue_list.html:67 +#: reservations/templates/reservations/queue_list.html:68 msgid "Du har ingen reservasjoner" msgstr "You have no reservations" -#: reservations/templates/reservations/queue_list.html:70 +#: reservations/templates/reservations/queue_list.html:71 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 45e695ce7..9a130672d 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,23 +26,23 @@ msgstr "" msgid "På denne siden kan du reservere bruk av diverse utstyr" msgstr "" -#: reservations/templates/reservations/queue_list.html:10 +#: reservations/templates/reservations/queue_list.html:11 msgid "Se Hackerspace sitt utstyr" msgstr "" -#: reservations/templates/reservations/queue_list.html:22 +#: reservations/templates/reservations/queue_list.html:23 msgid "Les" msgstr "" -#: reservations/templates/reservations/queue_list.html:22 +#: reservations/templates/reservations/queue_list.html:23 msgid "regler for bruk av 3D-printer" msgstr "" -#: reservations/templates/reservations/queue_list.html:22 +#: reservations/templates/reservations/queue_list.html:23 msgid "før du starter" msgstr "" -#: reservations/templates/reservations/queue_list.html:25 +#: reservations/templates/reservations/queue_list.html:26 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:39 +#: reservations/templates/reservations/queue_list.html:40 msgid "I ustand" msgstr "" -#: reservations/templates/reservations/queue_list.html:47 +#: reservations/templates/reservations/queue_list.html:48 msgid "Vanskelighetsgrad" msgstr "" -#: reservations/templates/reservations/queue_list.html:56 +#: reservations/templates/reservations/queue_list.html:57 msgid "Mine reservasjoner" msgstr "" -#: reservations/templates/reservations/queue_list.html:63 +#: reservations/templates/reservations/queue_list.html:64 msgid "Fra" msgstr "" -#: reservations/templates/reservations/queue_list.html:64 +#: reservations/templates/reservations/queue_list.html:65 msgid "til" msgstr "" -#: reservations/templates/reservations/queue_list.html:67 +#: reservations/templates/reservations/queue_list.html:68 msgid "Du har ingen reservasjoner" msgstr "" -#: reservations/templates/reservations/queue_list.html:70 +#: reservations/templates/reservations/queue_list.html:71 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 440f25fd7..513bda73a 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,23 +18,32 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: userprofile/templates/userprofile/edit_profile.html:7 +#: userprofile/templates/userprofile/profile.html:15 +msgid "Innstillinger" +msgstr "Settings" + +#: userprofile/templates/userprofile/edit_profile.html:11 +msgid "Tilbake til profil" +msgstr "Back to profile" + #: userprofile/templates/userprofile/members.html:13 msgid "Medlemmer i Hackerspace" msgstr "Members in Hackerspace" -#: userprofile/templates/userprofile/members.html:15 +#: userprofile/templates/userprofile/members.html:16 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:15 +#: userprofile/templates/userprofile/members.html:16 msgid "Om oss" msgstr "About us" -#: userprofile/templates/userprofile/members.html:19 +#: userprofile/templates/userprofile/members.html:20 msgid "Søk etter medlem" msgstr "Search for member" -#: userprofile/templates/userprofile/members.html:23 +#: userprofile/templates/userprofile/members.html:24 msgid "Klikk på ferdigheter du vil se folk ikke har" msgstr "Click on skills to see what people do not have" @@ -46,10 +55,6 @@ msgstr "There are no members with your search criteria" msgid "Brukerprofil" msgstr "Profile" -#: userprofile/templates/userprofile/profile.html:14 -msgid "Innstillinger" -msgstr "Settings" - #: userprofile/templates/userprofile/skills.html:13 msgid "Ferdigheter" msgstr "Skills" diff --git a/userprofile/locale/nb/LC_MESSAGES/django.po b/userprofile/locale/nb/LC_MESSAGES/django.po index c3c78507f..bada92ca7 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,23 +18,32 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: userprofile/templates/userprofile/edit_profile.html:7 +#: userprofile/templates/userprofile/profile.html:15 +msgid "Innstillinger" +msgstr "" + +#: userprofile/templates/userprofile/edit_profile.html:11 +msgid "Tilbake til profil" +msgstr "" + #: userprofile/templates/userprofile/members.html:13 msgid "Medlemmer i Hackerspace" msgstr "" -#: userprofile/templates/userprofile/members.html:15 +#: userprofile/templates/userprofile/members.html:16 msgid "For oversikt over gruppene og deres medlemmer, se" msgstr "" -#: userprofile/templates/userprofile/members.html:15 +#: userprofile/templates/userprofile/members.html:16 msgid "Om oss" msgstr "" -#: userprofile/templates/userprofile/members.html:19 +#: userprofile/templates/userprofile/members.html:20 msgid "Søk etter medlem" msgstr "" -#: userprofile/templates/userprofile/members.html:23 +#: userprofile/templates/userprofile/members.html:24 msgid "Klikk på ferdigheter du vil se folk ikke har" msgstr "" @@ -46,10 +55,6 @@ msgstr "" msgid "Brukerprofil" msgstr "" -#: userprofile/templates/userprofile/profile.html:14 -msgid "Innstillinger" -msgstr "" - #: userprofile/templates/userprofile/skills.html:13 msgid "Ferdigheter" msgstr "" diff --git a/website/locale/en/LC_MESSAGES/django.po b/website/locale/en/LC_MESSAGES/django.po index 19f8a4b04..0c6ef7ae4 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,6 +17,26 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: website/templates/website/403.html:14 +msgid "Forbudt! Hut dæ ut!" +msgstr "Unauthorized! Get out!" + +#: website/templates/website/403.html:15 +msgid "Eller prøv å logge inn..." +msgstr "Or try to log in..." + +#: website/templates/website/404.html:11 +msgid "404 - Ikke funnet" +msgstr "" + +#: website/templates/website/404.html:19 +msgid "Vi finner dessverre ikke siden du leter etter." +msgstr "" + +#: website/templates/website/500.html:10 +msgid "500 - Noe har gått galt" +msgstr "" + #: website/templates/website/_social_buttons.html:8 msgid "Søk Hackerspace" msgstr "Apply to Hackerspace" @@ -95,6 +115,12 @@ msgstr "E-mail" msgid "Ingen medlemmer er lagt til enda" msgstr "No members added yet" +#: website/templates/website/admin.html:5 +#, fuzzy +#| msgid "Adminpanel" +msgid "Administratorpanel" +msgstr "Admin page" + #: website/templates/website/footer.html:9 msgid "Velkommen innom" msgstr "Welcome to" @@ -406,6 +432,38 @@ msgstr "Internal portal" msgid "Fant ingen regler 🤠" msgstr "No rules found" +#: website/templates/website/tos-returningls.html:12 +msgid "" +"Vi har oppdatert våre retningslinjer for behandling av personinformasjon" +msgstr "" +"We have updated our privacy policy" + +#: website/templates/website/tos-returningls.html:16 +msgid "" +"I forbindelse med nye lovverk (vektlagt er Personvernforordningen, også " +"kjent som GDPR) og formalisering internt i organisasjonen, ønsker vi å " +"informere og innhente nytt samtykke om bruk av personvern i Hackerspace." +msgstr "" +"With regulations for personal information (GDPR), we whish to inform " +"you about our updated privacy policy. We request that you concent to our " +"terms and conditions in Hackerspace NTNU." + +#: website/templates/website/tos-returningls.html:18 +msgid "" +"Vennligst bekreft at du har lest og godtar informasjonen og samtykker til " +"vilkårene tilgjengelig" +msgstr "" +"Please confirm that you have read and accepted the information and concent to the terms" + +#: website/templates/website/tos-returningls.html:18 +#, fuzzy +msgid "her" +msgstr "here" + +#: website/templates/website/tos-returningls.html:19 +msgid "JEG HAR LEST, FORSTÅTT OG GODTAR VILKÅRENE" +msgstr "I HAVE READ, UNDERSTOOD, AND ACCEPTED THE TERMS" + #, fuzzy #~| msgid "Siste nytt" #~ msgid "Siste internnytt" @@ -435,6 +493,3 @@ msgstr "No rules found" #~ msgid "Bildegalleri" #~ msgstr "Gallery" - -#~ msgid "Adminpanel" -#~ msgstr "Admin page" diff --git a/website/locale/nb/LC_MESSAGES/django.po b/website/locale/nb/LC_MESSAGES/django.po index 80d192f1c..3c994c48c 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 15:22+0100\n" +"POT-Creation-Date: 2024-02-27 01:01+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,6 +17,26 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: website/templates/website/403.html:14 +msgid "Forbudt! Hut dæ ut!" +msgstr "" + +#: website/templates/website/403.html:15 +msgid "Eller prøv å logge inn..." +msgstr "" + +#: website/templates/website/404.html:11 +msgid "404 - Ikke funnet" +msgstr "" + +#: website/templates/website/404.html:19 +msgid "Vi finner dessverre ikke siden du leter etter." +msgstr "" + +#: website/templates/website/500.html:10 +msgid "500 - Noe har gått galt" +msgstr "" + #: website/templates/website/_social_buttons.html:8 msgid "Søk Hackerspace" msgstr "" @@ -85,6 +105,10 @@ msgstr "" msgid "Ingen medlemmer er lagt til enda" msgstr "" +#: website/templates/website/admin.html:5 +msgid "Administratorpanel" +msgstr "" + #: website/templates/website/footer.html:9 msgid "Velkommen innom" msgstr "" @@ -371,3 +395,29 @@ msgstr "" #: website/templates/website/rules.html:48 msgid "Fant ingen regler 🤠" msgstr "" + +#: website/templates/website/tos-returningls.html:12 +msgid "" +"Vi har oppdatert våre retningslinjer for behandling av personinformasjon" +msgstr "" + +#: website/templates/website/tos-returningls.html:16 +msgid "" +"I forbindelse med nye lovverk (vektlagt er Personvernforordningen, også " +"kjent som GDPR) og formalisering internt i organisasjonen, ønsker vi å " +"informere og innhente nytt samtykke om bruk av personvern i Hackerspace." +msgstr "" + +#: website/templates/website/tos-returningls.html:18 +msgid "" +"Vennligst bekreft at du har lest og godtar informasjonen og samtykker til " +"vilkårene tilgjengelig" +msgstr "" + +#: website/templates/website/tos-returningls.html:18 +msgid "her" +msgstr "" + +#: website/templates/website/tos-returningls.html:19 +msgid "JEG HAR LEST, FORSTÅTT OG GODTAR VILKÅRENE" +msgstr ""