Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe committed Dec 17, 2024
1 parent a57e9f5 commit 3cea02f
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 69 deletions.
3 changes: 2 additions & 1 deletion amt/api/forms/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ async def get_measure_form(
type=WebFormFieldType.FILE,
name="measure_files",
description=_(
"Select one or more to upload. The files will be saved once you confirm changes by pressing the save button."
"Select one or more to upload. The files will be saved once you confirm changes by pressing the save "
"button."
),
default_value=current_values.get("measure_files"),
label=_("Add files"),
Expand Down
34 changes: 12 additions & 22 deletions amt/locale/base.pot
Original file line number Diff line number Diff line change
Expand Up @@ -206,38 +206,28 @@ msgstr ""
msgid "Information on how this measure is implemented"
msgstr ""

#: amt/api/forms/measure.py:33
msgid ""
"Describe how the measure has been implemented, including challenges and "
"solutions."
msgstr ""

#: amt/api/forms/measure.py:39
msgid ""
"Select one or more to upload. The files will be saved once you confirm "
"changes by pressing the save button."
msgstr ""

#: amt/api/forms/measure.py:41
#: amt/api/forms/measure.py:44
msgid "Add files"
msgstr ""

#: amt/api/forms/measure.py:42
#: amt/api/forms/measure.py:45
msgid "No files selected."
msgstr ""

#: amt/api/forms/measure.py:46
#: amt/api/forms/measure.py:49
msgid "Add URI"
msgstr ""

#: amt/api/forms/measure.py:49
#: amt/api/forms/measure.py:52
msgid "Add links to documents"
msgstr ""

#: amt/api/forms/measure.py:50
msgid "URI"
msgstr ""

#: amt/api/forms/organization.py:23
#: amt/site/templates/algorithms/details_info.html.j2:8
#: amt/site/templates/auth/profile.html.j2:34
Expand Down Expand Up @@ -357,14 +347,14 @@ msgstr ""

#: amt/site/templates/algorithms/details_base.html.j2:39
#: amt/site/templates/algorithms/new.html.j2:153
#: amt/site/templates/macros/form_macros.html.j2:167
#: amt/site/templates/macros/form_macros.html.j2:168
#: amt/site/templates/organizations/members.html.j2:33
msgid "Yes"
msgstr ""

#: amt/site/templates/algorithms/details_base.html.j2:44
#: amt/site/templates/algorithms/new.html.j2:163
#: amt/site/templates/macros/form_macros.html.j2:172
#: amt/site/templates/macros/form_macros.html.j2:173
#: amt/site/templates/organizations/members.html.j2:36
msgid "No"
msgstr ""
Expand Down Expand Up @@ -468,7 +458,7 @@ msgid "Failed to estimate WOZ value: "
msgstr ""

#: amt/site/templates/algorithms/details_info.html.j2:16
#: amt/site/templates/algorithms/details_measure_modal.html.j2:19
#: amt/site/templates/algorithms/details_measure_modal.html.j2:26
msgid "Description"
msgstr ""

Expand Down Expand Up @@ -498,16 +488,16 @@ msgstr ""
msgid "References"
msgstr ""

#: amt/site/templates/algorithms/details_measure_modal.html.j2:29
#: amt/site/templates/algorithms/details_measure_modal.html.j2:36
msgid "Read more on the algoritmekader"
msgstr ""

#: amt/site/templates/algorithms/details_measure_modal.html.j2:40
#: amt/site/templates/algorithms/details_measure_modal.html.j2:47
#: amt/site/templates/macros/editable.html.j2:82
msgid "Save"
msgstr ""

#: amt/site/templates/algorithms/details_measure_modal.html.j2:44
#: amt/site/templates/algorithms/details_measure_modal.html.j2:51
#: amt/site/templates/macros/editable.html.j2:87
#: amt/site/templates/organizations/parts/add_members_modal.html.j2:26
msgid "Cancel"
Expand Down Expand Up @@ -665,11 +655,11 @@ msgstr ""
msgid "Delete member"
msgstr ""

#: amt/site/templates/macros/form_macros.html.j2:149
#: amt/site/templates/macros/form_macros.html.j2:150
msgid "Delete file"
msgstr ""

#: amt/site/templates/macros/form_macros.html.j2:156
#: amt/site/templates/macros/form_macros.html.j2:157
msgid "Are you sure you want to delete"
msgstr ""

Expand Down
Binary file modified amt/locale/en_US/LC_MESSAGES/messages.mo
Binary file not shown.
34 changes: 12 additions & 22 deletions amt/locale/en_US/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -207,38 +207,28 @@ msgstr ""
msgid "Information on how this measure is implemented"
msgstr ""

#: amt/api/forms/measure.py:33
msgid ""
"Describe how the measure has been implemented, including challenges and "
"solutions."
msgstr ""

#: amt/api/forms/measure.py:39
msgid ""
"Select one or more to upload. The files will be saved once you confirm "
"changes by pressing the save button."
msgstr ""

#: amt/api/forms/measure.py:41
#: amt/api/forms/measure.py:44
msgid "Add files"
msgstr ""

#: amt/api/forms/measure.py:42
#: amt/api/forms/measure.py:45
msgid "No files selected."
msgstr ""

#: amt/api/forms/measure.py:46
#: amt/api/forms/measure.py:49
msgid "Add URI"
msgstr ""

#: amt/api/forms/measure.py:49
#: amt/api/forms/measure.py:52
msgid "Add links to documents"
msgstr ""

#: amt/api/forms/measure.py:50
msgid "URI"
msgstr ""

#: amt/api/forms/organization.py:23
#: amt/site/templates/algorithms/details_info.html.j2:8
#: amt/site/templates/auth/profile.html.j2:34
Expand Down Expand Up @@ -358,14 +348,14 @@ msgstr ""

#: amt/site/templates/algorithms/details_base.html.j2:39
#: amt/site/templates/algorithms/new.html.j2:153
#: amt/site/templates/macros/form_macros.html.j2:167
#: amt/site/templates/macros/form_macros.html.j2:168
#: amt/site/templates/organizations/members.html.j2:33
msgid "Yes"
msgstr ""

#: amt/site/templates/algorithms/details_base.html.j2:44
#: amt/site/templates/algorithms/new.html.j2:163
#: amt/site/templates/macros/form_macros.html.j2:172
#: amt/site/templates/macros/form_macros.html.j2:173
#: amt/site/templates/organizations/members.html.j2:36
msgid "No"
msgstr ""
Expand Down Expand Up @@ -469,7 +459,7 @@ msgid "Failed to estimate WOZ value: "
msgstr ""

#: amt/site/templates/algorithms/details_info.html.j2:16
#: amt/site/templates/algorithms/details_measure_modal.html.j2:19
#: amt/site/templates/algorithms/details_measure_modal.html.j2:26
msgid "Description"
msgstr ""

Expand Down Expand Up @@ -499,16 +489,16 @@ msgstr ""
msgid "References"
msgstr ""

#: amt/site/templates/algorithms/details_measure_modal.html.j2:29
#: amt/site/templates/algorithms/details_measure_modal.html.j2:36
msgid "Read more on the algoritmekader"
msgstr ""

#: amt/site/templates/algorithms/details_measure_modal.html.j2:40
#: amt/site/templates/algorithms/details_measure_modal.html.j2:47
#: amt/site/templates/macros/editable.html.j2:82
msgid "Save"
msgstr ""

#: amt/site/templates/algorithms/details_measure_modal.html.j2:44
#: amt/site/templates/algorithms/details_measure_modal.html.j2:51
#: amt/site/templates/macros/editable.html.j2:87
#: amt/site/templates/organizations/parts/add_members_modal.html.j2:26
msgid "Cancel"
Expand Down Expand Up @@ -666,11 +656,11 @@ msgstr ""
msgid "Delete member"
msgstr ""

#: amt/site/templates/macros/form_macros.html.j2:149
#: amt/site/templates/macros/form_macros.html.j2:150
msgid "Delete file"
msgstr ""

#: amt/site/templates/macros/form_macros.html.j2:156
#: amt/site/templates/macros/form_macros.html.j2:157
msgid "Are you sure you want to delete"
msgstr ""

Expand Down
Binary file modified amt/locale/nl_NL/LC_MESSAGES/messages.mo
Binary file not shown.
36 changes: 12 additions & 24 deletions amt/locale/nl_NL/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,6 @@ msgstr "Status"
msgid "Information on how this measure is implemented"
msgstr "Informatie over hoe deze maatregel is geïmplementeerd"

#: amt/api/forms/measure.py:33
msgid ""
"Describe how the measure has been implemented, including challenges and "
"solutions."
msgstr ""
"Beschrijf hoe de maatregel is geimplementeerd, inclusief uitdagingen en "
"oplossingen."

#: amt/api/forms/measure.py:39
msgid ""
"Select one or more to upload. The files will be saved once you confirm "
Expand All @@ -225,26 +217,22 @@ msgstr ""
"Selecteer één of meer bestanden om te uploaden. De bestanden zullen "
"worden opgeslagen wanneer de Opslaan knop wordt ingedrukt."

#: amt/api/forms/measure.py:41
#: amt/api/forms/measure.py:44
msgid "Add files"
msgstr "Bestanden toevoegen"

#: amt/api/forms/measure.py:42
#: amt/api/forms/measure.py:45
msgid "No files selected."
msgstr "Geen bestanden geselecteerd."

#: amt/api/forms/measure.py:46
#: amt/api/forms/measure.py:49
msgid "Add URI"
msgstr "Voeg URI toe"

#: amt/api/forms/measure.py:49
#: amt/api/forms/measure.py:52
msgid "Add links to documents"
msgstr "Voeg link naar bestanden toe"

#: amt/api/forms/measure.py:50
msgid "URI"
msgstr "URI"

#: amt/api/forms/organization.py:23
#: amt/site/templates/algorithms/details_info.html.j2:8
#: amt/site/templates/auth/profile.html.j2:34
Expand Down Expand Up @@ -378,14 +366,14 @@ msgstr ""

#: amt/site/templates/algorithms/details_base.html.j2:39
#: amt/site/templates/algorithms/new.html.j2:153
#: amt/site/templates/macros/form_macros.html.j2:167
#: amt/site/templates/macros/form_macros.html.j2:168
#: amt/site/templates/organizations/members.html.j2:33
msgid "Yes"
msgstr "Ja"

#: amt/site/templates/algorithms/details_base.html.j2:44
#: amt/site/templates/algorithms/new.html.j2:163
#: amt/site/templates/macros/form_macros.html.j2:172
#: amt/site/templates/macros/form_macros.html.j2:173
#: amt/site/templates/organizations/members.html.j2:36
msgid "No"
msgstr "Nee"
Expand Down Expand Up @@ -489,7 +477,7 @@ msgid "Failed to estimate WOZ value: "
msgstr "Fout bij het schatten van de WOZ-waarde: "

#: amt/site/templates/algorithms/details_info.html.j2:16
#: amt/site/templates/algorithms/details_measure_modal.html.j2:19
#: amt/site/templates/algorithms/details_measure_modal.html.j2:26
msgid "Description"
msgstr "Omschrijving"

Expand Down Expand Up @@ -519,16 +507,16 @@ msgstr "Labels"
msgid "References"
msgstr "Referenties"

#: amt/site/templates/algorithms/details_measure_modal.html.j2:29
#: amt/site/templates/algorithms/details_measure_modal.html.j2:36
msgid "Read more on the algoritmekader"
msgstr "Lees meer op het algoritmekader"

#: amt/site/templates/algorithms/details_measure_modal.html.j2:40
#: amt/site/templates/algorithms/details_measure_modal.html.j2:47
#: amt/site/templates/macros/editable.html.j2:82
msgid "Save"
msgstr "Opslaan"

#: amt/site/templates/algorithms/details_measure_modal.html.j2:44
#: amt/site/templates/algorithms/details_measure_modal.html.j2:51
#: amt/site/templates/macros/editable.html.j2:87
#: amt/site/templates/organizations/parts/add_members_modal.html.j2:26
msgid "Cancel"
Expand Down Expand Up @@ -691,11 +679,11 @@ msgstr "Verwijder"
msgid "Delete member"
msgstr "Voeg personen toe"

#: amt/site/templates/macros/form_macros.html.j2:149
#: amt/site/templates/macros/form_macros.html.j2:150
msgid "Delete file"
msgstr "Verwijder bestand"

#: amt/site/templates/macros/form_macros.html.j2:156
#: amt/site/templates/macros/form_macros.html.j2:157
msgid "Are you sure you want to delete"
msgstr "Weet u zeker dat u het bestand wilt verwijderen"

Expand Down

0 comments on commit 3cea02f

Please sign in to comment.