From 3cea02f4a54072e74f18b710d87a83f29b3c04a4 Mon Sep 17 00:00:00 2001 From: Laurens Weijs Date: Tue, 17 Dec 2024 16:42:30 +0100 Subject: [PATCH] pre-commit fixes --- amt/api/forms/measure.py | 3 +- amt/locale/base.pot | 34 ++++++++------------- amt/locale/en_US/LC_MESSAGES/messages.mo | Bin 989 -> 989 bytes amt/locale/en_US/LC_MESSAGES/messages.po | 34 ++++++++------------- amt/locale/nl_NL/LC_MESSAGES/messages.mo | Bin 14737 -> 14529 bytes amt/locale/nl_NL/LC_MESSAGES/messages.po | 36 ++++++++--------------- 6 files changed, 38 insertions(+), 69 deletions(-) diff --git a/amt/api/forms/measure.py b/amt/api/forms/measure.py index 5de7cc7a..a4103954 100644 --- a/amt/api/forms/measure.py +++ b/amt/api/forms/measure.py @@ -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"), diff --git a/amt/locale/base.pot b/amt/locale/base.pot index 86538fe1..1fc801d2 100644 --- a/amt/locale/base.pot +++ b/amt/locale/base.pot @@ -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 @@ -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 "" @@ -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 "" @@ -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" @@ -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 "" diff --git a/amt/locale/en_US/LC_MESSAGES/messages.mo b/amt/locale/en_US/LC_MESSAGES/messages.mo index 112961114ba1d7e90bab4e604100bd261d1b10fd..a583a5e5c1057389713e496a0da0c677e2922a74 100644 GIT binary patch delta 17 Ycmcc1ewTg24Mr9-D-(mwcNiI&06hK$y#N3J delta 17 Ycmcc1ewTg24MrA2D-(;&cNiI&06hT(zyJUM diff --git a/amt/locale/en_US/LC_MESSAGES/messages.po b/amt/locale/en_US/LC_MESSAGES/messages.po index 1e8fecc3..e939c29b 100644 --- a/amt/locale/en_US/LC_MESSAGES/messages.po +++ b/amt/locale/en_US/LC_MESSAGES/messages.po @@ -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 @@ -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 "" @@ -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 "" @@ -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" @@ -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 "" diff --git a/amt/locale/nl_NL/LC_MESSAGES/messages.mo b/amt/locale/nl_NL/LC_MESSAGES/messages.mo index 97206e6db94cdb4ba3a565e0fe742734fe818db1..9be3eaba4cde11403e81794323df1edf1a8b6cfb 100644 GIT binary patch delta 3243 zcmYM$drZ}39LMpmdO#5r5JV+~BZ3O39Z-+tyd{d_eR(6KSZ)GE&NNHQPCv~{q-68D ztd>hhYHH1njjZN9C$%zX%gNGt8MU0+FkALVv-fAer*#JB^;~|x=lMS0=lT6$)AJ`5 zdsn&ywi%z({P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