diff --git a/amt/api/ai_act_profile.py b/amt/api/ai_act_profile.py index 1e5f8132..c4f69378 100644 --- a/amt/api/ai_act_profile.py +++ b/amt/api/ai_act_profile.py @@ -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") diff --git a/amt/locale/base.pot b/amt/locale/base.pot index 63ed74ae..1d37c61e 100644 --- a/amt/locale/base.pot +++ b/amt/locale/base.pot @@ -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 \n" "Language-Team: LANGUAGE \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" diff --git a/amt/locale/en_US/LC_MESSAGES/messages.mo b/amt/locale/en_US/LC_MESSAGES/messages.mo index 738f59d7..a4201246 100644 Binary files a/amt/locale/en_US/LC_MESSAGES/messages.mo and b/amt/locale/en_US/LC_MESSAGES/messages.mo differ diff --git a/amt/locale/en_US/LC_MESSAGES/messages.po b/amt/locale/en_US/LC_MESSAGES/messages.po index 288912d0..3bc593a5 100644 --- a/amt/locale/en_US/LC_MESSAGES/messages.po +++ b/amt/locale/en_US/LC_MESSAGES/messages.po @@ -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 \n" "Language: en_US\n" @@ -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" diff --git a/amt/locale/nl_NL/LC_MESSAGES/messages.mo b/amt/locale/nl_NL/LC_MESSAGES/messages.mo index b82af76b..8eeba1f5 100644 Binary files a/amt/locale/nl_NL/LC_MESSAGES/messages.mo and b/amt/locale/nl_NL/LC_MESSAGES/messages.mo differ diff --git a/amt/locale/nl_NL/LC_MESSAGES/messages.po b/amt/locale/nl_NL/LC_MESSAGES/messages.po index e1c86fab..5add64ef 100644 --- a/amt/locale/nl_NL/LC_MESSAGES/messages.po +++ b/amt/locale/nl_NL/LC_MESSAGES/messages.po @@ -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 \n" "Language: nl_NL\n" @@ -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" @@ -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?" @@ -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 "" diff --git a/amt/site/static/ts/amt.ts b/amt/site/static/ts/amt.ts index 47d93a26..92f6b474 100644 --- a/amt/site/static/ts/amt.ts +++ b/amt/site/static/ts/amt.ts @@ -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) => {