diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-05-28 16:27:09 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-05-28 16:27:09 +0200 |
commit | d949cd7866446e30ca3c14926358fc91f1535ded (patch) | |
tree | d5d09f5691aa310199bcc00f60802959a7b3dacd /archaeological_operations/models.py | |
parent | 0e5ba6e7e7bb6a26fde543cd6cd934f247558afa (diff) | |
download | Ishtar-d949cd7866446e30ca3c14926358fc91f1535ded.tar.bz2 Ishtar-d949cd7866446e30ca3c14926358fc91f1535ded.zip |
✏️ geo, document form: fix label for "Site" when configuration is checked (refs #5890)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 9d1a54d7d..13be0727b 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -575,6 +575,10 @@ class ArchaeologicalSite( GinIndex(fields=["data"]), ] + @classmethod + def get_label_for_model_plural(cls): + return get_current_profile().get_site_label("plural") + def __str__(self): return self.cached_label or "" |