From baa8b37fe683828cb2471f1616d5d8ad36e91920 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 13 Jun 2024 16:54:19 +0200 Subject: 🐛 documentation - add missing fields, sections in technical values, fix translations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_finds/models_finds.py | 2 +- archaeological_finds/models_treatments.py | 2 +- archaeological_finds/templates/ishtar/sheet_findbasket.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'archaeological_finds') diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 35ba0f5c0..fff692917 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -906,7 +906,7 @@ WEIGHT_UNIT = ( class FindBasket(Basket, MainItem, ValueGetter): SHOW_URL = "show-findbasket" SLUG = "findbasket" - items = models.ManyToManyField("Find", blank=True, related_name="basket") + items = models.ManyToManyField("Find", blank=True, related_name="basket", verbose_name=_("Associated finds")) QA_EDIT = QuickAction( url="findbasket-qa-bulk-update", diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index 3d1759b54..04747e3a1 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -1109,7 +1109,7 @@ class TreatmentFile( _("Internal reference"), blank=True, null=True, max_length=200 ) external_id = models.CharField( - _("External ID"), blank=True, null=True, max_length=200 + _("Reference"), blank=True, null=True, max_length=200 ) name = models.TextField(_("Name"), blank=True, default="") type = models.ForeignKey( diff --git a/archaeological_finds/templates/ishtar/sheet_findbasket.html b/archaeological_finds/templates/ishtar/sheet_findbasket.html index af5baea5d..4b3d9321e 100644 --- a/archaeological_finds/templates/ishtar/sheet_findbasket.html +++ b/archaeological_finds/templates/ishtar/sheet_findbasket.html @@ -11,7 +11,7 @@
{% field_flex "Label" item.label %} - {% field_flex_detail "Owned by" item.user.person %} + {% field_flex_detail _("Owned by") item.user.person %} {% field_flex "Slug" item.slug %} {% field_flex "Is public" item.public %} {% field_flex "Comment" item.comment %} -- cgit v1.2.3