Skip to content

Commit

Permalink
Fix typos and missing translations (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe authored Oct 10, 2024
2 parents 336044b + b1f2a9e commit 615d502
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 67 deletions.
36 changes: 16 additions & 20 deletions amt/locale/base.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-09 15:43+0200\n"
"POT-Creation-Date: 2024-10-09 19:49+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -97,7 +97,7 @@ msgstr ""
msgid "Model"
msgstr ""

#: amt/api/navigation.py:59 amt/site/templates/projects/new.html.j2:117
#: amt/api/navigation.py:59 amt/site/templates/projects/new.html.j2:114
msgid "Instruments"
msgstr ""

Expand Down Expand Up @@ -147,10 +147,6 @@ msgstr ""
msgid "An error occurred. Please try again later"
msgstr ""

#: amt/site/templates/layouts/base.html.j2:11
msgid "Algorithmic Management Toolkit (AMT)"
msgstr ""

#: amt/site/templates/macros/tasks.html.j2:14
msgid "Todo"
msgstr ""
Expand All @@ -164,6 +160,9 @@ msgid "Reviewing"
msgstr ""

#: amt/site/templates/macros/tasks.html.j2:47
#: amt/site/templates/projects/details_base.html.j2:19
#: amt/site/templates/projects/details_base.html.j2:45
#: amt/site/templates/projects/details_base.html.j2:77
#: amt/site/templates/projects/details_base.html.j2:102
msgid "Done"
msgstr ""
Expand Down Expand Up @@ -244,6 +243,11 @@ msgstr ""
msgid "Does the algorithm meet the requirements?"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:33
#: amt/site/templates/projects/details_base.html.j2:100
msgid "To do"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:67
msgid "Go to all requirements"
msgstr ""
Expand All @@ -252,14 +256,6 @@ msgstr ""
msgid "Which instruments are executed?"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:77
msgid "done"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:100
msgid "To do"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:115
msgid "Go to all instruments"
msgstr ""
Expand Down Expand Up @@ -317,29 +313,29 @@ msgid ""
"tree."
msgstr ""

#: amt/site/templates/projects/new.html.j2:43
#: amt/site/templates/projects/new.html.j2:42
msgid "Find your AI Act profile"
msgstr ""

#: amt/site/templates/projects/new.html.j2:100
#: amt/site/templates/projects/new.html.j2:97
msgid "Yes"
msgstr ""

#: amt/site/templates/projects/new.html.j2:110
#: amt/site/templates/projects/new.html.j2:107
msgid "No"
msgstr ""

#: amt/site/templates/projects/new.html.j2:119
#: amt/site/templates/projects/new.html.j2:116
msgid ""
"Overview of instruments for the responsible development, deployment, "
"assessment and monitoring of algorithms and AI-systems."
msgstr ""

#: amt/site/templates/projects/new.html.j2:127
#: amt/site/templates/projects/new.html.j2:124
msgid "Choose one or more instruments"
msgstr ""

#: amt/site/templates/projects/new.html.j2:141
#: amt/site/templates/projects/new.html.j2:138
msgid "Create Project"
msgstr ""

42 changes: 22 additions & 20 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: 2024-10-09 15:43+0200\n"
"POT-Creation-Date: 2024-10-09 19:49+0200\n"
"PO-Revision-Date: 2024-07-25 21:01+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en_US\n"
Expand Down Expand Up @@ -98,7 +98,7 @@ msgstr ""
msgid "Model"
msgstr ""

#: amt/api/navigation.py:59 amt/site/templates/projects/new.html.j2:117
#: amt/api/navigation.py:59 amt/site/templates/projects/new.html.j2:114
msgid "Instruments"
msgstr ""

Expand Down Expand Up @@ -148,10 +148,6 @@ msgstr ""
msgid "An error occurred. Please try again later"
msgstr ""

#: amt/site/templates/layouts/base.html.j2:11
msgid "Algorithmic Management Toolkit (AMT)"
msgstr ""

#: amt/site/templates/macros/tasks.html.j2:14
msgid "Todo"
msgstr ""
Expand All @@ -165,6 +161,9 @@ msgid "Reviewing"
msgstr ""

#: amt/site/templates/macros/tasks.html.j2:47
#: amt/site/templates/projects/details_base.html.j2:19
#: amt/site/templates/projects/details_base.html.j2:45
#: amt/site/templates/projects/details_base.html.j2:77
#: amt/site/templates/projects/details_base.html.j2:102
msgid "Done"
msgstr ""
Expand Down Expand Up @@ -245,6 +244,11 @@ msgstr ""
msgid "Does the algorithm meet the requirements?"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:33
#: amt/site/templates/projects/details_base.html.j2:100
msgid "To do"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:67
msgid "Go to all requirements"
msgstr ""
Expand All @@ -253,14 +257,6 @@ msgstr ""
msgid "Which instruments are executed?"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:77
msgid "done"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:100
msgid "To do"
msgstr ""

#: amt/site/templates/projects/details_base.html.j2:115
msgid "Go to all instruments"
msgstr ""
Expand Down Expand Up @@ -318,32 +314,38 @@ msgid ""
"tree."
msgstr ""

#: amt/site/templates/projects/new.html.j2:43
#: amt/site/templates/projects/new.html.j2:42
msgid "Find your AI Act profile"
msgstr ""

#: amt/site/templates/projects/new.html.j2:100
#: amt/site/templates/projects/new.html.j2:97
msgid "Yes"
msgstr ""

#: amt/site/templates/projects/new.html.j2:110
#: amt/site/templates/projects/new.html.j2:107
msgid "No"
msgstr ""

#: amt/site/templates/projects/new.html.j2:119
#: amt/site/templates/projects/new.html.j2:116
msgid ""
"Overview of instruments for the responsible development, deployment, "
"assessment and monitoring of algorithms and AI-systems."
msgstr ""

#: amt/site/templates/projects/new.html.j2:127
#: amt/site/templates/projects/new.html.j2:124
msgid "Choose one or more instruments"
msgstr ""

#: amt/site/templates/projects/new.html.j2:141
#: amt/site/templates/projects/new.html.j2:138
msgid "Create Project"
msgstr ""

#~ msgid "TEST"
#~ msgstr ""

#~ msgid "Algorithmic Management Toolkit (AMT)"
#~ msgstr ""

#~ msgid "done"
#~ msgstr ""

48 changes: 25 additions & 23 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: 2024-10-09 15:43+0200\n"
"POT-Creation-Date: 2024-10-09 19:49+0200\n"
"PO-Revision-Date: 2024-07-25 21:01+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: nl_NL\n"
Expand Down Expand Up @@ -88,7 +88,7 @@ msgstr "Algoritme details"

#: amt/api/navigation.py:56
msgid "Requirements"
msgstr "Instrumenten"
msgstr "Vereisten"

#: amt/api/navigation.py:57
msgid "Data"
Expand All @@ -98,7 +98,7 @@ msgstr "Data"
msgid "Model"
msgstr "Model"

#: amt/api/navigation.py:59 amt/site/templates/projects/new.html.j2:117
#: amt/api/navigation.py:59 amt/site/templates/projects/new.html.j2:114
msgid "Instruments"
msgstr "Instrumenten"

Expand Down Expand Up @@ -154,10 +154,6 @@ msgstr "Er is een fout opgetreden"
msgid "An error occurred. Please try again later"
msgstr "Er is een fout opgetreden. Probeer het later opnieuw."

#: amt/site/templates/layouts/base.html.j2:11
msgid "Algorithmic Management Toolkit (AMT)"
msgstr "Algoritme Management Toolkit (AMT)"

#: amt/site/templates/macros/tasks.html.j2:14
msgid "Todo"
msgstr "Te doen"
Expand All @@ -171,6 +167,9 @@ msgid "Reviewing"
msgstr "Beoordelen"

#: amt/site/templates/macros/tasks.html.j2:47
#: amt/site/templates/projects/details_base.html.j2:19
#: amt/site/templates/projects/details_base.html.j2:45
#: amt/site/templates/projects/details_base.html.j2:77
#: amt/site/templates/projects/details_base.html.j2:102
msgid "Done"
msgstr "Afgerond"
Expand Down Expand Up @@ -251,21 +250,18 @@ msgstr "AMT Placeholder informatie pagina's"
msgid "Does the algorithm meet the requirements?"
msgstr "Voldoet het algoritme aan alle vereisten?"

#: amt/site/templates/projects/details_base.html.j2:33
#: amt/site/templates/projects/details_base.html.j2:100
msgid "To do"
msgstr "Te doen"

#: amt/site/templates/projects/details_base.html.j2:67
msgid "Go to all requirements"
msgstr "ga naar alle vereisten"
msgstr "Ga naar alle vereisten"

#: amt/site/templates/projects/details_base.html.j2:74
msgid "Which instruments are executed?"
msgstr "Welke instrumeten zijn uitgevoerd?"

#: amt/site/templates/projects/details_base.html.j2:77
msgid "done"
msgstr "voldaan"

#: amt/site/templates/projects/details_base.html.j2:100
msgid "To do"
msgstr "Te doen"
msgstr "Welke instrumenten zijn uitgevoerd?"

#: amt/site/templates/projects/details_base.html.j2:115
msgid "Go to all instruments"
Expand Down Expand Up @@ -327,34 +323,40 @@ msgstr ""
"onder andere het type AI systeem, de regelgeving die van toepassing is en"
" de risicocategorie."

#: amt/site/templates/projects/new.html.j2:43
#: amt/site/templates/projects/new.html.j2:42
msgid "Find your AI Act profile"
msgstr "Vind uw AI Act profiel"

#: amt/site/templates/projects/new.html.j2:100
#: amt/site/templates/projects/new.html.j2:97
msgid "Yes"
msgstr "Ja"

#: amt/site/templates/projects/new.html.j2:110
#: amt/site/templates/projects/new.html.j2:107
msgid "No"
msgstr "Nee"

#: amt/site/templates/projects/new.html.j2:119
#: amt/site/templates/projects/new.html.j2:116
msgid ""
"Overview of instruments for the responsible development, deployment, "
"assessment and monitoring of algorithms and AI-systems."
msgstr ""
"Overzicht van aanbevolen insturment voor het verantwoord ontwikkelen, "
"gebruiken,beoordelen en monitren van algoritmes en AI-systemen."

#: amt/site/templates/projects/new.html.j2:127
#: amt/site/templates/projects/new.html.j2:124
msgid "Choose one or more instruments"
msgstr "Kies één of meerdere instrumenten"

#: amt/site/templates/projects/new.html.j2:141
#: amt/site/templates/projects/new.html.j2:138
msgid "Create Project"
msgstr "Maak project"

#~ msgid "TEST"
#~ msgstr ""

#~ msgid "Algorithmic Management Toolkit (AMT)"
#~ msgstr "Algoritme Management Toolkit (AMT)"

#~ msgid "done"
#~ msgstr "Afgerond"

8 changes: 4 additions & 4 deletions amt/site/templates/projects/details_base.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<h5 class="amt-widget-title rvo-link--with-icon"><span
class="utrecht-icon rvo-icon rvo-icon-vinkje rvo-icon--md rvo-icon--hemelblauw rvo-link__icon--before"
role="img" aria-label=""></span>{% trans %}Does the algorithm meet the requirements?{% endtrans %}</h5>
<a class="rvo-text--subtle rvo-text--bold">7/8 done</a>
<a class="rvo-text--subtle rvo-text--bold">7/8 {% trans %}Done{% endtrans %}</a>
</div>
<ul class="rvo-item-list">
<li class="rvo-item-list__item">
Expand All @@ -30,7 +30,7 @@
</a>
</div>

<a class="rvo-text--subtle">To do</a>
<a class="rvo-text--subtle">{% trans %}To do{% endtrans %}</a>
</div>
</li>
<li class="rvo-item-list__item">
Expand All @@ -42,7 +42,7 @@
Transparantie in ontwerp voor hoog-risico AI
</a>
</div>
<a class="rvo-text--subtle">Done</a>
<a class="rvo-text--subtle">{% trans %}Done{% endtrans %}</a>
</div>
</li>
<li class="rvo-item-list__item">
Expand Down Expand Up @@ -74,7 +74,7 @@
role="img" aria-label=""></span>{% trans %}Which instruments are executed?{% endtrans %}
</h5>
<a class="rvo-text--bold rvo-text--subtle">{{ instrument_state.count_0 }}/{{ instrument_state.count_1 }}
{% trans %}done{% endtrans %}</a>
{% trans %}Done{% endtrans %}</a>
</div>


Expand Down

0 comments on commit 615d502

Please sign in to comment.