diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-01-21 11:07:12 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-01-21 11:16:31 +0100 |
| commit | da82ab41c29e82a94707de54763117491243861a (patch) | |
| tree | 1a572cae6e46192b9fde78d18d4c8d36e97ad87d | |
| parent | 763f422e8d9c9ba3e5a9f351145ca4189eeab0f9 (diff) | |
| download | Ishtar-da82ab41c29e82a94707de54763117491243861a.tar.bz2 Ishtar-da82ab41c29e82a94707de54763117491243861a.zip | |
🏷️ update/adapt labels
| -rw-r--r-- | ishtar_common/forms_common.py | 2 | ||||
| -rw-r--r-- | ishtar_common/models_imports.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index c6bedfd14..00c0bff68 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -3529,7 +3529,7 @@ class GisRequestForm(IshtarForm): access_type = forms.ChoiceField( label=_("New access type"), choices=models_rest.API_ACCESS_TYPES ) - name = forms.CharField(label=_("Name"), max_length=150) + name = forms.CharField(label=_("Device name"), max_length=150) limit_date = DateField(label=_("Limit date"), required=False) def clean(self): diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py index 80b13f312..c114aff2c 100644 --- a/ishtar_common/models_imports.py +++ b/ishtar_common/models_imports.py @@ -224,7 +224,9 @@ class ImporterType(models.Model): help_text=_("For GIS file with multiple layers"), ) gis_type = models.ForeignKey( - "ishtar_common.GeoDataType", blank=True, null=True, on_delete=models.CASCADE, + "ishtar_common.GeoDataType", + verbose_name=_("GIS Type"), + blank=True, null=True, on_delete=models.CASCADE, help_text=_( "For QGIS importer type. Geographic data type used for import and export." ) |
