diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-15 17:39:14 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-15 17:39:14 +0200 |
commit | eb61b763e5165694d2ee937664a671f2eb91b394 (patch) | |
tree | a4db2851c95e748ff2d5df56c1145586821dbeab /archaeological_context_records/models.py | |
parent | d01d5137aa184fa3e3294b71a61ae142524f2b38 (diff) | |
download | Ishtar-eb61b763e5165694d2ee937664a671f2eb91b394.tar.bz2 Ishtar-eb61b763e5165694d2ee937664a671f2eb91b394.zip |
Update translation
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 97bf2a117..7d266ccac 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -28,7 +28,7 @@ from django.db.models.signals import post_delete, post_save from django.utils.translation import ugettext_lazy as _, pgettext, pgettext_lazy from django.utils.text import slugify -from ishtar_common.utils import cached_label_changed, TXT_SEARCH_COMMENT +from ishtar_common.utils import cached_label_changed from ishtar_common.models import Document, GeneralType, \ BaseHistorizedItem, HistoricalRecords, OwnPerms, ShortMenuItem, \ @@ -259,47 +259,47 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, # alternative names of fields for searches ALT_NAMES = { 'label': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"id"), + pgettext_lazy("key for text search", u"id"), 'label' ), 'town': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"town"), + pgettext_lazy("key for text search", u"town"), 'town__cached_label__iexact' ), 'operation__year': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"operation-year"), + pgettext_lazy("key for text search", u"operation-year"), 'operation__year' ), 'operation__code_patriarche': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"patriarche"), + pgettext_lazy("key for text search", u"patriarche"), 'operation__code_patriarche' ), 'operation__operation_code': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"operation-code"), + pgettext_lazy("key for text search", u"operation-code"), 'operation__operation_code' ), 'archaeological_site': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"site"), + pgettext_lazy("key for text search", u"site"), 'archaeological_site__cached_label__icontains' ), 'ope_relation_types': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"operation-relation-type"), + pgettext_lazy("key for text search", u"operation-relation-type"), 'ope_relation_types' ), 'datings__period': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"period"), + pgettext_lazy("key for text search", u"period"), 'datings__period__label__iexact' ), 'unit': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"unit-type"), + pgettext_lazy("key for text search", u"unit-type"), 'unit__label__iexact' ), 'parcel': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"parcel"), + pgettext_lazy("key for text search", u"parcel"), 'parcel__cached_label__iexact' ), 'cr_relation_types': ( - pgettext_lazy(TXT_SEARCH_COMMENT, u"record-relation-type"), + pgettext_lazy("key for text search", u"record-relation-type"), 'cr_relation_types' ), } |