diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-06-09 00:48:32 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-06-09 00:48:32 +0200 |
commit | 1714fde90e7ad568dc9ec163fba9aff7265b294d (patch) | |
tree | 9a3b941636eb8218114254f526abe867355d542c | |
parent | 6b9af60961e307052cdc1273e06e2746656ee730 (diff) | |
download | Ishtar-1714fde90e7ad568dc9ec163fba9aff7265b294d.tar.bz2 Ishtar-1714fde90e7ad568dc9ec163fba9aff7265b294d.zip |
First work to modularize the application (forms corrections)
-rw-r--r-- | ishtar/furnitures/forms.py | 4 | ||||
-rw-r--r-- | ishtar/furnitures/forms_common.py | 5 | ||||
-rw-r--r-- | ishtar/furnitures/forms_context_records.py | 1 | ||||
-rw-r--r-- | ishtar/furnitures/forms_files.py | 2 | ||||
-rw-r--r-- | ishtar/furnitures/forms_operations.py | 9 | ||||
-rw-r--r-- | ishtar/locale/fr/LC_MESSAGES/django.po | 771 | ||||
-rw-r--r-- | ishtar/templates/wizard_closing_done.html | 6 | ||||
-rw-r--r-- | ishtar/templates/wizard_delete_done.html | 6 |
8 files changed, 425 insertions, 379 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py index efbae4b2b..3835073dd 100644 --- a/ishtar/furnitures/forms.py +++ b/ishtar/furnitures/forms.py @@ -676,7 +676,7 @@ class DeletionWizard(Wizard): def done(self, request, storage, form_list, **kwargs): obj = self.get_current_object(request, storage) obj.delete() - return render_to_response('wizard_done.html', {}, + return render_to_response('wizard_delete_done.html', {}, context_instance=RequestContext(request)) class ClosingWizard(Wizard): @@ -726,6 +726,6 @@ class ClosingWizard(Wizard): if 'end_date' in form.cleaned_data and hasattr(obj, 'end_date'): obj.end_date = form.cleaned_data['end_date'] obj.save() - return render_to_response('wizard_done.html', {}, + return render_to_response('wizard_closing_done.html', {}, context_instance=RequestContext(request)) diff --git a/ishtar/furnitures/forms_common.py b/ishtar/furnitures/forms_common.py index ab64babbd..cb147e46f 100644 --- a/ishtar/furnitures/forms_common.py +++ b/ishtar/furnitures/forms_common.py @@ -28,6 +28,7 @@ from django.shortcuts import render_to_response from django.core import validators from django.core.mail import send_mail from django.core.exceptions import ObjectDoesNotExist +from django.forms.formsets import formset_factory, DELETION_FIELD_NAME from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.models import User from django.contrib.sites.models import Site @@ -36,8 +37,8 @@ from ishtar import settings import models import widgets -from forms import Wizard, FinalForm, FormSet, formset_factory, reverse_lazy, \ - name_validator +from forms import Wizard, FinalForm, FormSet, reverse_lazy, name_validator,\ + clean_duplicated class PersonWizard(Wizard): model = models.Person diff --git a/ishtar/furnitures/forms_context_records.py b/ishtar/furnitures/forms_context_records.py index 464b090c1..7cd477c64 100644 --- a/ishtar/furnitures/forms_context_records.py +++ b/ishtar/furnitures/forms_context_records.py @@ -21,6 +21,7 @@ Context records forms definitions """ import datetime +from itertools import groupby from django import forms from django.core import validators diff --git a/ishtar/furnitures/forms_files.py b/ishtar/furnitures/forms_files.py index 4e63fc588..42eeddda2 100644 --- a/ishtar/furnitures/forms_files.py +++ b/ishtar/furnitures/forms_files.py @@ -23,6 +23,8 @@ Files forms definitions import datetime from django import forms +from django.shortcuts import render_to_response +from django.template import RequestContext from django.core import validators from django.core.exceptions import ObjectDoesNotExist from django.db.models import Max diff --git a/ishtar/furnitures/forms_operations.py b/ishtar/furnitures/forms_operations.py index e9d62b7ea..c6b6b9880 100644 --- a/ishtar/furnitures/forms_operations.py +++ b/ishtar/furnitures/forms_operations.py @@ -23,6 +23,8 @@ Operations forms definitions import datetime from django import forms +from django.shortcuts import render_to_response +from django.template import RequestContext from django.core import validators from django.core.exceptions import ObjectDoesNotExist from django.db.models import Max @@ -33,7 +35,7 @@ from ishtar import settings import models import widgets from forms import Wizard, FinalForm, FormSet, SearchWizard, ClosingWizard, \ - DeletionWizard, formset_factory, get_now, reverse_lazy + DeletionWizard, formset_factory, get_now, reverse_lazy, clean_duplicated from forms_common import TownForm, TownFormSet, ParcelFormSet, ParcelForm def is_preventive(form_name, model, type_key='operation_type', key=''): @@ -474,11 +476,14 @@ operation_closing_wizard = OperationClosingWizard([ ('final-operation_closing', FinalOperationClosingForm)], url_name='operation_closing',) +class OperationDeletionWizard(DeletionWizard): + model = models.Operation + class OperationDeletionForm(FinalForm): confirm_msg = " " confirm_end_msg = _(u"Would you like to delete this operation?") -operation_deletion_wizard = DeletionWizard([ +operation_deletion_wizard = OperationDeletionWizard([ ('selec-operation_deletion', OperationFormSelection), ('final-operation_deletion', OperationDeletionForm)], url_name='operation_deletion',) diff --git a/ishtar/locale/fr/LC_MESSAGES/django.po b/ishtar/locale/fr/LC_MESSAGES/django.po index 021a07488..c1a4452c4 100644 --- a/ishtar/locale/fr/LC_MESSAGES/django.po +++ b/ishtar/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: alpha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-08 00:40+0200\n" +"POT-Creation-Date: 2011-06-09 00:39+0200\n" "PO-Revision-Date: 2010-12-09\n" "Last-Translator: Étienne Loks <etienne.loks at peacefrogs net>\n" "Language-Team: \n" @@ -32,12 +32,12 @@ msgstr "courriel" msgid "warehouse" msgstr "dépôt" -#: furnitures/context_processors.py:42 furnitures/forms.py:1064 +#: furnitures/context_processors.py:42 furnitures/forms_operations.py:228 #: furnitures/menus.py:102 furnitures/models.py:970 furnitures/models.py:996 msgid "Archaelogical file" msgstr "Dossier archéologique" -#: furnitures/context_processors.py:43 furnitures/forms.py:1037 +#: furnitures/context_processors.py:43 furnitures/forms_operations.py:201 #: furnitures/menus.py:132 furnitures/models.py:568 furnitures/models.py:609 #: furnitures/models.py:971 furnitures/models.py:994 msgid "Operation" @@ -51,7 +51,7 @@ msgstr "Il y a des éléments identiques." msgid "Enter a valid name consisting of letters, spaces and hyphens." msgstr "Entrez un nom correct composé de lettres, espaces et tirets." -#: furnitures/forms.py:74 furnitures/forms_administrative.py:60 +#: furnitures/forms.py:74 furnitures/forms_common.py:62 #: furnitures/models.py:319 furnitures/models.py:349 furnitures/models.py:949 #: furnitures/models.py:1056 msgid "Name" @@ -61,19 +61,19 @@ msgstr "Nom" msgid "Warehouse type" msgstr "Type de dépôt" -#: furnitures/forms.py:78 furnitures/forms_files.py:152 +#: furnitures/forms.py:78 furnitures/forms_files.py:158 #: furnitures/models.py:428 furnitures/models.py:953 msgid "Person in charge" msgstr "Responsable" -#: furnitures/forms.py:83 furnitures/forms.py:1080 furnitures/forms.py:1702 -#: furnitures/forms_files.py:173 furnitures/models.py:130 -#: furnitures/models.py:458 furnitures/models.py:564 furnitures/models.py:954 -#: furnitures/models.py:1034 +#: furnitures/forms.py:83 furnitures/forms_files.py:179 +#: furnitures/forms_items.py:170 furnitures/forms_operations.py:244 +#: furnitures/models.py:130 furnitures/models.py:458 furnitures/models.py:564 +#: furnitures/models.py:954 furnitures/models.py:1034 msgid "Comment" msgstr "Commentaire" -#: furnitures/forms.py:85 furnitures/forms_files.py:185 +#: furnitures/forms.py:85 furnitures/forms_files.py:191 #: furnitures/models.py:297 msgid "Address" msgstr "Adresse" @@ -86,11 +86,12 @@ msgstr "Complément d'adresse" msgid "Postal code" msgstr "Code postal" -#: furnitures/forms.py:91 furnitures/forms.py:95 furnitures/forms.py:831 -#: furnitures/forms.py:1026 furnitures/forms.py:1135 furnitures/forms.py:1334 -#: furnitures/forms.py:1419 furnitures/forms.py:1633 -#: furnitures/forms_files.py:122 furnitures/forms_files.py:202 -#: furnitures/forms_files.py:231 furnitures/models.py:302 +#: furnitures/forms.py:91 furnitures/forms.py:95 +#: furnitures/forms_common.py:236 furnitures/forms_common.py:265 +#: furnitures/forms_context_records.py:83 furnitures/forms_files.py:128 +#: furnitures/forms_files.py:323 furnitures/forms_items.py:101 +#: furnitures/forms_operations.py:190 furnitures/forms_operations.py:299 +#: furnitures/forms_operations.py:532 furnitures/models.py:302 #: furnitures/models.py:613 furnitures/models.py:1070 msgid "Town" msgstr "Commune" @@ -103,7 +104,7 @@ msgstr "Pays" msgid "Phone" msgstr "Téléphone" -#: furnitures/forms.py:112 furnitures/forms_administrative.py:216 +#: furnitures/forms.py:112 furnitures/forms_common.py:218 msgid "Confirm" msgstr "Confirmation" @@ -115,382 +116,441 @@ msgstr "Oui" msgid "No" msgstr "Non" -#: furnitures/forms.py:740 templates/sheet_file.html:86 -msgid "Associated operations" -msgstr "Opérations associées" - -#: furnitures/forms.py:759 -msgid "Would you like to delete this archaelogical file ?" -msgstr "Voulez vous supprimer ce dossier archéologique ?" - -#: furnitures/forms.py:814 furnitures/forms.py:1052 furnitures/forms.py:1349 -#: furnitures/forms.py:1447 furnitures/forms_files.py:148 -#: templates/sheet_file.html:17 templates/sheet_ope.html:5 -#: templates/sheet_ope_modif.html:5 templates/sheet_operation.html:5 -msgid "General" -msgstr "Général" - -#: furnitures/forms.py:817 furnitures/forms.py:835 furnitures/forms.py:1338 -#: furnitures/forms.py:1350 furnitures/models.py:976 furnitures/models.py:984 -msgid "Act type" -msgstr "Type d'acte" - -#: furnitures/forms.py:819 furnitures/models.py:992 -msgid "Signatory" -msgstr "Signataire" - -#: furnitures/forms.py:823 furnitures/models.py:998 -msgid "Object" -msgstr "Objet" - -#: furnitures/forms.py:825 furnitures/models.py:997 -msgid "Signature date" -msgstr "Date de signature" - -#: furnitures/forms.py:839 -msgid "Administrative Act" -msgstr "Acte administratif" - -#: furnitures/forms.py:851 -msgid "You should select an administrative act." -msgstr "Vous devez sélectionner un acte administratif." - -#: furnitures/forms.py:870 -msgid "Would you like to delete this administrative act?" -msgstr "Voulez vous supprimer cet acte administratif ?" - -#: furnitures/forms.py:1020 -msgid "" -"Warning: No Archaelogical File is provided. If you have forget it return to " -"the first step." -msgstr "" -"Attention : Aucun dossier archéologique n'a été précisé. S'il s'agit d'un " -"oubli, définissez le à la première étape." +#: furnitures/forms_common.py:47 furnitures/forms_common.py:50 +#: furnitures/forms_items.py:142 furnitures/menus.py:89 +#: furnitures/models.py:360 furnitures/models.py:385 furnitures/models.py:1094 +#: furnitures/models.py:1116 furnitures/models.py:1131 +msgid "Person" +msgstr "Individu" -#: furnitures/forms.py:1030 furnitures/forms.py:1068 furnitures/models.py:515 -#: furnitures/models.py:544 -msgid "Operation type" -msgstr "Type d'opération" +#: furnitures/forms_common.py:56 +msgid "Identity" +msgstr "Identité" -#: furnitures/forms.py:1032 furnitures/models.py:546 -msgid "Remains" -msgstr "Vestiges" +#: furnitures/forms_common.py:59 furnitures/models.py:347 +#: furnitures/models.py:786 templates/sheet_contextrecord.html:83 +#: templates/sheet_ope.html:104 templates/sheet_ope_modif.html:104 +#: templates/sheet_operation.html:104 +msgid "Title" +msgstr "Titre" -#: furnitures/forms.py:1034 furnitures/forms.py:1076 furnitures/forms.py:1423 -#: furnitures/forms.py:1635 furnitures/forms_files.py:130 -#: furnitures/forms_files.py:157 furnitures/forms_files.py:177 -#: furnitures/forms_files.py:237 furnitures/models.py:421 -#: furnitures/models.py:539 furnitures/models.py:610 -#: templates/sheet_file.html:68 templates/sheet_file.html.py:88 -#: templates/sheet_file.html:116 templates/sheet_ope.html:61 -#: templates/sheet_ope.html.py:83 templates/sheet_ope_modif.html:61 -#: templates/sheet_ope_modif.html.py:83 templates/sheet_operation.html:62 -#: templates/sheet_operation.html.py:83 -msgid "Year" -msgstr "Année" +#: furnitures/forms_common.py:60 furnitures/models.py:348 +msgid "Surname" +msgstr "Prénom" -#: furnitures/forms.py:1048 -msgid "You should select an operation." -msgstr "Vous devez sélectionner une opération." +#: furnitures/forms_common.py:64 furnitures/forms_common.py:183 +#: furnitures/models.py:350 +msgid "Email" +msgstr "Courriel" -#: furnitures/forms.py:1057 furnitures/models.py:986 -msgid "Person in charge of the operation" -msgstr "Responsable d'opération" +#: furnitures/forms_common.py:66 furnitures/models.py:338 +msgid "Person type" +msgstr "Type d'individu" -#: furnitures/forms.py:1070 furnitures/forms.py:1497 furnitures/forms.py:1613 -#: furnitures/forms.py:1683 furnitures/models.py:535 furnitures/models.py:635 -#: furnitures/models.py:659 furnitures/models.py:933 furnitures/models.py:1096 -#: furnitures/models.py:1132 templates/sheet_file.html:93 -msgid "Start date" -msgstr "Date de début" +#: furnitures/forms_common.py:68 +msgid "Current organization" +msgstr "Organisation actuelle" -#: furnitures/forms.py:1073 furnitures/forms_files.py:189 -#: furnitures/models.py:450 -msgid "Total surface" -msgstr "Surface totale" +#: furnitures/forms_common.py:72 furnitures/models.py:354 +msgid "Is an author?" +msgstr "Est un auteur ?" -#: furnitures/forms.py:1084 -msgid "References" -msgstr "Référence" +#: furnitures/forms_common.py:75 furnitures/models.py:356 +msgid "In charge of a storage?" +msgstr "Est responsable d'un dépôt ?" -#: furnitures/forms.py:1091 furnitures/models.py:540 -msgid "Operation code" -msgstr "Code de l'opération" +#: furnitures/forms_common.py:101 furnitures/forms_common.py:185 +msgid "New password" +msgstr "Nouveau mot de passe" -#: furnitures/forms.py:1108 +#: furnitures/forms_common.py:155 #, python-format -msgid "" -"Operation code already exist for year: %(year)d - use a value bigger than " -"%(last_val)d" -msgstr "" -"Ce code d'opération existe déjà pour l'année %(year)d - utilisez une valeur " -"plus grande que %(last_val)d" - -#: furnitures/forms.py:1114 -msgid "Preventive informations - excavation" -msgstr "Information archéologie préventive - fouille" +msgid "[%(app_name)s] Account creation/modification" +msgstr "[%(app_name)s] Création - modification du compte" -#: furnitures/forms.py:1115 furnitures/models.py:548 -msgid "Cost" -msgstr "Coût" +#: furnitures/forms_common.py:178 furnitures/forms_common.py:182 +msgid "Account" +msgstr "Compte" -#: furnitures/forms.py:1123 -msgid "Preventive informations - diagnostic" -msgstr "Information archéologie préventive - diagnostic" +#: furnitures/forms_common.py:189 +msgid "New password (confirmation)" +msgstr "Nouveau mot de passe (confirmation)" -#: furnitures/forms.py:1126 furnitures/models.py:559 -msgid "Prescription on zoning" -msgstr "Prescription sur zonage" +#: furnitures/forms_common.py:207 +msgid "Your password and confirmation password do not match." +msgstr "La vérification du mot de passe a échoué." -#: furnitures/forms.py:1128 furnitures/models.py:561 -msgid "Prescription on large area" -msgstr "Prescription sur une vaste surface" +#: furnitures/forms_common.py:212 +msgid "You must provide a correct password." +msgstr "Vous devez fournir un mot de passe correct." -#: furnitures/forms.py:1130 furnitures/models.py:563 -msgid "Prescription on geoarchaeological context" -msgstr "Prescription sur un contexte géoarchéologique" +#: furnitures/forms_common.py:219 +msgid "Send the new password by email?" +msgstr "Envoyer le nouveau mot de passe par courriel ?" -#: furnitures/forms.py:1133 furnitures/forms.py:1154 furnitures/forms.py:1158 -#: furnitures/forms_files.py:199 furnitures/forms_files.py:225 -#: furnitures/models.py:438 furnitures/models.py:547 furnitures/models.py:1071 +#: furnitures/forms_common.py:233 furnitures/forms_common.py:259 +#: furnitures/forms_operations.py:297 furnitures/forms_operations.py:318 +#: furnitures/forms_operations.py:322 furnitures/models.py:438 +#: furnitures/models.py:547 furnitures/models.py:1071 msgid "Towns" msgstr "Communes" -#: furnitures/forms.py:1161 furnitures/forms.py:1182 furnitures/forms.py:1186 -#: furnitures/forms_files.py:228 furnitures/forms_files.py:276 -#: furnitures/models.py:619 +#: furnitures/forms_common.py:255 +msgid "There are identical towns." +msgstr "Il y a des communes identiques." + +#: furnitures/forms_common.py:262 furnitures/forms_common.py:310 +#: furnitures/forms_operations.py:325 furnitures/forms_operations.py:346 +#: furnitures/forms_operations.py:350 furnitures/models.py:619 msgid "Parcels" msgstr "Parcelles" -#: furnitures/forms.py:1163 furnitures/forms.py:1449 furnitures/models.py:618 -#: furnitures/models.py:714 furnitures/models.py:932 -#: templates/sheet_contextrecord.html:110 templates/sheet_ope.html:63 -#: templates/sheet_ope.html.py:129 templates/sheet_ope_modif.html:63 -#: templates/sheet_ope_modif.html.py:129 templates/sheet_ope_modif.html:157 -#: templates/sheet_operation.html:64 templates/sheet_operation.html.py:128 -#: templates/sheet_operation.html:159 -msgid "Parcel" -msgstr "Parcelle" +#: furnitures/forms_common.py:267 furnitures/models.py:614 +#: templates/sheet_ope.html:62 templates/sheet_ope_modif.html:62 +#: templates/sheet_operation.html:63 +msgid "Section" +msgstr "Section" -#: furnitures/forms.py:1189 furnitures/forms.py:1201 furnitures/models.py:530 -msgid "Remain types" -msgstr "Types de vestige" +#: furnitures/forms_common.py:269 furnitures/models.py:615 +msgid "Parcel number" +msgstr "Numéro de parcelle" -#: furnitures/forms.py:1191 furnitures/models.py:529 -msgid "Remain type" -msgstr "Type de vestige" +#: furnitures/forms_common.py:271 furnitures/forms_context_records.py:87 +#: furnitures/forms_files.py:136 furnitures/forms_files.py:163 +#: furnitures/forms_files.py:183 furnitures/forms_items.py:103 +#: furnitures/forms_operations.py:198 furnitures/forms_operations.py:240 +#: furnitures/models.py:421 furnitures/models.py:539 furnitures/models.py:610 +#: templates/sheet_file.html:68 templates/sheet_file.html.py:88 +#: templates/sheet_file.html:116 templates/sheet_ope.html:61 +#: templates/sheet_ope.html.py:83 templates/sheet_ope_modif.html:61 +#: templates/sheet_ope_modif.html.py:83 templates/sheet_operation.html:62 +#: templates/sheet_operation.html.py:83 +msgid "Year" +msgstr "Année" -#: furnitures/forms.py:1204 furnitures/forms.py:1216 furnitures/models.py:549 -#: templates/sheet_contextrecord.html:106 templates/sheet_ope_modif.html:153 -#: templates/sheet_operation.html:155 -msgid "Periods" -msgstr "Périodes" +#: furnitures/forms_common.py:299 +msgid "All fields are required" +msgstr "Tous les champs sont nécessaires" -#: furnitures/forms.py:1206 furnitures/forms.py:1424 furnitures/forms.py:1495 -#: furnitures/forms.py:1611 furnitures/forms.py:1637 furnitures/models.py:658 +#: furnitures/forms_context_records.py:88 +#: furnitures/forms_context_records.py:159 furnitures/forms_items.py:79 +#: furnitures/forms_items.py:105 furnitures/forms_operations.py:370 +#: furnitures/models.py:658 msgid "Period" msgstr "Période" -#: furnitures/forms.py:1296 furnitures/forms.py:1297 furnitures/models.py:536 -msgid "Closing date" -msgstr "Date de clotûre" - -#: furnitures/forms.py:1307 -msgid "Would you like to close this operation?" -msgstr "Voulez vous clôturer cette opération ?" - -#: furnitures/forms.py:1317 -msgid "Would you like to delete this operation?" -msgstr "Voulez vous supprimer cette opération ?" - -#: furnitures/forms.py:1426 +#: furnitures/forms_context_records.py:90 msgid "Unit type" msgstr "Type d'unité" -#: furnitures/forms.py:1430 furnitures/menus.py:174 +#: furnitures/forms_context_records.py:94 furnitures/menus.py:174 #: templates/sheet_contextrecord.html:105 templates/sheet_operation.html:154 msgid "Context record" msgstr "Unité d'Enregistrement" -#: furnitures/forms.py:1441 +#: furnitures/forms_context_records.py:105 msgid "You should select a context record." msgstr "Vous devez sélectionner une Unité d'Enregistrement." -#: furnitures/forms.py:1450 furnitures/forms.py:1595 furnitures/forms.py:1729 -#: furnitures/models.py:716 furnitures/models.py:806 furnitures/models.py:884 +#: furnitures/forms_context_records.py:111 furnitures/forms_files.py:154 +#: furnitures/forms_operations.py:216 furnitures/forms_operations.py:557 +#: templates/sheet_file.html:17 templates/sheet_ope.html:5 +#: templates/sheet_ope_modif.html:5 templates/sheet_operation.html:5 +msgid "General" +msgstr "Général" + +#: furnitures/forms_context_records.py:113 furnitures/forms_operations.py:327 +#: furnitures/models.py:618 furnitures/models.py:714 furnitures/models.py:932 +#: templates/sheet_contextrecord.html:110 templates/sheet_ope.html:63 +#: templates/sheet_ope.html.py:129 templates/sheet_ope_modif.html:63 +#: templates/sheet_ope_modif.html.py:129 templates/sheet_ope_modif.html:157 +#: templates/sheet_operation.html:64 templates/sheet_operation.html.py:128 +#: templates/sheet_operation.html:159 +msgid "Parcel" +msgstr "Parcelle" + +#: furnitures/forms_context_records.py:114 furnitures/forms_items.py:63 +#: furnitures/forms_items.py:197 furnitures/models.py:716 +#: furnitures/models.py:806 furnitures/models.py:884 #: templates/sheet_ope.html:125 templates/sheet_ope_modif.html:125 #: templates/sheet_operation.html:124 msgid "ID" msgstr "Identifiant" -#: furnitures/forms.py:1452 furnitures/forms.py:1672 furnitures/models.py:717 -#: furnitures/models.py:807 furnitures/models.py:885 furnitures/models.py:1089 -#: templates/sheet_contextrecord.html:23 +#: furnitures/forms_context_records.py:116 furnitures/forms_items.py:140 +#: furnitures/models.py:717 furnitures/models.py:807 furnitures/models.py:885 +#: furnitures/models.py:1089 templates/sheet_contextrecord.html:23 #: templates/sheet_contextrecord.html:107 templates/sheet_ope.html:128 #: templates/sheet_ope_modif.html:128 templates/sheet_ope_modif.html.py:154 #: templates/sheet_operation.html:127 templates/sheet_operation.html.py:156 msgid "Description" msgstr "Description" -#: furnitures/forms.py:1454 furnitures/models.py:718 furnitures/models.py:1019 +#: furnitures/forms_context_records.py:118 furnitures/models.py:718 +#: furnitures/models.py:1019 msgid "Length" msgstr "Longueur (cm)" -#: furnitures/forms.py:1455 furnitures/models.py:719 furnitures/models.py:1020 +#: furnitures/forms_context_records.py:119 furnitures/models.py:719 +#: furnitures/models.py:1020 msgid "Width" msgstr "Largeur (cm)" -#: furnitures/forms.py:1456 furnitures/models.py:720 +#: furnitures/forms_context_records.py:120 furnitures/models.py:720 msgid "Thickness" msgstr "Épaisseur (cm)" -#: furnitures/forms.py:1457 furnitures/models.py:721 +#: furnitures/forms_context_records.py:121 furnitures/models.py:721 msgid "Depth" msgstr "Profondeur (cm)" -#: furnitures/forms.py:1458 furnitures/models.py:726 +#: furnitures/forms_context_records.py:122 furnitures/models.py:726 msgid "Unit" msgstr "Unité" -#: furnitures/forms.py:1460 furnitures/forms.py:1678 furnitures/models.py:722 -#: furnitures/models.py:1030 furnitures/models.py:1092 +#: furnitures/forms_context_records.py:124 furnitures/forms_items.py:146 +#: furnitures/models.py:722 furnitures/models.py:1030 +#: furnitures/models.py:1092 msgid "Location" msgstr "Lieu" -#: furnitures/forms.py:1490 furnitures/forms.py:1506 furnitures/forms.py:1606 +#: furnitures/forms_context_records.py:154 +#: furnitures/forms_context_records.py:170 furnitures/forms_items.py:74 #: furnitures/models.py:667 furnitures/models.py:895 msgid "Dating" msgstr "Datation" -#: furnitures/forms.py:1498 furnitures/forms.py:1615 furnitures/forms.py:1685 -#: furnitures/models.py:636 furnitures/models.py:660 furnitures/models.py:934 -#: furnitures/models.py:1097 furnitures/models.py:1133 -#: templates/sheet_file.html:94 +#: furnitures/forms_context_records.py:161 furnitures/forms_items.py:81 +#: furnitures/forms_items.py:151 furnitures/forms_operations.py:234 +#: furnitures/models.py:535 furnitures/models.py:635 furnitures/models.py:659 +#: furnitures/models.py:933 furnitures/models.py:1096 +#: furnitures/models.py:1132 templates/sheet_file.html:93 +msgid "Start date" +msgstr "Date de début" + +#: furnitures/forms_context_records.py:162 furnitures/forms_items.py:83 +#: furnitures/forms_items.py:153 furnitures/models.py:636 +#: furnitures/models.py:660 furnitures/models.py:934 furnitures/models.py:1097 +#: furnitures/models.py:1133 templates/sheet_file.html:94 msgid "End date" msgstr "Date de fin" -#: furnitures/forms.py:1499 furnitures/forms.py:1616 furnitures/models.py:663 +#: furnitures/forms_context_records.py:163 furnitures/forms_items.py:84 +#: furnitures/models.py:663 msgid "Quality" msgstr "Qualité" -#: furnitures/forms.py:1501 furnitures/forms.py:1618 furnitures/models.py:649 -#: furnitures/models.py:661 +#: furnitures/forms_context_records.py:165 furnitures/forms_items.py:86 +#: furnitures/models.py:649 furnitures/models.py:661 msgid "Dating type" msgstr "Type de datation" -#: furnitures/forms.py:1509 furnitures/forms.py:1516 furnitures/models.py:731 +#: furnitures/forms_context_records.py:173 +#: furnitures/forms_context_records.py:180 furnitures/models.py:731 #: templates/sheet_contextrecord.html:32 msgid "Interpretation" msgstr "Interpretation" -#: furnitures/forms.py:1512 +#: furnitures/forms_context_records.py:176 msgid "Has furniture?" msgstr "A du matériel ?" -#: furnitures/forms.py:1514 furnitures/models.py:730 +#: furnitures/forms_context_records.py:178 furnitures/models.py:730 msgid "Filling" msgstr "Remplissage" -#: furnitures/forms.py:1518 furnitures/models.py:746 +#: furnitures/forms_context_records.py:182 furnitures/models.py:746 msgid "Activity" msgstr "Activité" -#: furnitures/forms.py:1520 furnitures/models.py:744 +#: furnitures/forms_context_records.py:184 furnitures/models.py:744 msgid "Identification" msgstr "Identification" -#: furnitures/forms.py:1522 furnitures/models.py:733 +#: furnitures/forms_context_records.py:186 furnitures/models.py:733 msgid "TAQ" msgstr "TAQ" -#: furnitures/forms.py:1523 furnitures/models.py:736 +#: furnitures/forms_context_records.py:187 furnitures/models.py:736 msgid "Estimated TAQ" msgstr "TAQ estimé" -#: furnitures/forms.py:1525 furnitures/models.py:738 +#: furnitures/forms_context_records.py:189 furnitures/models.py:738 msgid "TPQ" msgstr "TPQ" -#: furnitures/forms.py:1526 furnitures/models.py:741 +#: furnitures/forms_context_records.py:190 furnitures/models.py:741 msgid "Estimated TPQ" msgstr "TPQ estimé" -#: furnitures/forms.py:1564 +#: furnitures/forms_context_records.py:228 msgid "Would you like to delete this context record?" msgstr "Voulez vous supprimer cette Unité d'Enregistrement ?" -#: furnitures/forms.py:1583 furnitures/models.py:818 furnitures/models.py:881 +#: furnitures/forms_files.py:132 furnitures/forms_files.py:173 +#: furnitures/models.py:426 +msgid "File type" +msgstr "Type de dossier" + +#: furnitures/forms_files.py:134 furnitures/forms_files.py:232 +msgid "Saisine type" +msgstr "Type de saisine" + +#: furnitures/forms_files.py:139 furnitures/models.py:462 +msgid "Archaeological file" +msgstr "Dossier archéologique" + +#: furnitures/forms_files.py:150 +msgid "You should select a file." +msgstr "Vous devez sélectionner un dossier archéologique." + +#: furnitures/forms_files.py:167 furnitures/forms_files.py:185 +#: furnitures/models.py:423 +msgid "Numeric reference" +msgstr "Référence numérique" + +#: furnitures/forms_files.py:169 furnitures/forms_files.py:187 +#: furnitures/models.py:424 +msgid "Internal reference" +msgstr "Référence interne" + +#: furnitures/forms_files.py:171 furnitures/models.py:439 +msgid "Creation date" +msgstr "Date de création" + +#: furnitures/forms_files.py:175 furnitures/models.py:443 +msgid "Related file" +msgstr "Dossier en relation avec" + +#: furnitures/forms_files.py:195 furnitures/forms_operations.py:237 +#: furnitures/models.py:450 +msgid "Total surface" +msgstr "Surface totale" + +#: furnitures/forms_files.py:198 furnitures/models.py:453 +msgid "Main address" +msgstr "Adresse principale" + +#: furnitures/forms_files.py:199 furnitures/models.py:454 +msgid "Main address - complement" +msgstr "Adresse principale - complément" + +#: furnitures/forms_files.py:201 furnitures/models.py:456 +msgid "Main address - postal code" +msgstr "Adresse principale - code postal" + +#: furnitures/forms_files.py:205 +msgid "Preventive informations" +msgstr "Information archéologie préventive" + +#: furnitures/forms_files.py:210 furnitures/models.py:430 +msgid "General contractor" +msgstr "Aménageur" + +#: furnitures/forms_files.py:217 furnitures/models.py:432 +msgid "Town planning service" +msgstr "Service instructeur" + +#: furnitures/forms_files.py:223 furnitures/models.py:408 +#: furnitures/models.py:433 +msgid "Permit type" +msgstr "Type de permis" + +#: furnitures/forms_files.py:225 furnitures/models.py:435 +msgid "Permit reference" +msgstr "Référence du permis" + +#: furnitures/forms_files.py:228 furnitures/models.py:451 +msgid "Total developed surface" +msgstr "Surface totale aménagée" + +#: furnitures/forms_files.py:234 furnitures/models.py:441 +msgid "Reception date" +msgstr "Date de réception" + +#: furnitures/forms_files.py:280 templates/sheet_file.html:86 +msgid "Associated operations" +msgstr "Opérations associées" + +#: furnitures/forms_files.py:299 +msgid "Would you like to delete this archaelogical file ?" +msgstr "Voulez vous supprimer ce dossier archéologique ?" + +#: furnitures/forms_files.py:327 furnitures/forms_files.py:338 +#: furnitures/forms_operations.py:536 furnitures/forms_operations.py:560 +#: furnitures/models.py:976 furnitures/models.py:984 +msgid "Act type" +msgstr "Type d'acte" + +#: furnitures/forms_items.py:51 furnitures/models.py:818 +#: furnitures/models.py:881 msgid "Base item" msgstr "Mobilier de base" -#: furnitures/forms.py:1585 +#: furnitures/forms_items.py:53 msgid "General ID" msgstr "Identifiant général" -#: furnitures/forms.py:1587 +#: furnitures/forms_items.py:55 msgid "General description" msgstr "Description générale" -#: furnitures/forms.py:1589 furnitures/forms.py:1640 furnitures/models.py:810 +#: furnitures/forms_items.py:57 furnitures/forms_items.py:108 +#: furnitures/models.py:810 msgid "Is isolated?" msgstr "Est isolé ?" -#: furnitures/forms.py:1593 furnitures/forms.py:1643 furnitures/menus.py:193 -#: furnitures/models.py:899 furnitures/models.py:1128 +#: furnitures/forms_items.py:61 furnitures/forms_items.py:111 +#: furnitures/menus.py:193 furnitures/models.py:899 furnitures/models.py:1128 msgid "Item" msgstr "Mobilier" -#: furnitures/forms.py:1597 furnitures/forms.py:1731 +#: furnitures/forms_items.py:65 furnitures/forms_items.py:199 msgid "Precise description" msgstr "Description précise" -#: furnitures/forms.py:1599 furnitures/forms.py:1639 furnitures/forms.py:1733 -#: furnitures/models.py:802 furnitures/models.py:887 -#: templates/sheet_contextrecord.html:104 templates/sheet_operation.html:153 +#: furnitures/forms_items.py:67 furnitures/forms_items.py:107 +#: furnitures/forms_items.py:201 furnitures/models.py:802 +#: furnitures/models.py:887 templates/sheet_contextrecord.html:104 +#: templates/sheet_operation.html:153 msgid "Material type" msgstr "Type de matériaux" -#: furnitures/forms.py:1601 furnitures/forms.py:1735 furnitures/models.py:888 -#: furnitures/models.py:1022 +#: furnitures/forms_items.py:69 furnitures/forms_items.py:203 +#: furnitures/models.py:888 furnitures/models.py:1022 msgid "Volume" msgstr "Volume" -#: furnitures/forms.py:1602 furnitures/forms.py:1736 furnitures/models.py:889 -#: templates/sheet_contextrecord.html:108 templates/sheet_ope_modif.html:155 -#: templates/sheet_operation.html:157 +#: furnitures/forms_items.py:70 furnitures/forms_items.py:204 +#: furnitures/models.py:889 templates/sheet_contextrecord.html:108 +#: templates/sheet_ope_modif.html:155 templates/sheet_operation.html:157 msgid "Weight" msgstr "Poids" -#: furnitures/forms.py:1603 furnitures/forms.py:1737 furnitures/models.py:890 +#: furnitures/forms_items.py:71 furnitures/forms_items.py:205 +#: furnitures/models.py:890 msgid "Item number" msgstr "Nombre d'artefacts" -#: furnitures/forms.py:1666 +#: furnitures/forms_items.py:134 msgid "Base treatment" msgstr "Traitement de base" -#: furnitures/forms.py:1670 furnitures/models.py:1083 +#: furnitures/forms_items.py:138 furnitures/models.py:1083 #: furnitures/models.py:1091 msgid "Treatment type" msgstr "Type de traitement" -#: furnitures/forms.py:1674 furnitures/forms_administrative.py:45 -#: furnitures/forms_administrative.py:48 furnitures/menus.py:89 -#: furnitures/models.py:360 furnitures/models.py:385 furnitures/models.py:1094 -#: furnitures/models.py:1116 furnitures/models.py:1131 -msgid "Person" -msgstr "Individu" - -#: furnitures/forms.py:1689 +#: furnitures/forms_items.py:157 msgid "Upstream items" msgstr "Mobilier amont" -#: furnitures/forms.py:1697 furnitures/models.py:1037 +#: furnitures/forms_items.py:165 furnitures/models.py:1037 #: furnitures/models.py:1087 msgid "Container" msgstr "Contenant" -#: furnitures/forms.py:1699 furnitures/models.py:1023 +#: furnitures/forms_items.py:167 furnitures/models.py:1023 #: furnitures/models.py:1033 templates/sheet_file.html:69 #: templates/sheet_file.html.py:89 templates/sheet_file.html:117 #: templates/sheet_ope.html:84 templates/sheet_ope_modif.html:84 @@ -498,183 +558,140 @@ msgstr "Contenant" msgid "Reference" msgstr "Référence" -#: furnitures/forms.py:1700 furnitures/models.py:1026 +#: furnitures/forms_items.py:168 furnitures/models.py:1026 #: furnitures/models.py:1032 msgid "Container type" msgstr "Type de contenant" -#: furnitures/forms.py:1727 +#: furnitures/forms_items.py:195 msgid "Resulting item" msgstr "Mobilier résultant" -#: furnitures/forms.py:1741 +#: furnitures/forms_items.py:209 msgid "Resulting items" msgstr "Mobiliers résultants" -#: furnitures/forms.py:1744 +#: furnitures/forms_items.py:212 msgid "Upstream item" msgstr "Mobilier amont" -#: furnitures/forms_administrative.py:54 -msgid "Identity" -msgstr "Identité" - -#: furnitures/forms_administrative.py:57 furnitures/models.py:347 -#: furnitures/models.py:786 templates/sheet_contextrecord.html:83 -#: templates/sheet_ope.html:104 templates/sheet_ope_modif.html:104 -#: templates/sheet_operation.html:104 -msgid "Title" -msgstr "Titre" - -#: furnitures/forms_administrative.py:58 furnitures/models.py:348 -msgid "Surname" -msgstr "Prénom" +#: furnitures/forms_operations.py:184 +msgid "" +"Warning: No Archaelogical File is provided. If you have forget it return to " +"the first step." +msgstr "" +"Attention : Aucun dossier archéologique n'a été précisé. S'il s'agit d'un " +"oubli, définissez le à la première étape." -#: furnitures/forms_administrative.py:62 -#: furnitures/forms_administrative.py:181 furnitures/models.py:350 -msgid "Email" -msgstr "Courriel" +#: furnitures/forms_operations.py:194 furnitures/forms_operations.py:232 +#: furnitures/models.py:515 furnitures/models.py:544 +msgid "Operation type" +msgstr "Type d'opération" -#: furnitures/forms_administrative.py:64 furnitures/models.py:338 -msgid "Person type" -msgstr "Type d'individu" +#: furnitures/forms_operations.py:196 furnitures/models.py:546 +msgid "Remains" +msgstr "Vestiges" -#: furnitures/forms_administrative.py:66 -msgid "Current organization" -msgstr "Organisation actuelle" +#: furnitures/forms_operations.py:212 +msgid "You should select an operation." +msgstr "Vous devez sélectionner une opération." -#: furnitures/forms_administrative.py:70 furnitures/models.py:354 -msgid "Is an author?" -msgstr "Est un auteur ?" +#: furnitures/forms_operations.py:221 furnitures/models.py:986 +msgid "Person in charge of the operation" +msgstr "Responsable d'opération" -#: furnitures/forms_administrative.py:73 furnitures/models.py:356 -msgid "In charge of a storage?" -msgstr "Est responsable d'un dépôt ?" +#: furnitures/forms_operations.py:248 +msgid "References" +msgstr "Référence" -#: furnitures/forms_administrative.py:99 -#: furnitures/forms_administrative.py:183 -msgid "New password" -msgstr "Nouveau mot de passe" +#: furnitures/forms_operations.py:255 furnitures/models.py:540 +msgid "Operation code" +msgstr "Code de l'opération" -#: furnitures/forms_administrative.py:153 +#: furnitures/forms_operations.py:272 #, python-format -msgid "[%(app_name)s] Account creation/modification" -msgstr "[%(app_name)s] Création - modification du compte" - -#: furnitures/forms_administrative.py:176 -#: furnitures/forms_administrative.py:180 -msgid "Account" -msgstr "Compte" - -#: furnitures/forms_administrative.py:187 -msgid "New password (confirmation)" -msgstr "Nouveau mot de passe (confirmation)" - -#: furnitures/forms_administrative.py:205 -msgid "Your password and confirmation password do not match." -msgstr "La vérification du mot de passe a échoué." - -#: furnitures/forms_administrative.py:210 -msgid "You must provide a correct password." -msgstr "Vous devez fournir un mot de passe correct." - -#: furnitures/forms_administrative.py:217 -msgid "Send the new password by email?" -msgstr "Envoyer le nouveau mot de passe par courriel ?" - -#: furnitures/forms_files.py:126 furnitures/forms_files.py:167 -#: furnitures/models.py:426 -msgid "File type" -msgstr "Type de dossier" - -#: furnitures/forms_files.py:128 furnitures/forms_files.py:306 -msgid "Saisine type" -msgstr "Type de saisine" - -#: furnitures/forms_files.py:133 furnitures/models.py:462 -msgid "Archaeological file" -msgstr "Dossier archéologique" - -#: furnitures/forms_files.py:144 -msgid "You should select a file." -msgstr "Vous devez sélectionner un dossier archéologique." +msgid "" +"Operation code already exist for year: %(year)d - use a value bigger than " +"%(last_val)d" +msgstr "" +"Ce code d'opération existe déjà pour l'année %(year)d - utilisez une valeur " +"plus grande que %(last_val)d" -#: furnitures/forms_files.py:161 furnitures/forms_files.py:179 -#: furnitures/models.py:423 -msgid "Numeric reference" -msgstr "Référence numérique" +#: furnitures/forms_operations.py:278 +msgid "Preventive informations - excavation" +msgstr "Information archéologie préventive - fouille" -#: furnitures/forms_files.py:163 furnitures/forms_files.py:181 -#: furnitures/models.py:424 -msgid "Internal reference" -msgstr "Référence interne" +#: furnitures/forms_operations.py:279 furnitures/models.py:548 +msgid "Cost" +msgstr "Coût" -#: furnitures/forms_files.py:165 furnitures/models.py:439 -msgid "Creation date" -msgstr "Date de création" +#: furnitures/forms_operations.py:287 +msgid "Preventive informations - diagnostic" +msgstr "Information archéologie préventive - diagnostic" -#: furnitures/forms_files.py:169 furnitures/models.py:443 -msgid "Related file" -msgstr "Dossier en relation avec" +#: furnitures/forms_operations.py:290 furnitures/models.py:559 +msgid "Prescription on zoning" +msgstr "Prescription sur zonage" -#: furnitures/forms_files.py:192 furnitures/models.py:453 -msgid "Main address" -msgstr "Adresse principale" +#: furnitures/forms_operations.py:292 furnitures/models.py:561 +msgid "Prescription on large area" +msgstr "Prescription sur une vaste surface" -#: furnitures/forms_files.py:193 furnitures/models.py:454 -msgid "Main address - complement" -msgstr "Adresse principale - complément" +#: furnitures/forms_operations.py:294 furnitures/models.py:563 +msgid "Prescription on geoarchaeological context" +msgstr "Prescription sur un contexte géoarchéologique" -#: furnitures/forms_files.py:195 furnitures/models.py:456 -msgid "Main address - postal code" -msgstr "Adresse principale - code postal" +#: furnitures/forms_operations.py:353 furnitures/forms_operations.py:365 +#: furnitures/models.py:530 +msgid "Remain types" +msgstr "Types de vestige" -#: furnitures/forms_files.py:221 -msgid "There are identical towns." -msgstr "Il y a des communes identiques." +#: furnitures/forms_operations.py:355 furnitures/models.py:529 +msgid "Remain type" +msgstr "Type de vestige" -#: furnitures/forms_files.py:233 furnitures/models.py:614 -#: templates/sheet_ope.html:62 templates/sheet_ope_modif.html:62 -#: templates/sheet_operation.html:63 -msgid "Section" -msgstr "Section" +#: furnitures/forms_operations.py:368 furnitures/forms_operations.py:380 +#: furnitures/models.py:549 templates/sheet_contextrecord.html:106 +#: templates/sheet_ope_modif.html:153 templates/sheet_operation.html:155 +msgid "Periods" +msgstr "Périodes" -#: furnitures/forms_files.py:235 furnitures/models.py:615 -msgid "Parcel number" -msgstr "Numéro de parcelle" +#: furnitures/forms_operations.py:460 furnitures/forms_operations.py:461 +#: furnitures/models.py:536 +msgid "Closing date" +msgstr "Date de clotûre" -#: furnitures/forms_files.py:265 -msgid "All fields are required" -msgstr "Tous les champs sont nécessaires" +#: furnitures/forms_operations.py:471 +msgid "Would you like to close this operation?" +msgstr "Voulez vous clôturer cette opération ?" -#: furnitures/forms_files.py:279 -msgid "Preventive informations" -msgstr "Information archéologie préventive" +#: furnitures/forms_operations.py:484 +msgid "Would you like to delete this operation?" +msgstr "Voulez vous supprimer cette opération ?" -#: furnitures/forms_files.py:284 furnitures/models.py:430 -msgid "General contractor" -msgstr "Aménageur" +#: furnitures/forms_operations.py:540 +msgid "Administrative Act" +msgstr "Acte administratif" -#: furnitures/forms_files.py:291 furnitures/models.py:432 -msgid "Town planning service" -msgstr "Service instructeur" +#: furnitures/forms_operations.py:552 +msgid "You should select an administrative act." +msgstr "Vous devez sélectionner un acte administratif." -#: furnitures/forms_files.py:297 furnitures/models.py:408 -#: furnitures/models.py:433 -msgid "Permit type" -msgstr "Type de permis" +#: furnitures/forms_operations.py:562 furnitures/models.py:992 +msgid "Signatory" +msgstr "Signataire" -#: furnitures/forms_files.py:299 furnitures/models.py:435 -msgid "Permit reference" -msgstr "Référence du permis" +#: furnitures/forms_operations.py:566 furnitures/models.py:998 +msgid "Object" +msgstr "Objet" -#: furnitures/forms_files.py:302 furnitures/models.py:451 -msgid "Total developed surface" -msgstr "Surface totale aménagée" +#: furnitures/forms_operations.py:568 furnitures/models.py:997 +msgid "Signature date" +msgstr "Date de signature" -#: furnitures/forms_files.py:308 furnitures/models.py:441 -msgid "Reception date" -msgstr "Date de réception" +#: furnitures/forms_operations.py:588 +msgid "Would you like to delete this administrative act?" +msgstr "Voulez vous supprimer cet acte administratif ?" #: furnitures/menus.py:88 msgid "Administration" @@ -1931,6 +1948,14 @@ msgstr "Pas de mobilier associé à cette opération (pas de parcelle)" msgid "No town set in the associated file." msgstr "" +#: templates/wizard_closing_done.html:4 +msgid "Item successfully closed" +msgstr "Élément clôt avec succès" + +#: templates/wizard_delete_done.html:4 +msgid "Item successfully deleted" +msgstr "Élément supprimé avec succès" + #: templates/wizard_done.html:4 msgid "Item successfully saved" msgstr "Élément enregistré avec succès" diff --git a/ishtar/templates/wizard_closing_done.html b/ishtar/templates/wizard_closing_done.html new file mode 100644 index 000000000..54990a629 --- /dev/null +++ b/ishtar/templates/wizard_closing_done.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} +<p>{%trans "Item successfully closed"%}</p> +</div> +{% endblock %} diff --git a/ishtar/templates/wizard_delete_done.html b/ishtar/templates/wizard_delete_done.html new file mode 100644 index 000000000..854341aa3 --- /dev/null +++ b/ishtar/templates/wizard_delete_done.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} +<p>{%trans "Item successfully deleted"%}</p> +</div> +{% endblock %} |