Skip to content

Commit

Permalink
Fix beslisboom integratie
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed Dec 10, 2024
1 parent 79e63cb commit b7cd33d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions amt/api/ai_act_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def get_ai_act_profile_selector(request: Request) -> AiActProfileSelector:

systemic_risk_options = ("systeemrisico", "geen systeemrisico", "niet van toepassing")
transparency_obligations_options = (
"transparantieverplichtingen",
"geen transparantieverplichtingen",
"transparantieverplichting",
"geen transparantieverplichting",
"niet van toepassing",
)
open_source_options = ("open-source", "geen open-source", "niet van toepassing")
Expand Down
6 changes: 3 additions & 3 deletions amt/locale/base.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 0001-01-01 00:00+0000\n"
"PO-Revision-Date: 0001-01-01 00:00+0000\n"
"POT-Creation-Date: 2024-12-10 08:50+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.15.0\n"
"Generated-By: Babel 2.16.0\n"

#: amt/api/ai_act_profile.py:24
msgid "Type"
Expand Down
Binary file modified amt/locale/en_US/LC_MESSAGES/messages.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions amt/locale/en_US/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 0001-01-01 00:00+0000\n"
"POT-Creation-Date: 2024-12-10 08:50+0000\n"
"PO-Revision-Date: 0001-01-01 00:00+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en_US\n"
Expand All @@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.15.0\n"
"Generated-By: Babel 2.16.0\n"

#: amt/api/ai_act_profile.py:24
msgid "Type"
Expand Down
Binary file modified amt/locale/nl_NL/LC_MESSAGES/messages.mo
Binary file not shown.
8 changes: 4 additions & 4 deletions amt/locale/nl_NL/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 0001-01-01 00:00+0000\n"
"POT-Creation-Date: 2024-12-10 08:50+0000\n"
"PO-Revision-Date: 0001-01-01 00:00+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: nl_NL\n"
Expand All @@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.15.0\n"
"Generated-By: Babel 2.16.0\n"

#: amt/api/ai_act_profile.py:24
msgid "Type"
Expand All @@ -38,7 +38,7 @@ msgstr ""

#: amt/api/ai_act_profile.py:32
msgid "Is there a systemic risk?"
msgstr "Is er sprake van systematisch risico?"
msgstr "Is er sprake van een systeemrisico?"

#: amt/api/ai_act_profile.py:34
msgid "Is there a transparency obligation?"
Expand Down Expand Up @@ -570,7 +570,7 @@ msgstr "Vind uw AI Act profiel"

#: amt/site/templates/algorithms/new.html.j2:112
msgid "Select Option"
msgstr "Selecteer organisatie"
msgstr "Selecteer optie"

#: amt/site/templates/algorithms/new.html.j2:172
msgid ""
Expand Down
1 change: 1 addition & 0 deletions amt/site/static/ts/amt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export function closeModalSave(id: string) {
aiActProfileRaw["Rol"],
aiActProfileRaw["Open source"],
);

// Select the correct entries.
Object.entries(aiActProfile).forEach(([category, el_ids]) => {
el_ids.forEach((el_id: string) => {
Expand Down

0 comments on commit b7cd33d

Please sign in to comment.