summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 0c4f6330b..014d1071b 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -212,7 +212,7 @@ class ArchaeologicalSite(DocumentItem, BaseHistorizedItem, CompleteIdentifierIte
'towns__cached_label__iexact'
),
'towns__areas': SearchAltName(
- pgettext_lazy("key for text search", u"area"),
+ pgettext_lazy("key for text search", "area"),
'towns__areas__label__iexact'
),
'comment': SearchAltName(
@@ -286,13 +286,13 @@ class ArchaeologicalSite(DocumentItem, BaseHistorizedItem, CompleteIdentifierIte
QA_LOCK = QuickAction(
url="site-qa-lock", icon_class="fa fa-lock",
- text=_(u"Lock/Unlock"), target="many",
+ text=_("Lock/Unlock"), target="many",
rights=['change_archaeologicalsite',
'change_own_archaeologicalsite']
)
QA_EDIT = QuickAction(
url="site-qa-bulk-update", icon_class="fa fa-pencil",
- text=_(u"Bulk update"), target="many",
+ text=_("Bulk update"), target="many",
rights=['change_archaeologicalsite',
'change_own_archaeologicalsite']
)
@@ -863,7 +863,7 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem,
'towns__cached_label__iexact'
),
'towns__areas': SearchAltName(
- pgettext_lazy("key for text search", u"area"),
+ pgettext_lazy("key for text search", "area"),
'towns__areas__label__iexact'
),
'parcel': SearchAltName(
@@ -1000,12 +1000,12 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem,
QA_EDIT = QuickAction(
url="operation-qa-bulk-update", icon_class="fa fa-pencil",
- text=_(u"Bulk update"), target="many",
+ text=_("Bulk update"), target="many",
rights=['change_operation', 'change_own_operation']
)
QA_LOCK = QuickAction(
url="operation-qa-lock", icon_class="fa fa-lock",
- text=_(u"Lock/Unlock"), target="many",
+ text=_("Lock/Unlock"), target="many",
rights=['change_operation', 'change_own_operation']
)
QUICK_ACTIONS = [