From ef6a2821eead9580894e54156b6662a180f5bb8c Mon Sep 17 00:00:00 2001 From: bart-maykin Date: Fri, 1 Sep 2023 09:51:50 +0200 Subject: [PATCH] :card_file_box: changed field label of instance fields --- .../locale/nl/LC_MESSAGES/django.po | 22 +++++++++++-- ...ation_eh_service_instance_uuid_and_more.py | 31 +++++++++++++++++++ digid_eherkenning/models/eherkenning.py | 6 ++-- 3 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 digid_eherkenning/migrations/0005_alter_eherkenningconfiguration_eh_service_instance_uuid_and_more.py diff --git a/digid_eherkenning/locale/nl/LC_MESSAGES/django.po b/digid_eherkenning/locale/nl/LC_MESSAGES/django.po index 4958796..988e1e7 100644 --- a/digid_eherkenning/locale/nl/LC_MESSAGES/django.po +++ b/digid_eherkenning/locale/nl/LC_MESSAGES/django.po @@ -355,10 +355,14 @@ msgstr "" "string (de naam van het attribuut) zijn of een object met de sleutels 'name' " "en 'required', waarbij 'name' een string is en 'required' een boolean." -#: models/eherkenning.py:39 models/eherkenning.py:47 +#: models/eherkenning.py:36 msgid "eHerkenning service UUID" msgstr "UUID eHerkenningservice" +#: models/eherkenning.py:44 +msgid "eHerkenning service instance UUID" +msgstr "UUID eHerkenningservice instance" + #: models/eherkenning.py:42 msgid "" "UUID of the eHerkenning service. Once entered into catalogues, changing the " @@ -383,11 +387,15 @@ msgstr "eIDAS attribute consuming service index" msgid "Attribute consuming service index for the eIDAS service" msgstr "Attribute consuming service index voor de eIDAS-service" -#: models/eherkenning.py:71 models/eherkenning.py:79 +#: models/eherkenning.py:68 msgid "eIDAS service UUID" msgstr "UUID eIDAS-service" -#: models/eherkenning.py:74 +#: models/eherkenning.py:76 +msgid "eIDAS service instance UUID" +msgstr "UUID eIDAS-service instance" + +#: models/eherkenning.py:71 msgid "" "UUID of the eIDAS service. Once entered into catalogues, changing the value " "is a manual process." @@ -395,6 +403,14 @@ msgstr "" "UUID van de eIDAS-service. Eenmaal dit in catalogi opgenomen is kan de " "waarde enkel via een handmatig proces gewijzigd worden." +#: models/eherkenning.py:79 +msgid "" +"UUID of the eIDAS service instance. Once entered into catalogues, " +"changing the value is a manual process." +msgstr "" +"UUID van de eIDAS-service-instantie. Eenmaal dit in catalogi opgenomen " +"is kan de waarde enkel via een handmatig proces gewijzigd worden." + #: models/eherkenning.py:87 msgid "OIN" msgstr "OIN" diff --git a/digid_eherkenning/migrations/0005_alter_eherkenningconfiguration_eh_service_instance_uuid_and_more.py b/digid_eherkenning/migrations/0005_alter_eherkenningconfiguration_eh_service_instance_uuid_and_more.py new file mode 100644 index 0000000..f33849b --- /dev/null +++ b/digid_eherkenning/migrations/0005_alter_eherkenningconfiguration_eh_service_instance_uuid_and_more.py @@ -0,0 +1,31 @@ +# Generated by Django 4.2.4 on 2023-09-01 09:23 + +from django.db import migrations, models +import uuid + + +class Migration(migrations.Migration): + dependencies = [ + ("digid_eherkenning", "0004_alter_eherkenningconfiguration_loa"), + ] + + operations = [ + migrations.AlterField( + model_name="eherkenningconfiguration", + name="eh_service_instance_uuid", + field=models.UUIDField( + default=uuid.uuid4, + help_text="UUID of the eHerkenning service instance. Once entered into catalogues, changing the value is a manual process.", + verbose_name="eHerkenning service instance UUID", + ), + ), + migrations.AlterField( + model_name="eherkenningconfiguration", + name="eidas_service_instance_uuid", + field=models.UUIDField( + default=uuid.uuid4, + help_text="UUID of the eIDAS service instance. Once entered into catalogues, changing the value is a manual process.", + verbose_name="eIDAS service instance UUID", + ), + ), + ] diff --git a/digid_eherkenning/models/eherkenning.py b/digid_eherkenning/models/eherkenning.py index 202d8fe..ec7fee7 100644 --- a/digid_eherkenning/models/eherkenning.py +++ b/digid_eherkenning/models/eherkenning.py @@ -42,7 +42,7 @@ class EherkenningConfiguration(BaseConfiguration): ), ) eh_service_instance_uuid = models.UUIDField( - _("eHerkenning service UUID"), + _("eHerkenning service instance UUID"), default=uuid.uuid4, help_text=_( "UUID of the eHerkenning service instance. Once entered into catalogues, " @@ -74,10 +74,10 @@ class EherkenningConfiguration(BaseConfiguration): ), ) eidas_service_instance_uuid = models.UUIDField( - _("eIDAS service UUID"), + _("eIDAS service instance UUID"), default=uuid.uuid4, help_text=_( - "UUID of the eHerkenning service instance. Once entered into catalogues, " + "UUID of the eIDAS service instance. Once entered into catalogues, " "changing the value is a manual process." ), )