* removes unused messages * adds geometry conflict message rendering for KOM and OEK * removes unused methods in GeoReferencedMixin * generalizes geometrical lookup for conflicts from overlaps to intersects
32 lines
1.4 KiB
Python
32 lines
1.4 KiB
Python
"""
|
|
Author: Michel Peltriaux
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
Created on: 02.08.21
|
|
|
|
"""
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
FORM_INVALID = _("There was an error on this form.")
|
|
PARAMS_INVALID = _("Invalid parameters")
|
|
INTERVENTION_INVALID = _("There are errors in this intervention.")
|
|
IDENTIFIER_REPLACED = _("The identifier '{}' had to be changed to '{}' since another entry has been added in the meanwhile, which uses this identifier")
|
|
DATA_UNSHARED = _("This data is not shared with you")
|
|
DATA_UNSHARED_EXPLANATION = _("Remember: This data has not been shared with you, yet. This means you can only read but can not edit or perform any actions like running a check or recording.")
|
|
MISSING_GROUP_PERMISSION = _("You need to be part of another user group.")
|
|
|
|
CHECKED_RECORDED_RESET = _("Status of Checked and Recorded reseted")
|
|
|
|
# ECO ACCOUNT
|
|
CANCEL_ACC_RECORDED_OR_DEDUCTED = _("Action canceled. Eco account is recorded or deductions exist. Only conservation office member can perform this action.")
|
|
|
|
# Edited
|
|
EDITED_GENERAL_DATA = _("Edited general data")
|
|
ADDED_COMPENSATION_STATE = _("Added compensation state")
|
|
ADDED_DEADLINE = _("Added deadline")
|
|
ADDED_COMPENSATION_ACTION = _("Added compensation action")
|
|
|
|
# Geometry conflicts
|
|
GEOMETRY_CONFLICT_WITH_TEMPLATE = _("Geometry conflict detected with {}")
|