summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_files/forms.py6
-rw-r--r--archaeological_files/models.py2
-rw-r--r--archaeological_operations/forms.py4
-rw-r--r--archaeological_operations/models.py4
-rw-r--r--archaeological_operations/templates/ishtar/sheet_administrativeact.html2
5 files changed, 9 insertions, 9 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py
index 7b1287c34..5cbb79d85 100644
--- a/archaeological_files/forms.py
+++ b/archaeological_files/forms.py
@@ -83,7 +83,7 @@ class FileSelect(DocumentItemSelect):
)
year = forms.IntegerField(label=_("Year"))
numeric_reference = forms.IntegerField(label=_("Numeric reference"))
- internal_reference = forms.CharField(max_length=200, label=_("Other reference"))
+ internal_reference = forms.CharField(max_length=200, label=_("Internal reference"))
towns = get_town_field()
area = forms.ChoiceField(label=_("Area"), choices=[])
parcel = forms.CharField(label=_("Parcel"))
@@ -1098,7 +1098,7 @@ class AdministrativeActFileModifySelect(TableSelect):
)
year = forms.IntegerField(label=_("Year"))
index = forms.IntegerField(label=_("Index"))
- ref_sra = forms.CharField(label=_("Other reference"), max_length=200)
+ ref_sra = forms.CharField(label=_("Internal reference"), max_length=200)
act_type = forms.ChoiceField(label=_("Act type"), choices=[])
act_object = forms.CharField(label=_("Object (full text search)"), max_length=300)
operation__towns = get_town_field()
@@ -1134,7 +1134,7 @@ class AdministrativeActFileSelect(TableSelect):
)
year = forms.IntegerField(label=_("Year"))
index = forms.IntegerField(label=_("Index"))
- ref_sra = forms.CharField(label=_("Other reference"), max_length=200)
+ ref_sra = forms.CharField(label=_("Internal reference"), max_length=200)
act_type = forms.ChoiceField(label=_("Act type"), choices=[])
indexed = forms.NullBooleanField(label=_("Indexed?"))
associated_file__towns = get_town_field()
diff --git a/archaeological_files/models.py b/archaeological_files/models.py
index d92925c78..168e2be3a 100644
--- a/archaeological_files/models.py
+++ b/archaeological_files/models.py
@@ -543,7 +543,7 @@ class File(
pgettext_lazy("key for text search", "reference"), "numeric_reference"
),
"internal_reference": SearchAltName(
- pgettext_lazy("key for text search", "other-reference"),
+ pgettext_lazy("key for text search", "internal-reference"),
"internal_reference__iexact",
),
"towns": SearchAltName(
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index a7d191dd8..0c6e65f83 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -1477,7 +1477,7 @@ class AdministrativeActOpeSelect(DocumentItemSelect):
))
year = forms.IntegerField(label=_("Year"))
index = forms.IntegerField(label=_("Index"))
- ref_sra = forms.CharField(label=_("Other reference"), max_length=200)
+ ref_sra = forms.CharField(label=_("Internal reference"), max_length=200)
operation__code_patriarche = forms.CharField(
max_length=500,
widget=OAWidget,
@@ -1542,7 +1542,7 @@ class AdministrativeActForm(CustomForm, ManageOldType):
widget=forms.Textarea, required=False)
signature_date = DateField(label=_("Signature date"), required=False)
comment = forms.CharField(label=_("Comment"), widget=forms.Textarea, required=False)
- ref_sra = forms.CharField(label=_("Other reference"), max_length=200, required=False)
+ ref_sra = forms.CharField(label=_("Internal reference"), max_length=200, required=False)
TYPES = [
FieldType('act_type', models.ActType,
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 294d07847..76e258994 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -2959,7 +2959,7 @@ class AdministrativeAct(DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter,
),
"index": SearchAltName(pgettext_lazy("key for text search", "index"), "index"),
"ref_sra": SearchAltName(
- pgettext_lazy("key for text search", "other-ref"), "ref_sra__iexact"
+ pgettext_lazy("key for text search", "internal-reference"), "ref_sra__iexact"
),
"operation__code_patriarche": SearchAltName(
pgettext_lazy("key for text search", "patriarche"),
@@ -3169,7 +3169,7 @@ class AdministrativeAct(DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter,
year = models.IntegerField(_("Year"), blank=True, null=True)
act_object = models.TextField(_("Object"), blank=True, default="")
ref_sra = models.CharField(
- _("Other reference"), max_length=200, blank=True, null=True
+ _("Internal reference"), max_length=200, blank=True, null=True
)
departments_label = models.TextField(
_("Departments"),
diff --git a/archaeological_operations/templates/ishtar/sheet_administrativeact.html b/archaeological_operations/templates/ishtar/sheet_administrativeact.html
index f344a1fb6..2002594be 100644
--- a/archaeological_operations/templates/ishtar/sheet_administrativeact.html
+++ b/archaeological_operations/templates/ishtar/sheet_administrativeact.html
@@ -41,7 +41,7 @@
<div class="row">
{% field_flex "Year" item.year %}
{% field_flex "Index" item.index %}
- {% field_flex "Internal reference" item.ref_sra %}
+ {% field_flex _("Internal reference") item.ref_sra %}
{% field_flex "Type" item.act_type %}
{% field_flex "Object" item.act_object %}
{% field_flex_detail "Signatory" item.signatory %}