diff --git a/streetup/assets/admin.py b/streetup/assets/admin.py index 13cf680..c089b69 100644 --- a/streetup/assets/admin.py +++ b/streetup/assets/admin.py @@ -683,7 +683,7 @@ class OutdoorAssetAdmin(admin.GISModelAdmin): admin.site.register(OutdoorLocationDocument, AssetAdmin) -from .models import ParkingLocation, ParkingSpot, AssetInspection, ParkingSpotInspection +from .models import ParkingLocation, ParkingSpot @admin.register(ParkingLocation) class ParkingLocationAdmin(AssetGISAdmin): @@ -703,26 +703,4 @@ class ParkingSpotAdmin(AssetGISAdmin): ) search_fields = ("code", "name_fr", "name_nl", "note") filter_horizontal = ("poles", "panels") - raw_id_fields = ("location", "street") - -@admin.register(AssetInspection) -class AssetInspectionAdmin(admin.ModelAdmin): - list_display = ( - "id", "asset", "inspector", "inspection_date", - "result_status", "apply_changes_to_asset" - ) - list_filter = ("result_status", "apply_changes_to_asset", "inspection_date") - search_fields = ("notes", "inspector__username", "inspector__first_name", "inspector__last_name") - raw_id_fields = ("inspector",) - -@admin.register(ParkingSpotInspection) -class ParkingSpotInspectionAdmin(admin.ModelAdmin): - list_display = ( - "id", "asset", "inspector", "inspection_date", - "result_status", "verified_standard_stand_count", - "verified_cargo_stand_count", "verified_has_scooter_drop_zone", - "apply_changes_to_asset" - ) - list_filter = ("result_status", "apply_changes_to_asset", "inspection_date") - search_fields = ("notes", "inspector__username", "inspector__first_name", "inspector__last_name") - raw_id_fields = ("inspector",) \ No newline at end of file + raw_id_fields = ("location", "street") \ No newline at end of file diff --git a/streetup/assets/locale/en/LC_MESSAGES/django.mo b/streetup/assets/locale/en/LC_MESSAGES/django.mo index acb4c5b..8798a26 100644 Binary files a/streetup/assets/locale/en/LC_MESSAGES/django.mo and b/streetup/assets/locale/en/LC_MESSAGES/django.mo differ diff --git a/streetup/assets/locale/en/LC_MESSAGES/django.po b/streetup/assets/locale/en/LC_MESSAGES/django.po index 2c8ac51..b671719 100644 --- a/streetup/assets/locale/en/LC_MESSAGES/django.po +++ b/streetup/assets/locale/en/LC_MESSAGES/django.po @@ -17,8 +17,8 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -# #: streetup/assets/models/buildings.py:22 #: assets/models/buildings.py:22 +# #: streetup/assets/models/buildings.py:22 msgid "Administratif" msgstr "Administrative" @@ -902,8 +902,7 @@ msgstr "Planned" msgid "Actif" msgstr "Active" -#: assets/models/core.py:236 assets/models/inspection.py:15 -#: assets/templates/assets/components/inspection_form_modal.html:64 +#: assets/models/core.py:236 #: assets/templates/assets/detail_generic.html:1344 msgid "Endommagé" msgstr "Damaged" @@ -925,21 +924,18 @@ msgstr "Removed" msgid "Archivé" msgstr "Archived" -#: assets/models/core.py:244 assets/models/inspection.py:276 +#: assets/models/core.py:244 #: assets/models/parking.py:32 -#: assets/templates/assets/components/inspection_form_modal.html:128 msgid "Bon état" msgstr "Good condition" -#: assets/models/core.py:245 assets/models/inspection.py:277 +#: assets/models/core.py:245 #: assets/models/parking.py:33 -#: assets/templates/assets/components/inspection_form_modal.html:129 msgid "Moyen" msgstr "Fair" -#: assets/models/core.py:246 assets/models/inspection.py:278 +#: assets/models/core.py:246 #: assets/models/parking.py:34 -#: assets/templates/assets/components/inspection_form_modal.html:130 msgid "Dégradé" msgstr "Degraded" @@ -972,14 +968,12 @@ msgstr "Rejected" msgid "À inspecter" msgstr "To inspect" -#: assets/models/core.py:260 assets/models/inspection.py:12 -#: assets/templates/assets/components/inspection_form_modal.html:48 +#: assets/models/core.py:260 #: assets/views/core.py:852 msgid "Conforme" msgstr "Normal" #: assets/models/core.py:261 -#: assets/templates/assets/components/inspection_form_modal.html:55 #: assets/views/core.py:853 msgid "Non conforme" msgstr "Non-compliant" @@ -998,7 +992,6 @@ msgstr "Funding program / Project" #: assets/models/history.py:186 #: assets/templates/assets/buildings/publicbuilding_detail.html:302 -#: assets/templates/assets/inspections_list.html:187 #: assets/templates/assets/outdoor/outdoorlocation_detail.html:330 msgid "Type d'asset" msgstr "Asset type" @@ -1184,7 +1177,6 @@ msgstr "Last survey" #: assets/templates/assets/nature_index.html:82 #: assets/templates/assets/publiclighting_index.html:29 #: assets/templates/assets/publiclighting_index.html:73 -#: assets/templates/assets/quick_inspection_map.html:175 #: assets/templates/assets/roads_index.html:29 #: assets/templates/assets/roads_index.html:85 #: assets/templates/assets/sign_index.html:29 @@ -1267,190 +1259,14 @@ msgstr "Geometry" msgid "GeoJSON" msgstr "GeoJSON" -#: assets/models/inspection.py:13 -msgid "Non conforme / Anomalie" -msgstr "Non-compliant / Anomaly" - -#: assets/models/inspection.py:14 -msgid "Données corrigées" -msgstr "Corrected data" - -#: assets/models/inspection.py:16 -msgid "Absent / Retiré" -msgstr "Absent / Removed" - -#: assets/models/inspection.py:20 -msgid "Inspection visuelle" -msgstr "Visual inspection" - -#: assets/models/inspection.py:21 -msgid "Inspection technique" -msgstr "Technical inspection" - -#: assets/models/inspection.py:22 -msgid "Suivi / Qualité post-intervention" -msgstr "Post-intervention monitoring / quality" - -#: assets/models/inspection.py:26 -msgid "Observer / Agent de terrain" -msgstr "Observer / Field agent" - -#: assets/models/inspection.py:27 -msgid "Prestataire technique externe" -msgstr "External technical provider" - -#: assets/models/inspection.py:28 -msgid "Gestionnaire / Contrôleur interne" -msgstr "Internal manager / controller" - -#: assets/models/inspection.py:39 -msgid "Type d'asset / Cible" -msgstr "Asset / Target type" - -#: assets/models/inspection.py:42 -msgid "ID de la cible" -msgstr "Target ID" - -#: assets/models/inspection.py:49 -msgid "Nature de l'inspection" -msgstr "Nature of inspection" - -#: assets/models/inspection.py:55 -msgid "Rôle de l'inspecteur" -msgstr "Role of inspector" - -#: assets/models/inspection.py:64 -msgid "Inspecteur / Vérificateur" -msgstr "Inspector / Verifier" - -#: assets/models/inspection.py:66 -msgid "Date d'inspection" -msgstr "Inspection date" - -#: assets/models/inspection.py:72 #: assets/templates/assets/components/asset_inspections.html:104 -#: assets/templates/assets/components/inspection_form_modal.html:41 -#: assets/templates/assets/inspections_list.html:195 -#: assets/templates/assets/quick_inspection_map.html:355 msgid "Résultat du contrôle" msgstr "Control result" -#: assets/models/inspection.py:79 -msgid "État d'obsolescence constaté" -msgstr "Observed state of obsolescence" - -#: assets/models/inspection.py:82 -msgid "Remarques / Constats" -msgstr "Remarks / Findings" - -#: assets/models/inspection.py:85 -msgid "Appliquer directement les modifications à l'asset" -msgstr "Apply modifications directly to asset" - -#: assets/models/inspection.py:92 -msgid "Inspection d'asset (Générique)" -msgstr "Asset inspection (Generic)" - -#: assets/models/inspection.py:93 -msgid "Inspections d'assets (Génériques)" -msgstr "Asset inspections (Generic)" - -#: assets/models/inspection.py:196 -#, python-format -msgid "%(count)d arceaux classiques" -msgstr "%(count)d classic hoops" - -#: assets/models/inspection.py:198 -#, python-format -msgid "%(count)d arceaux cargo" -msgstr "%(count)d cargo hoops" - -#: assets/models/inspection.py:200 -msgid "Drop-zone trottinette" -msgstr "Scooter drop-zone" - -#: assets/models/inspection.py:200 -msgid "Sans drop-zone" -msgstr "Without drop-zone" - -#: assets/models/inspection.py:203 -msgid "Marquage bon état" -msgstr "Marking good condition" - -#: assets/models/inspection.py:204 -msgid "Marquage moyen" -msgstr "Marking average condition" - -#: assets/models/inspection.py:205 -msgid "Marquage dégradé" -msgstr "Marking degraded" - -#: assets/models/inspection.py:206 -msgid "Marquage absent / effacé" -msgstr "Marking missing / erased" - -#: assets/models/inspection.py:207 -msgid "Marquage mauvais" -msgstr "Marking poor" - -#: assets/models/inspection.py:213 -#, python-format -msgid "Obsolescence : %s" -msgstr "Obsolescence : %s" - -#: assets/models/inspection.py:257 -msgid "Nombre d'arceaux classiques constaté" -msgstr "Observed number of standard bike stands" - -#: assets/models/inspection.py:262 -msgid "Nombre d'arceaux cargo constaté" -msgstr "Observed number of cargo bike stands" - -#: assets/models/inspection.py:268 -msgid "Type d'arceau constaté" -msgstr "Observed bike stand type" - -#: assets/models/inspection.py:273 -msgid "Drop zone trottinette constatée" -msgstr "Observed scooter drop-zone" - -#: assets/models/inspection.py:279 assets/models/parking.py:35 -#: assets/templates/assets/components/inspection_form_modal.html:131 +#: assets/models/parking.py:35 msgid "Absent / Effacé" msgstr "Absent / Deleted" -#: assets/models/inspection.py:286 -msgid "Qualité du marquage constatée" -msgstr "Observed marking quality" - -#: assets/models/inspection.py:290 -msgid "Mettre à jour la capacité / comptages de l'asset" -msgstr "Update asset capacity / counts" - -#: assets/models/inspection.py:294 -msgid "Inspection d'emplacement de stationnement" -msgstr "Parking spot inspection" - -#: assets/models/inspection.py:295 -msgid "Inspections d'emplacements de stationnement" -msgstr "Parking spot inspections" - -#: assets/models/inspection.py:333 -msgid "Inspection" -msgstr "Inspection" - -#: assets/models/inspection.py:338 -msgid "Fichier / Photo / Document" -msgstr "File / Photo / Document" - -#: assets/models/inspection.py:343 -msgid "Document / Photo d'inspection" -msgstr "Inspection document / photo" - -#: assets/models/inspection.py:344 -msgid "Documents / Photos d'inspection" -msgstr "Inspection documents / photos" - #: assets/models/nature.py:81 msgid "Tulipes" msgstr "Tulips" @@ -2918,7 +2734,6 @@ msgstr "You do not have permission to edit assets for this theme" #: assets/templates/assets/clean_index.html:8 #: assets/templates/assets/controlcenters_index.html:16 #: assets/templates/assets/controlcenters_index.html:45 -#: assets/templates/assets/inspections_list.html:83 #: assets/templates/assets/its_index.html:16 #: assets/templates/assets/its_index.html:56 #: assets/templates/assets/nature_index.html:28 @@ -2945,7 +2760,6 @@ msgstr "Filter" #: assets/templates/assets/clean_index.html:9 #: assets/templates/assets/controlcenters_index.html:17 #: assets/templates/assets/controlcenters_index.html:46 -#: assets/templates/assets/inspections_list.html:84 #: assets/templates/assets/its_index.html:17 #: assets/templates/assets/its_index.html:57 #: assets/templates/assets/nature_index.html:29 @@ -3223,16 +3037,12 @@ msgstr "Asset totals" #: assets/templates/assets/components/asset_interventions.html:112 #: assets/templates/assets/components/asset_location_link.html:50 #: assets/templates/assets/components/asset_model_card.html:62 -#: assets/templates/assets/components/inspection_form_modal.html:11 -#: assets/templates/assets/components/inspection_form_modal.html:172 -#: assets/templates/assets/components/inspection_form_modal.html:204 #: assets/templates/assets/components/location_edit_modals.html:24 #: assets/templates/assets/components/location_edit_modals.html:56 #: assets/templates/assets/components/location_edit_modals.html:82 #: assets/templates/assets/controlcenters_location_detail.html:112 #: assets/templates/assets/controlcenters_location_detail.html:145 #: assets/templates/assets/controlcenters_location_detail.html:170 -#: assets/templates/assets/inspections_list.html:299 #: assets/templates/assets/its_location_detail.html:55 #: assets/templates/assets/its_location_detail.html:88 #: assets/templates/assets/naturerwiz_detail.html:273 @@ -3288,7 +3098,6 @@ msgstr "Choose export format:" #: assets/templates/assets/components/asset_interventions.html:173 #: assets/templates/assets/components/asset_location_link.html:75 #: assets/templates/assets/components/asset_model_card.html:98 -#: assets/templates/assets/components/inspection_form_modal.html:152 #: assets/templates/assets/components/location_edit_modals.html:38 #: assets/templates/assets/components/location_edit_modals.html:63 #: assets/templates/assets/components/location_edit_modals.html:96 @@ -4229,8 +4038,6 @@ msgstr "Perform an inspection" #: assets/templates/assets/components/asset_inspections.html:33 #: assets/templates/assets/components/asset_inspections.html:100 -#: assets/templates/assets/inspections_list.html:191 -#: assets/templates/assets/quick_inspection_map.html:351 msgid "Date & Heure" msgstr "Date & Time" @@ -4240,21 +4047,16 @@ msgstr "Control status" #: assets/templates/assets/components/asset_inspections.html:35 #: assets/templates/assets/components/asset_inspections.html:108 -#: assets/templates/assets/inspections_list.html:199 -#: assets/templates/assets/quick_inspection_map.html:359 #: assets/views/locations.py:28 msgid "Nature" msgstr "Nature" #: assets/templates/assets/components/asset_inspections.html:36 #: assets/templates/assets/components/asset_inspections.html:112 -#: assets/templates/assets/inspections_list.html:203 -#: assets/templates/assets/quick_inspection_map.html:363 msgid "Inspecteur" msgstr "Inspector" #: assets/templates/assets/components/asset_inspections.html:37 -#: assets/templates/assets/inspections_list.html:231 msgid "Remarques" msgstr "Remarks" @@ -4271,12 +4073,10 @@ msgid "Équipement cible" msgstr "Target equipment" #: assets/templates/assets/components/asset_inspections.html:119 -#: assets/templates/assets/inspections_list.html:210 msgid "Arceaux classiques constatés" msgstr "Observed standard bike racks" #: assets/templates/assets/components/asset_inspections.html:125 -#: assets/templates/assets/inspections_list.html:216 msgid "Arceaux cargo constatés" msgstr "Observed cargo bike racks" @@ -4285,7 +4085,6 @@ msgid "Remarques / Observations" msgstr "Remarks / Observations" #: assets/templates/assets/components/asset_inspections.html:143 -#: assets/templates/assets/inspections_list.html:246 msgid "Photos & Documents joints" msgstr "Photos & Attached documents" @@ -4466,8 +4265,6 @@ msgid "Modèle actuel :" msgstr "Current model:" #: assets/templates/assets/components/asset_model_card.html:77 -#: assets/templates/assets/quick_inspection_map.html:266 -#: assets/templates/assets/quick_inspection_map.html:267 msgid "Toutes les catégories" msgstr "All categories" @@ -4479,92 +4276,10 @@ msgstr "New model" msgid "Sélectionner un modèle..." msgstr "Select a model..." -#: assets/templates/assets/components/inspection_form_modal.html:9 -msgid "Nouvelle inspection" -msgstr "New inspection" - -#: assets/templates/assets/components/inspection_form_modal.html:31 -msgid "Statut actuel" -msgstr "Current status" - -#: assets/templates/assets/components/inspection_form_modal.html:42 -msgid "Résultat" -msgstr "Result" - -#: assets/templates/assets/components/inspection_form_modal.html:71 -msgid "Absent" -msgstr "Missing" - -#: assets/templates/assets/components/inspection_form_modal.html:78 -msgid "Corrigé" -msgstr "Corrected" - -#: assets/templates/assets/components/inspection_form_modal.html:88 -msgid "Photos & Fichiers" -msgstr "Photos & Files" - -#: assets/templates/assets/components/inspection_form_modal.html:94 -msgid "Prendre des photos (mode continu)" -msgstr "Take photos (continuous mode)" - -#: assets/templates/assets/components/inspection_form_modal.html:98 -msgid "Photos, vidéos, fichiers" -msgstr "Photos, videos, files" - -#: assets/templates/assets/components/inspection_form_modal.html:113 -msgid "Contrôles spécifiques stationnement" -msgstr "Specific parking controls" - -#: assets/templates/assets/components/inspection_form_modal.html:116 -msgid "Arceaux classiques" -msgstr "Standard bike racks" - -#: assets/templates/assets/components/inspection_form_modal.html:120 -msgid "Arceaux cargo" -msgstr "Cargo bike racks" - -#: assets/templates/assets/components/inspection_form_modal.html:125 -msgid "Qualité marquage" -msgstr "Marking quality" - -#: assets/templates/assets/components/inspection_form_modal.html:127 -msgid "-- Sélectionner --" -msgstr "-- Select --" - -#: assets/templates/assets/components/inspection_form_modal.html:140 -msgid "Créer automatiquement une intervention en cas d'anomalie / dégât" -msgstr "Automatically create an intervention upon anomaly / damage" - -#: assets/templates/assets/components/inspection_form_modal.html:146 -msgid "Remarques / Remarques du constat" -msgstr "Remarks / Finding notes" - -#: assets/templates/assets/components/inspection_form_modal.html:147 -msgid "Saisir vos remarques ou détails..." -msgstr "Enter your remarks or details..." - -#: assets/templates/assets/components/inspection_form_modal.html:156 -msgid "Valider l'inspection" -msgstr "Validate inspection" - -#: assets/templates/assets/components/inspection_form_modal.html:170 -msgid "Caméra (Mode continu)" -msgstr "Camera (Continuous mode)" - -#: assets/templates/assets/components/inspection_form_modal.html:185 #: assets/templates/assets/components/map_polygon_picker.html:37 msgid "Terminer" msgstr "Finish" -#: assets/templates/assets/components/inspection_form_modal.html:188 -msgid "Capturer" -msgstr "Capture" - -#: assets/templates/assets/components/inspection_form_modal.html:202 -msgid "Choisir un équipement à inspecter" -msgstr "Select equipment to inspect" - -#: assets/templates/assets/components/inspection_form_modal.html:207 msgid "" "Plusieurs équipements ont été détectés à cet emplacement. Veuillez " "sélectionner celui à inspecter :" @@ -4634,8 +4349,8 @@ msgstr "" msgid "Supprimer" msgstr "Delete" -# , python-format #: assets/templates/assets/components/location_edit_modals.html:80 +# , python-format #, python-format msgid "Créer une nouvelle localisation (%(label)s)" msgstr "Create a new location (%(label)s)" @@ -5141,98 +4856,6 @@ msgstr "Draft" msgid "Aucune version trouvée." msgstr "No version found." -#: assets/templates/assets/inspections_list.html:4 -#: assets/templates/assets/inspections_list.html:15 -msgid "Inspections d'assets" -msgstr "Asset inspections" - -#: assets/templates/assets/inspections_list.html:17 -msgid "Suivi et historique des contrôles et vérifications sur le terrain" -msgstr "Monitoring and history of field controls and verifications" - -#: assets/templates/assets/inspections_list.html:22 -msgid "Nouvelle inspection (Carte GPS)" -msgstr "New inspection (GPS map)" - -#: assets/templates/assets/inspections_list.html:32 -msgid "Mes inspections" -msgstr "My inspections" - -#: assets/templates/assets/inspections_list.html:37 -msgid "Toutes les inspections" -msgstr "All inspections" - -#: assets/templates/assets/inspections_list.html:51 -msgid "Rechercher par note, asset, ..." -msgstr "Search by note, asset, ..." - -#: assets/templates/assets/inspections_list.html:57 -msgid "-- Thématiques --" -msgstr "-- Topics --" - -#: assets/templates/assets/inspections_list.html:66 -msgid "-- Natures --" -msgstr "-- Natures --" - -#: assets/templates/assets/inspections_list.html:75 -msgid "-- Tous les résultats --" -msgstr "-- All results --" - -#: assets/templates/assets/inspections_list.html:93 -#, python-format -msgid "%(counter)s inspection trouvée" -msgid_plural "%(counter)s inspections trouvées" -msgstr[0] "%(counter)s inspection found" -msgstr[1] "%(counter)s inspections found" - -#: assets/templates/assets/inspections_list.html:94 -msgid "limité aux 100 plus récentes" -msgstr "limited to 100 most recent" - -#: assets/templates/assets/inspections_list.html:104 -#: assets/templates/assets/inspections_list.html:105 -msgid "Carte des résultats" -msgstr "Results map" - -#: assets/templates/assets/inspections_list.html:148 -msgid "Photos / Documents joints" -msgstr "Photos / Attached documents" - -#: assets/templates/assets/inspections_list.html:167 -#: assets/templates/assets/quick_inspection_map.html:333 -msgid "Détail de l'inspection" -msgstr "Inspection details" - -#: assets/templates/assets/inspections_list.html:176 -#: assets/templates/assets/quick_inspection_map.html:341 -msgid "Consulter la fiche de l'asset" -msgstr "View asset sheet" - -#: assets/templates/assets/inspections_list.html:183 -#: assets/templates/assets/quick_inspection_map.html:347 -msgid "Cible" -msgstr "Target" - -#: assets/templates/assets/inspections_list.html:222 -msgid "Qualité du marquage" -msgstr "Marking quality" - -#: assets/templates/assets/inspections_list.html:238 assets/views/export.py:100 -msgid "Obsolescence" -msgstr "Obsolescence" - -#: assets/templates/assets/inspections_list.html:309 -msgid "Aucune inspection trouvée" -msgstr "No inspection found" - -#: assets/templates/assets/inspections_list.html:310 -msgid "Aucune inspection ne correspond à vos critères de recherche." -msgstr "No inspection matches your search criteria." - -#: assets/templates/assets/inspections_list.html:419 -msgid "Carte des résultats d'inspections" -msgstr "Inspection results map" - #: assets/templates/assets/its_index.html:27 msgid "Créer une nouvelle localisation ITS" msgstr "Create new ITS location" @@ -5788,99 +5411,17 @@ msgstr "Poles" msgid "Alimentation:" msgstr "Power supply:" -#: assets/templates/assets/quick_inspection_map.html:4 -msgid "Inspection Rapide Carte GPS" -msgstr "Quick Inspection GPS Map" - -#: assets/templates/assets/quick_inspection_map.html:160 -msgid "Inspection Rapide" -msgstr "Quick Inspection" - -#: assets/templates/assets/quick_inspection_map.html:161 -msgid "GPS actif" -msgstr "GPS active" - -#: assets/templates/assets/quick_inspection_map.html:168 #: assets/templates/assets/unified_index.html:91 #: assets/templates/assets/unified_index.html:251 #: assets/templates/assets/unified_index.html:261 msgid "Thématique" msgstr "Topic" -#: assets/templates/assets/quick_inspection_map.html:182 -msgid "Inspections (3 mois)" -msgstr "Inspections (3 months)" - -#: assets/templates/assets/quick_inspection_map.html:191 -msgid "-- Thématique --" -msgstr "-- Topic --" - -#: assets/templates/assets/quick_inspection_map.html:198 -msgid "-- Catégorie --" -msgstr "-- Category --" - -#: assets/templates/assets/quick_inspection_map.html:206 -msgid "Veuillez zoomer sur la carte pour afficher les équipements." -msgstr "Please zoom in on the map to display equipment." - -#: assets/templates/assets/quick_inspection_map.html:216 -msgid "Ma position GPS" -msgstr "My GPS position" - -#: assets/templates/assets/quick_inspection_map.html:228 -msgid "Choisir une thématique" -msgstr "Select a topic" - -#: assets/templates/assets/quick_inspection_map.html:260 -msgid "Filtrer par catégorie" -msgstr "Filter by category" - -#: assets/templates/assets/quick_inspection_map.html:288 -msgid "Historique des inspections sur la carte" -msgstr "Inspection history on the map" - -#: assets/templates/assets/quick_inspection_map.html:294 msgid "" "Choisissez la durée d'affichage des contrôles et inspections effectués dans " "la zone." msgstr "" -#: assets/templates/assets/quick_inspection_map.html:298 -msgid "Désactiver l'affichage" -msgstr "Disable display" - -#: assets/templates/assets/quick_inspection_map.html:302 -msgid "1 mois" -msgstr "1 month" - -#: assets/templates/assets/quick_inspection_map.html:306 -msgid "3 mois (par défaut)" -msgstr "3 months (default)" - -#: assets/templates/assets/quick_inspection_map.html:310 -msgid "6 mois" -msgstr "6 months" - -#: assets/templates/assets/quick_inspection_map.html:314 -msgid "1 an" -msgstr "1 year" - -#: assets/templates/assets/quick_inspection_map.html:318 -msgid "Tout (historique complet)" -msgstr "All (complete history)" - -#: assets/templates/assets/quick_inspection_map.html:370 -msgid "Constats & Remarques" -msgstr "Findings & Remarks" - -#: assets/templates/assets/quick_inspection_map.html:378 -msgid "Galerie photos" -msgstr "Photo gallery" - -#: assets/templates/assets/quick_inspection_map.html:397 -msgid "Documents joints" -msgstr "Attached documents" - #: assets/templates/assets/roads_index.html:49 msgid "Qualité globale" msgstr "Overall quality" @@ -7563,34 +7104,10 @@ msgstr "Invalid date format. Use ISO 8601." msgid "Inexistant" msgstr "Nonexistent" -#: assets/views/inspections.py:184 msgid "" "Vous ne disposez d'aucune thématique autorisée pour réaliser des inspections." msgstr "" -#: assets/views/inspections.py:251 -msgid "Cible d'inspection non spécifiée." -msgstr "Inspection target not specified." - -#: assets/views/inspections.py:257 -#, python-format -msgid "Cible introuvable : %s" -msgstr "Cible introuvable : %s" - -#: assets/views/inspections.py:328 -#, python-format -msgid "Intervention suite à inspection non conforme (%s)" -msgstr "Intervention following non-compliant inspection (%s)" - -#: assets/views/inspections.py:332 -#, python-format -msgid "Signalement automatique lors de l'inspection du %s." -msgstr "Automatic reporting when inspecting %s." - -#: assets/views/inspections.py:348 -msgid "Inspection enregistrée avec succès." -msgstr "Inspection saved successfully." - #: assets/views/its.py:404 assets/views/its.py:415 assets/views/nature.py:463 #: assets/views/nature.py:543 assets/views/publiclighting.py:457 #: assets/views/publiclighting.py:478 assets/views/publiclighting.py:499 @@ -7732,3 +7249,4 @@ msgstr "GIEP zones" #: assets/views/water.py:572 msgid "Aucune localisation GIEP trouvée à proximité" msgstr "No location found" + diff --git a/streetup/assets/locale/fr/LC_MESSAGES/django.mo b/streetup/assets/locale/fr/LC_MESSAGES/django.mo index cfaa6ef..6de7269 100644 Binary files a/streetup/assets/locale/fr/LC_MESSAGES/django.mo and b/streetup/assets/locale/fr/LC_MESSAGES/django.mo differ diff --git a/streetup/assets/locale/fr/LC_MESSAGES/django.po b/streetup/assets/locale/fr/LC_MESSAGES/django.po index 28fc7f6..d28bfd2 100644 --- a/streetup/assets/locale/fr/LC_MESSAGES/django.po +++ b/streetup/assets/locale/fr/LC_MESSAGES/django.po @@ -903,8 +903,7 @@ msgstr "Planifié" msgid "Actif" msgstr "Actif" -#: assets/models/core.py:236 assets/models/inspection.py:15 -#: assets/templates/assets/components/inspection_form_modal.html:64 +#: assets/models/core.py:236 #: assets/templates/assets/detail_generic.html:1344 msgid "Endommagé" msgstr "Endommagé" @@ -926,21 +925,18 @@ msgstr "Enlevé" msgid "Archivé" msgstr "Archivé" -#: assets/models/core.py:244 assets/models/inspection.py:276 +#: assets/models/core.py:244 #: assets/models/parking.py:32 -#: assets/templates/assets/components/inspection_form_modal.html:128 msgid "Bon état" msgstr "Bon état" -#: assets/models/core.py:245 assets/models/inspection.py:277 +#: assets/models/core.py:245 #: assets/models/parking.py:33 -#: assets/templates/assets/components/inspection_form_modal.html:129 msgid "Moyen" msgstr "Moyen" -#: assets/models/core.py:246 assets/models/inspection.py:278 +#: assets/models/core.py:246 #: assets/models/parking.py:34 -#: assets/templates/assets/components/inspection_form_modal.html:130 msgid "Dégradé" msgstr "Dégradé" @@ -973,14 +969,12 @@ msgstr "Rejeté" msgid "À inspecter" msgstr "À inspecter" -#: assets/models/core.py:260 assets/models/inspection.py:12 -#: assets/templates/assets/components/inspection_form_modal.html:48 +#: assets/models/core.py:260 #: assets/views/core.py:852 msgid "Conforme" msgstr "Normal" #: assets/models/core.py:261 -#: assets/templates/assets/components/inspection_form_modal.html:55 #: assets/views/core.py:853 msgid "Non conforme" msgstr "Non conforme" @@ -999,7 +993,6 @@ msgstr "Programme de financement / Projet" #: assets/models/history.py:186 #: assets/templates/assets/buildings/publicbuilding_detail.html:302 -#: assets/templates/assets/inspections_list.html:187 #: assets/templates/assets/outdoor/outdoorlocation_detail.html:330 msgid "Type d'asset" msgstr "Type d'asset" @@ -1185,7 +1178,6 @@ msgstr "Dernier relevé" #: assets/templates/assets/nature_index.html:82 #: assets/templates/assets/publiclighting_index.html:29 #: assets/templates/assets/publiclighting_index.html:73 -#: assets/templates/assets/quick_inspection_map.html:175 #: assets/templates/assets/roads_index.html:29 #: assets/templates/assets/roads_index.html:85 #: assets/templates/assets/sign_index.html:29 @@ -1268,190 +1260,14 @@ msgstr "Géométrie" msgid "GeoJSON" msgstr "GeoJSON" -#: assets/models/inspection.py:13 -msgid "Non conforme / Anomalie" -msgstr "Non conforme / Anomalie" - -#: assets/models/inspection.py:14 -msgid "Données corrigées" -msgstr "Données corrigées" - -#: assets/models/inspection.py:16 -msgid "Absent / Retiré" -msgstr "Absent / Retiré" - -#: assets/models/inspection.py:20 -msgid "Inspection visuelle" -msgstr "Intersection introuvable" - -#: assets/models/inspection.py:21 -msgid "Inspection technique" -msgstr "Inspection technique" - -#: assets/models/inspection.py:22 -msgid "Suivi / Qualité post-intervention" -msgstr "Suivi / Qualité post-intervention" - -#: assets/models/inspection.py:26 -msgid "Observer / Agent de terrain" -msgstr "Observer / Agent de terrain" - -#: assets/models/inspection.py:27 -msgid "Prestataire technique externe" -msgstr "Prestataire maintenance contrôleurs" - -#: assets/models/inspection.py:28 -msgid "Gestionnaire / Contrôleur interne" -msgstr "Gestionnaire / Contrôleur interne" - -#: assets/models/inspection.py:39 -msgid "Type d'asset / Cible" -msgstr "Type d'asset à lier" - -#: assets/models/inspection.py:42 -msgid "ID de la cible" -msgstr "ID de l'asset" - -#: assets/models/inspection.py:49 -msgid "Nature de l'inspection" -msgstr "Date d'installation" - -#: assets/models/inspection.py:55 -msgid "Rôle de l'inspecteur" -msgstr "Rôle de l'inspecteur" - -#: assets/models/inspection.py:64 -msgid "Inspecteur / Vérificateur" -msgstr "Inspecteur / Vérificateur" - -#: assets/models/inspection.py:66 -msgid "Date d'inspection" -msgstr "Date d'installation" - -#: assets/models/inspection.py:72 #: assets/templates/assets/components/asset_inspections.html:104 -#: assets/templates/assets/components/inspection_form_modal.html:41 -#: assets/templates/assets/inspections_list.html:195 -#: assets/templates/assets/quick_inspection_map.html:355 msgid "Résultat du contrôle" -msgstr "Centre de contrôle" +msgstr "Résultat du contrôle" -#: assets/models/inspection.py:79 -msgid "État d'obsolescence constaté" -msgstr "État d'obsolescence constaté" - -#: assets/models/inspection.py:82 -msgid "Remarques / Constats" -msgstr "Remarque sol" - -#: assets/models/inspection.py:85 -msgid "Appliquer directement les modifications à l'asset" -msgstr "Appliquer directement les modifications à l'asset" - -#: assets/models/inspection.py:92 -msgid "Inspection d'asset (Générique)" -msgstr "Inspection d'asset (Générique)" - -#: assets/models/inspection.py:93 -msgid "Inspections d'assets (Génériques)" -msgstr "Inspections d'assets (Génériques)" - -#: assets/models/inspection.py:196 -#, python-format -msgid "%(count)d arceaux classiques" -msgstr "%(count)d arceaux classiques" - -#: assets/models/inspection.py:198 -#, python-format -msgid "%(count)d arceaux cargo" -msgstr "%(count)d arceaux cargo" - -#: assets/models/inspection.py:200 -msgid "Drop-zone trottinette" -msgstr "Drop-zone trottinette" - -#: assets/models/inspection.py:200 -msgid "Sans drop-zone" -msgstr "Sans drop-zone" - -#: assets/models/inspection.py:203 -msgid "Marquage bon état" -msgstr "Marquage bon état" - -#: assets/models/inspection.py:204 -msgid "Marquage moyen" -msgstr "Marque" - -#: assets/models/inspection.py:205 -msgid "Marquage dégradé" -msgstr "Marquage dégradé" - -#: assets/models/inspection.py:206 -msgid "Marquage absent / effacé" -msgstr "Marquage absent / effacé" - -#: assets/models/inspection.py:207 -msgid "Marquage mauvais" -msgstr "Marquage mauvais" - -#: assets/models/inspection.py:213 -#, python-format -msgid "Obsolescence : %s" -msgstr "Obsolescence : %s" - -#: assets/models/inspection.py:257 -msgid "Nombre d'arceaux classiques constaté" -msgstr "Nombre d'arceaux classiques constaté" - -#: assets/models/inspection.py:262 -msgid "Nombre d'arceaux cargo constaté" -msgstr "Nombre d'arceaux cargo constaté" - -#: assets/models/inspection.py:268 -msgid "Type d'arceau constaté" -msgstr "Type de clé" - -#: assets/models/inspection.py:273 -msgid "Drop zone trottinette constatée" -msgstr "Drop zone trottinette constatée" - -#: assets/models/inspection.py:279 assets/models/parking.py:35 -#: assets/templates/assets/components/inspection_form_modal.html:131 +#: assets/models/parking.py:35 msgid "Absent / Effacé" msgstr "Absent / Effacé" -#: assets/models/inspection.py:286 -msgid "Qualité du marquage constatée" -msgstr "Qualité du marquage constatée" - -#: assets/models/inspection.py:290 -msgid "Mettre à jour la capacité / comptages de l'asset" -msgstr "Créer l'asset" - -#: assets/models/inspection.py:294 -msgid "Inspection d'emplacement de stationnement" -msgstr "Inspection d'emplacement de stationnement" - -#: assets/models/inspection.py:295 -msgid "Inspections d'emplacements de stationnement" -msgstr "Inspections d'emplacements de stationnement" - -#: assets/models/inspection.py:333 -msgid "Inspection" -msgstr "Intersections" - -#: assets/models/inspection.py:338 -msgid "Fichier / Photo / Document" -msgstr "Fichier / Photo / Document" - -#: assets/models/inspection.py:343 -msgid "Document / Photo d'inspection" -msgstr "Document / Photo d'inspection" - -#: assets/models/inspection.py:344 -msgid "Documents / Photos d'inspection" -msgstr "Documents / Photos d'inspection" - #: assets/models/nature.py:81 msgid "Tulipes" msgstr "Tulipes" @@ -2919,7 +2735,6 @@ msgstr "You do not have permission to edit assets for this thematic" #: assets/templates/assets/clean_index.html:8 #: assets/templates/assets/controlcenters_index.html:16 #: assets/templates/assets/controlcenters_index.html:45 -#: assets/templates/assets/inspections_list.html:83 #: assets/templates/assets/its_index.html:16 #: assets/templates/assets/its_index.html:56 #: assets/templates/assets/nature_index.html:28 @@ -2946,7 +2761,6 @@ msgstr "Filtrer" #: assets/templates/assets/clean_index.html:9 #: assets/templates/assets/controlcenters_index.html:17 #: assets/templates/assets/controlcenters_index.html:46 -#: assets/templates/assets/inspections_list.html:84 #: assets/templates/assets/its_index.html:17 #: assets/templates/assets/its_index.html:57 #: assets/templates/assets/nature_index.html:29 @@ -3224,16 +3038,12 @@ msgstr "Totaux des assets" #: assets/templates/assets/components/asset_interventions.html:112 #: assets/templates/assets/components/asset_location_link.html:50 #: assets/templates/assets/components/asset_model_card.html:62 -#: assets/templates/assets/components/inspection_form_modal.html:11 -#: assets/templates/assets/components/inspection_form_modal.html:172 -#: assets/templates/assets/components/inspection_form_modal.html:204 #: assets/templates/assets/components/location_edit_modals.html:24 #: assets/templates/assets/components/location_edit_modals.html:56 #: assets/templates/assets/components/location_edit_modals.html:82 #: assets/templates/assets/controlcenters_location_detail.html:112 #: assets/templates/assets/controlcenters_location_detail.html:145 #: assets/templates/assets/controlcenters_location_detail.html:170 -#: assets/templates/assets/inspections_list.html:299 #: assets/templates/assets/its_location_detail.html:55 #: assets/templates/assets/its_location_detail.html:88 #: assets/templates/assets/naturerwiz_detail.html:273 @@ -3289,7 +3099,6 @@ msgstr "Choisissez le format d'export :" #: assets/templates/assets/components/asset_interventions.html:173 #: assets/templates/assets/components/asset_location_link.html:75 #: assets/templates/assets/components/asset_model_card.html:98 -#: assets/templates/assets/components/inspection_form_modal.html:152 #: assets/templates/assets/components/location_edit_modals.html:38 #: assets/templates/assets/components/location_edit_modals.html:63 #: assets/templates/assets/components/location_edit_modals.html:96 @@ -4228,8 +4037,6 @@ msgstr "Dernière inspection" #: assets/templates/assets/components/asset_inspections.html:33 #: assets/templates/assets/components/asset_inspections.html:100 -#: assets/templates/assets/inspections_list.html:191 -#: assets/templates/assets/quick_inspection_map.html:351 msgid "Date & Heure" msgstr "Date / heure" @@ -4239,21 +4046,16 @@ msgstr "Centre de contrôle" #: assets/templates/assets/components/asset_inspections.html:35 #: assets/templates/assets/components/asset_inspections.html:108 -#: assets/templates/assets/inspections_list.html:199 -#: assets/templates/assets/quick_inspection_map.html:359 #: assets/views/locations.py:28 msgid "Nature" msgstr "Nature" #: assets/templates/assets/components/asset_inspections.html:36 #: assets/templates/assets/components/asset_inspections.html:112 -#: assets/templates/assets/inspections_list.html:203 -#: assets/templates/assets/quick_inspection_map.html:363 msgid "Inspecteur" msgstr "Détecteur" #: assets/templates/assets/components/asset_inspections.html:37 -#: assets/templates/assets/inspections_list.html:231 msgid "Remarques" msgstr "Remarque" @@ -4270,12 +4072,10 @@ msgid "Équipement cible" msgstr "Type d'élément" #: assets/templates/assets/components/asset_inspections.html:119 -#: assets/templates/assets/inspections_list.html:210 msgid "Arceaux classiques constatés" msgstr "Arceaux classiques constatés" #: assets/templates/assets/components/asset_inspections.html:125 -#: assets/templates/assets/inspections_list.html:216 msgid "Arceaux cargo constatés" msgstr "Arceaux cargo constatés" @@ -4284,7 +4084,6 @@ msgid "Remarques / Observations" msgstr "Observations" #: assets/templates/assets/components/asset_inspections.html:143 -#: assets/templates/assets/inspections_list.html:246 msgid "Photos & Documents joints" msgstr "Photos & Documents joints" @@ -4465,8 +4264,6 @@ msgid "Modèle actuel :" msgstr "Modèle actuel :" #: assets/templates/assets/components/asset_model_card.html:77 -#: assets/templates/assets/quick_inspection_map.html:266 -#: assets/templates/assets/quick_inspection_map.html:267 msgid "Toutes les catégories" msgstr "Toutes les catégories" @@ -4478,92 +4275,10 @@ msgstr "Nouveau modèle" msgid "Sélectionner un modèle..." msgstr "Sélectionner un modèle..." -#: assets/templates/assets/components/inspection_form_modal.html:9 -msgid "Nouvelle inspection" -msgstr "No interventions" - -#: assets/templates/assets/components/inspection_form_modal.html:31 -msgid "Statut actuel" -msgstr "Statut" - -#: assets/templates/assets/components/inspection_form_modal.html:42 -msgid "Résultat" -msgstr "Résultat" - -#: assets/templates/assets/components/inspection_form_modal.html:71 -msgid "Absent" -msgstr "Absent" - -#: assets/templates/assets/components/inspection_form_modal.html:78 -msgid "Corrigé" -msgstr "Corrigé" - -#: assets/templates/assets/components/inspection_form_modal.html:88 -msgid "Photos & Fichiers" -msgstr "Choisir des fichiers" - -#: assets/templates/assets/components/inspection_form_modal.html:94 -msgid "Prendre des photos (mode continu)" -msgstr "Prendre des photos (mode continu)" - -#: assets/templates/assets/components/inspection_form_modal.html:98 -msgid "Photos, vidéos, fichiers" -msgstr "Choisir des fichiers" - -#: assets/templates/assets/components/inspection_form_modal.html:113 -msgid "Contrôles spécifiques stationnement" -msgstr "Contrôles spécifiques stationnement" - -#: assets/templates/assets/components/inspection_form_modal.html:116 -msgid "Arceaux classiques" -msgstr "Arceaux classiques" - -#: assets/templates/assets/components/inspection_form_modal.html:120 -msgid "Arceaux cargo" -msgstr "Arceaux cargo" - -#: assets/templates/assets/components/inspection_form_modal.html:125 -msgid "Qualité marquage" -msgstr "Qualité globale" - -#: assets/templates/assets/components/inspection_form_modal.html:127 -msgid "-- Sélectionner --" -msgstr "Sélectionner" - -#: assets/templates/assets/components/inspection_form_modal.html:140 -msgid "Créer automatiquement une intervention en cas d'anomalie / dégât" -msgstr "Créer automatiquement une intervention en cas d'anomalie / dégât" - -#: assets/templates/assets/components/inspection_form_modal.html:146 -msgid "Remarques / Remarques du constat" -msgstr "Remarques / Remarques du constat" - -#: assets/templates/assets/components/inspection_form_modal.html:147 -msgid "Saisir vos remarques ou détails..." -msgstr "Saisir vos remarques ou détails..." - -#: assets/templates/assets/components/inspection_form_modal.html:156 -msgid "Valider l'inspection" -msgstr "Valider la sélection" - -#: assets/templates/assets/components/inspection_form_modal.html:170 -msgid "Caméra (Mode continu)" -msgstr "Numéro de contrat" - -#: assets/templates/assets/components/inspection_form_modal.html:185 #: assets/templates/assets/components/map_polygon_picker.html:37 msgid "Terminer" msgstr "Terminer" -#: assets/templates/assets/components/inspection_form_modal.html:188 -msgid "Capturer" -msgstr "Nature" - -#: assets/templates/assets/components/inspection_form_modal.html:202 -msgid "Choisir un équipement à inspecter" -msgstr "Aucun équipement trouvé" - -#: assets/templates/assets/components/inspection_form_modal.html:207 msgid "" "Plusieurs équipements ont été détectés à cet emplacement. Veuillez " "sélectionner celui à inspecter :" @@ -4635,8 +4350,8 @@ msgstr "" msgid "Supprimer" msgstr "Supprimer" -# , python-format #: assets/templates/assets/components/location_edit_modals.html:80 +# , python-format #, python-format msgid "Créer une nouvelle localisation (%(label)s)" msgstr "Créer une nouvelle localisation (%(label)s)" @@ -5145,98 +4860,6 @@ msgstr "Brouillon" msgid "Aucune version trouvée." msgstr "Aucune version trouvée." -#: assets/templates/assets/inspections_list.html:4 -#: assets/templates/assets/inspections_list.html:15 -msgid "Inspections d'assets" -msgstr "Historiques d'assets" - -#: assets/templates/assets/inspections_list.html:17 -msgid "Suivi et historique des contrôles et vérifications sur le terrain" -msgstr "Suivi et historique des contrôles et vérifications sur le terrain" - -#: assets/templates/assets/inspections_list.html:22 -msgid "Nouvelle inspection (Carte GPS)" -msgstr "No interventions" - -#: assets/templates/assets/inspections_list.html:32 -msgid "Mes inspections" -msgstr "Dernière inspection" - -#: assets/templates/assets/inspections_list.html:37 -msgid "Toutes les inspections" -msgstr "Toutes les catégories" - -#: assets/templates/assets/inspections_list.html:51 -msgid "Rechercher par note, asset, ..." -msgstr "Rechercher" - -#: assets/templates/assets/inspections_list.html:57 -msgid "-- Thématiques --" -msgstr "Thématique" - -#: assets/templates/assets/inspections_list.html:66 -msgid "-- Natures --" -msgstr "Nature" - -#: assets/templates/assets/inspections_list.html:75 -msgid "-- Tous les résultats --" -msgstr "Nouveau" - -#: assets/templates/assets/inspections_list.html:93 -#, python-format -msgid "%(counter)s inspection trouvée" -msgid_plural "%(counter)s inspections trouvées" -msgstr[0] "%(counter)s inspection trouvée" -msgstr[1] "%(counter)s inspections trouvées" - -#: assets/templates/assets/inspections_list.html:94 -msgid "limité aux 100 plus récentes" -msgstr "limité aux 100 plus récentes" - -#: assets/templates/assets/inspections_list.html:104 -#: assets/templates/assets/inspections_list.html:105 -msgid "Carte des résultats" -msgstr "Date de déinstallation" - -#: assets/templates/assets/inspections_list.html:148 -msgid "Photos / Documents joints" -msgstr "Photos / Documents joints" - -#: assets/templates/assets/inspections_list.html:167 -#: assets/templates/assets/quick_inspection_map.html:333 -msgid "Détail de l'inspection" -msgstr "Détail" - -#: assets/templates/assets/inspections_list.html:176 -#: assets/templates/assets/quick_inspection_map.html:341 -msgid "Consulter la fiche de l'asset" -msgstr "Consulter la fiche de l'asset" - -#: assets/templates/assets/inspections_list.html:183 -#: assets/templates/assets/quick_inspection_map.html:347 -msgid "Cible" -msgstr "Faible" - -#: assets/templates/assets/inspections_list.html:222 -msgid "Qualité du marquage" -msgstr "Qualité globale" - -#: assets/templates/assets/inspections_list.html:238 assets/views/export.py:100 -msgid "Obsolescence" -msgstr "Obsolescence" - -#: assets/templates/assets/inspections_list.html:309 -msgid "Aucune inspection trouvée" -msgstr "Aucune section trouvée" - -#: assets/templates/assets/inspections_list.html:310 -msgid "Aucune inspection ne correspond à vos critères de recherche." -msgstr "Aucune inspection ne correspond à vos critères de recherche." - -#: assets/templates/assets/inspections_list.html:419 -msgid "Carte des résultats d'inspections" -msgstr "Carte des résultats d'inspections" - #: assets/templates/assets/its_index.html:27 msgid "Créer une nouvelle localisation ITS" msgstr "Créer une nouvelle localisation ITS" @@ -5799,102 +5422,14 @@ msgid "Poteaux" msgstr "Poteaux" #: assets/templates/assets/publiclighting_street_detail.html:267 -msgid "Alimentation:" -msgstr "Alimentation:" - -#: assets/templates/assets/quick_inspection_map.html:4 -msgid "Inspection Rapide Carte GPS" -msgstr "Inspection Rapide Carte GPS" - -#: assets/templates/assets/quick_inspection_map.html:160 -msgid "Inspection Rapide" -msgstr "Intersections" - -#: assets/templates/assets/quick_inspection_map.html:161 -msgid "GPS actif" -msgstr "GPS actif" - -#: assets/templates/assets/quick_inspection_map.html:168 #: assets/templates/assets/unified_index.html:91 #: assets/templates/assets/unified_index.html:251 #: assets/templates/assets/unified_index.html:261 +msgid "Alimentation:" +msgstr "Alimentation:" msgid "Thématique" msgstr "Thématique" -#: assets/templates/assets/quick_inspection_map.html:182 -msgid "Inspections (3 mois)" -msgstr "Intersections" - -#: assets/templates/assets/quick_inspection_map.html:191 -msgid "-- Thématique --" -msgstr "Thématique :" - -#: assets/templates/assets/quick_inspection_map.html:198 -msgid "-- Catégorie --" -msgstr "Catégorie" - -#: assets/templates/assets/quick_inspection_map.html:206 -msgid "Veuillez zoomer sur la carte pour afficher les équipements." -msgstr "Cliquez sur la carte pour ajouter des sommets." - -#: assets/templates/assets/quick_inspection_map.html:216 -msgid "Ma position GPS" -msgstr "Ma position GPS" - -#: assets/templates/assets/quick_inspection_map.html:228 -msgid "Choisir une thématique" -msgstr "Filtres thématiques" - -#: assets/templates/assets/quick_inspection_map.html:260 -msgid "Filtrer par catégorie" -msgstr "Filtrer par catégorie" - -#: assets/templates/assets/quick_inspection_map.html:288 -msgid "Historique des inspections sur la carte" -msgstr "Historique des modifications" - -#: assets/templates/assets/quick_inspection_map.html:294 -msgid "" -"Choisissez la durée d'affichage des contrôles et inspections effectués dans " -"la zone." -msgstr "" - -#: assets/templates/assets/quick_inspection_map.html:298 -msgid "Désactiver l'affichage" -msgstr "Désactiver l'affichage" - -#: assets/templates/assets/quick_inspection_map.html:302 -msgid "1 mois" -msgstr "1 mois" - -#: assets/templates/assets/quick_inspection_map.html:306 -msgid "3 mois (par défaut)" -msgstr "3 mois (par défaut)" - -#: assets/templates/assets/quick_inspection_map.html:310 -msgid "6 mois" -msgstr "6 mois" - -#: assets/templates/assets/quick_inspection_map.html:314 -msgid "1 an" -msgstr "1 an" - -#: assets/templates/assets/quick_inspection_map.html:318 -msgid "Tout (historique complet)" -msgstr "Tout (historique complet)" - -#: assets/templates/assets/quick_inspection_map.html:370 -msgid "Constats & Remarques" -msgstr "Constats & Remarques" - -#: assets/templates/assets/quick_inspection_map.html:378 -msgid "Galerie photos" -msgstr "Galerie photos" - -#: assets/templates/assets/quick_inspection_map.html:397 -msgid "Documents joints" -msgstr "Documents associés" - #: assets/templates/assets/roads_index.html:49 msgid "Qualité globale" msgstr "Qualité globale" @@ -7581,34 +7116,10 @@ msgstr "Format de date invalide. Utilisez ISO 8601." msgid "Inexistant" msgstr "Inexistant" -#: assets/views/inspections.py:184 msgid "" "Vous ne disposez d'aucune thématique autorisée pour réaliser des inspections." msgstr "" -#: assets/views/inspections.py:251 -msgid "Cible d'inspection non spécifiée." -msgstr "Cible d'inspection non spécifiée." - -#: assets/views/inspections.py:257 -#, python-format -msgid "Cible introuvable : %s" -msgstr "Cible introuvable : %s" - -#: assets/views/inspections.py:328 -#, python-format -msgid "Intervention suite à inspection non conforme (%s)" -msgstr "Intervention suite à inspection non conforme (%s)" - -#: assets/views/inspections.py:332 -#, python-format -msgid "Signalement automatique lors de l'inspection du %s." -msgstr "Signalement automatique lors de l'inspection du %s." - -#: assets/views/inspections.py:348 -msgid "Inspection enregistrée avec succès." -msgstr "Commentaire enregistré avec succès" - #: assets/views/its.py:404 assets/views/its.py:415 assets/views/nature.py:463 #: assets/views/nature.py:543 assets/views/publiclighting.py:457 #: assets/views/publiclighting.py:478 assets/views/publiclighting.py:499 @@ -7751,3 +7262,4 @@ msgstr "Zones GIEP" msgid "Aucune localisation GIEP trouvée à proximité" msgstr "Aucune localisation trouvée" + diff --git a/streetup/assets/locale/nl/LC_MESSAGES/django.mo b/streetup/assets/locale/nl/LC_MESSAGES/django.mo index 59666c5..5595c53 100644 Binary files a/streetup/assets/locale/nl/LC_MESSAGES/django.mo and b/streetup/assets/locale/nl/LC_MESSAGES/django.mo differ diff --git a/streetup/assets/locale/nl/LC_MESSAGES/django.po b/streetup/assets/locale/nl/LC_MESSAGES/django.po index 3dc72a8..59631b9 100644 --- a/streetup/assets/locale/nl/LC_MESSAGES/django.po +++ b/streetup/assets/locale/nl/LC_MESSAGES/django.po @@ -901,8 +901,7 @@ msgstr "Gepland" msgid "Actif" msgstr "Actief" -#: assets/models/core.py:236 assets/models/inspection.py:15 -#: assets/templates/assets/components/inspection_form_modal.html:64 +#: assets/models/core.py:236 #: assets/templates/assets/detail_generic.html:1344 msgid "Endommagé" msgstr "Beschadigd" @@ -924,21 +923,18 @@ msgstr "Verwijderd" msgid "Archivé" msgstr "Gearchiveerd" -#: assets/models/core.py:244 assets/models/inspection.py:276 +#: assets/models/core.py:244 #: assets/models/parking.py:32 -#: assets/templates/assets/components/inspection_form_modal.html:128 msgid "Bon état" msgstr "Goede staat" -#: assets/models/core.py:245 assets/models/inspection.py:277 +#: assets/models/core.py:245 #: assets/models/parking.py:33 -#: assets/templates/assets/components/inspection_form_modal.html:129 msgid "Moyen" msgstr "Gemiddeld" -#: assets/models/core.py:246 assets/models/inspection.py:278 +#: assets/models/core.py:246 #: assets/models/parking.py:34 -#: assets/templates/assets/components/inspection_form_modal.html:130 msgid "Dégradé" msgstr "Beschadigd" @@ -971,14 +967,12 @@ msgstr "Afgewezen" msgid "À inspecter" msgstr "Te inspecteren" -#: assets/models/core.py:260 assets/models/inspection.py:12 -#: assets/templates/assets/components/inspection_form_modal.html:48 +#: assets/models/core.py:260 #: assets/views/core.py:852 msgid "Conforme" msgstr "Normaal" #: assets/models/core.py:261 -#: assets/templates/assets/components/inspection_form_modal.html:55 #: assets/views/core.py:853 msgid "Non conforme" msgstr "Niet conform" @@ -997,7 +991,6 @@ msgstr "Financieringsprogramma / Project" #: assets/models/history.py:186 #: assets/templates/assets/buildings/publicbuilding_detail.html:302 -#: assets/templates/assets/inspections_list.html:187 #: assets/templates/assets/outdoor/outdoorlocation_detail.html:330 msgid "Type d'asset" msgstr "Type asset" @@ -1183,7 +1176,6 @@ msgstr "Laatste meting" #: assets/templates/assets/nature_index.html:82 #: assets/templates/assets/publiclighting_index.html:29 #: assets/templates/assets/publiclighting_index.html:73 -#: assets/templates/assets/quick_inspection_map.html:175 #: assets/templates/assets/roads_index.html:29 #: assets/templates/assets/roads_index.html:85 #: assets/templates/assets/sign_index.html:29 @@ -1266,190 +1258,14 @@ msgstr "Geometrie" msgid "GeoJSON" msgstr "GeoJSON" -#: assets/models/inspection.py:13 -msgid "Non conforme / Anomalie" -msgstr "Niet-conform / Anomalie" - -#: assets/models/inspection.py:14 -msgid "Données corrigées" -msgstr "Gecorrigeerde gegevens" - -#: assets/models/inspection.py:16 -msgid "Absent / Retiré" -msgstr "Afwezig / Teruggetrokken" - -#: assets/models/inspection.py:20 -msgid "Inspection visuelle" -msgstr "Kruispunt niet gevonden" - -#: assets/models/inspection.py:21 -msgid "Inspection technique" -msgstr "Technische inspectie" - -#: assets/models/inspection.py:22 -msgid "Suivi / Qualité post-intervention" -msgstr "Monitoring/kwaliteit na de interventie" - -#: assets/models/inspection.py:26 -msgid "Observer / Agent de terrain" -msgstr "Waarnemer / veldagent" - -#: assets/models/inspection.py:27 -msgid "Prestataire technique externe" -msgstr "Onderhoudsprovider controllers" - -#: assets/models/inspection.py:28 -msgid "Gestionnaire / Contrôleur interne" -msgstr "Leidinggevende / Interne Controller" - -#: assets/models/inspection.py:39 -msgid "Type d'asset / Cible" -msgstr "Te koppelen assettype" - -#: assets/models/inspection.py:42 -msgid "ID de la cible" -msgstr "Asset ID" - -#: assets/models/inspection.py:49 -msgid "Nature de l'inspection" -msgstr "Installatiedatum" - -#: assets/models/inspection.py:55 -msgid "Rôle de l'inspecteur" -msgstr "Rol van de inspecteur" - -#: assets/models/inspection.py:64 -msgid "Inspecteur / Vérificateur" -msgstr "Inspecteur / Verificateur" - -#: assets/models/inspection.py:66 -msgid "Date d'inspection" -msgstr "Installatiedatum" - -#: assets/models/inspection.py:72 #: assets/templates/assets/components/asset_inspections.html:104 -#: assets/templates/assets/components/inspection_form_modal.html:41 -#: assets/templates/assets/inspections_list.html:195 -#: assets/templates/assets/quick_inspection_map.html:355 msgid "Résultat du contrôle" msgstr "Controlecentrum" -#: assets/models/inspection.py:79 -msgid "État d'obsolescence constaté" -msgstr "Staat van veroudering opgemerkt" - -#: assets/models/inspection.py:82 -msgid "Remarques / Constats" -msgstr "Opmerking over de grond" - -#: assets/models/inspection.py:85 -msgid "Appliquer directement les modifications à l'asset" -msgstr "Pas wijzigingen rechtstreeks op het item toe" - -#: assets/models/inspection.py:92 -msgid "Inspection d'asset (Générique)" -msgstr "Inspectie van activa (algemeen)" - -#: assets/models/inspection.py:93 -msgid "Inspections d'assets (Génériques)" -msgstr "Inspecties van activa (algemeen)" - -#: assets/models/inspection.py:196 -#, python-format -msgid "%(count)d arceaux classiques" -msgstr "%(count)d klassieke hoepels" - -#: assets/models/inspection.py:198 -#, python-format -msgid "%(count)d arceaux cargo" -msgstr "%(count)d vrachthoepels" - -#: assets/models/inspection.py:200 -msgid "Drop-zone trottinette" -msgstr "Scooter met dropzone" - -#: assets/models/inspection.py:200 -msgid "Sans drop-zone" -msgstr "Zonder dropzone" - -#: assets/models/inspection.py:203 -msgid "Marquage bon état" -msgstr "Goede staat markering" - -#: assets/models/inspection.py:204 -msgid "Marquage moyen" -msgstr "Merk" - -#: assets/models/inspection.py:205 -msgid "Marquage dégradé" -msgstr "Verslechterde markering" - -#: assets/models/inspection.py:206 -msgid "Marquage absent / effacé" -msgstr "Markering ontbreekt/gewist" - -#: assets/models/inspection.py:207 -msgid "Marquage mauvais" -msgstr "Slechte markering" - -#: assets/models/inspection.py:213 -#, python-format -msgid "Obsolescence : %s" -msgstr "Veroudering : %s" - -#: assets/models/inspection.py:257 -msgid "Nombre d'arceaux classiques constaté" -msgstr "Aantal klassieke hoepels waargenomen" - -#: assets/models/inspection.py:262 -msgid "Nombre d'arceaux cargo constaté" -msgstr "Aantal waargenomen vrachthoepels" - -#: assets/models/inspection.py:268 -msgid "Type d'arceau constaté" -msgstr "Sleuteltype" - -#: assets/models/inspection.py:273 -msgid "Drop zone trottinette constatée" -msgstr "Drop-scooterzone genoteerd" - -#: assets/models/inspection.py:279 assets/models/parking.py:35 -#: assets/templates/assets/components/inspection_form_modal.html:131 +#: assets/models/parking.py:35 msgid "Absent / Effacé" msgstr "Afwezig / verwijderd" -#: assets/models/inspection.py:286 -msgid "Qualité du marquage constatée" -msgstr "Kwaliteit van de markering waargenomen" - -#: assets/models/inspection.py:290 -msgid "Mettre à jour la capacité / comptages de l'asset" -msgstr "De asset aanmaken" - -#: assets/models/inspection.py:294 -msgid "Inspection d'emplacement de stationnement" -msgstr "Inspectie van parkeerterreinen" - -#: assets/models/inspection.py:295 -msgid "Inspections d'emplacements de stationnement" -msgstr "Inspecties van parkeerterreinen" - -#: assets/models/inspection.py:333 -msgid "Inspection" -msgstr "Kruispunten" - -#: assets/models/inspection.py:338 -msgid "Fichier / Photo / Document" -msgstr "Bestand / Foto / Document" - -#: assets/models/inspection.py:343 -msgid "Document / Photo d'inspection" -msgstr "Keuringsdocument/foto" - -#: assets/models/inspection.py:344 -msgid "Documents / Photos d'inspection" -msgstr "Inspectiedocumenten/foto's" - #: assets/models/nature.py:81 msgid "Tulipes" msgstr "Tulpen" @@ -2917,7 +2733,6 @@ msgstr "U hebt geen toestemming om assets voor dit thema te bewerken" #: assets/templates/assets/clean_index.html:8 #: assets/templates/assets/controlcenters_index.html:16 #: assets/templates/assets/controlcenters_index.html:45 -#: assets/templates/assets/inspections_list.html:83 #: assets/templates/assets/its_index.html:16 #: assets/templates/assets/its_index.html:56 #: assets/templates/assets/nature_index.html:28 @@ -2944,7 +2759,6 @@ msgstr "Filteren" #: assets/templates/assets/clean_index.html:9 #: assets/templates/assets/controlcenters_index.html:17 #: assets/templates/assets/controlcenters_index.html:46 -#: assets/templates/assets/inspections_list.html:84 #: assets/templates/assets/its_index.html:17 #: assets/templates/assets/its_index.html:57 #: assets/templates/assets/nature_index.html:29 @@ -3218,16 +3032,12 @@ msgstr "Totalen van assets" #: assets/templates/assets/components/asset_interventions.html:112 #: assets/templates/assets/components/asset_location_link.html:50 #: assets/templates/assets/components/asset_model_card.html:62 -#: assets/templates/assets/components/inspection_form_modal.html:11 -#: assets/templates/assets/components/inspection_form_modal.html:172 -#: assets/templates/assets/components/inspection_form_modal.html:204 #: assets/templates/assets/components/location_edit_modals.html:24 #: assets/templates/assets/components/location_edit_modals.html:56 #: assets/templates/assets/components/location_edit_modals.html:82 #: assets/templates/assets/controlcenters_location_detail.html:112 #: assets/templates/assets/controlcenters_location_detail.html:145 #: assets/templates/assets/controlcenters_location_detail.html:170 -#: assets/templates/assets/inspections_list.html:299 #: assets/templates/assets/its_location_detail.html:55 #: assets/templates/assets/its_location_detail.html:88 #: assets/templates/assets/naturerwiz_detail.html:273 @@ -3283,7 +3093,6 @@ msgstr "Kies exportformaat:" #: assets/templates/assets/components/asset_interventions.html:173 #: assets/templates/assets/components/asset_location_link.html:75 #: assets/templates/assets/components/asset_model_card.html:98 -#: assets/templates/assets/components/inspection_form_modal.html:152 #: assets/templates/assets/components/location_edit_modals.html:38 #: assets/templates/assets/components/location_edit_modals.html:63 #: assets/templates/assets/components/location_edit_modals.html:96 @@ -4225,8 +4034,6 @@ msgstr "Laatste inspectie" #: assets/templates/assets/components/asset_inspections.html:33 #: assets/templates/assets/components/asset_inspections.html:100 -#: assets/templates/assets/inspections_list.html:191 -#: assets/templates/assets/quick_inspection_map.html:351 msgid "Date & Heure" msgstr "Datum / tijd" @@ -4236,21 +4043,16 @@ msgstr "Controlecentrum" #: assets/templates/assets/components/asset_inspections.html:35 #: assets/templates/assets/components/asset_inspections.html:108 -#: assets/templates/assets/inspections_list.html:199 -#: assets/templates/assets/quick_inspection_map.html:359 #: assets/views/locations.py:28 msgid "Nature" msgstr "Natuur" #: assets/templates/assets/components/asset_inspections.html:36 #: assets/templates/assets/components/asset_inspections.html:112 -#: assets/templates/assets/inspections_list.html:203 -#: assets/templates/assets/quick_inspection_map.html:363 msgid "Inspecteur" msgstr "Detector" #: assets/templates/assets/components/asset_inspections.html:37 -#: assets/templates/assets/inspections_list.html:231 msgid "Remarques" msgstr "Opmerking" @@ -4267,12 +4069,10 @@ msgid "Équipement cible" msgstr "Uitrusting" #: assets/templates/assets/components/asset_inspections.html:119 -#: assets/templates/assets/inspections_list.html:210 msgid "Arceaux classiques constatés" msgstr "Vastgestelde klassieke beugels" #: assets/templates/assets/components/asset_inspections.html:125 -#: assets/templates/assets/inspections_list.html:216 msgid "Arceaux cargo constatés" msgstr "Vastgestelde cargobeugels" @@ -4281,7 +4081,6 @@ msgid "Remarques / Observations" msgstr "Observaties" #: assets/templates/assets/components/asset_inspections.html:143 -#: assets/templates/assets/inspections_list.html:246 msgid "Photos & Documents joints" msgstr "Bijgevoegde foto's & documenten" @@ -4462,8 +4261,6 @@ msgid "Modèle actuel :" msgstr "Huidig model:" #: assets/templates/assets/components/asset_model_card.html:77 -#: assets/templates/assets/quick_inspection_map.html:266 -#: assets/templates/assets/quick_inspection_map.html:267 msgid "Toutes les catégories" msgstr "Alle categorieën" @@ -4475,92 +4272,10 @@ msgstr "Nieuw model" msgid "Sélectionner un modèle..." msgstr "Selecteer een model" -#: assets/templates/assets/components/inspection_form_modal.html:9 -msgid "Nouvelle inspection" -msgstr "Nieuwe interventie" - -#: assets/templates/assets/components/inspection_form_modal.html:31 -msgid "Statut actuel" -msgstr "Status" - -#: assets/templates/assets/components/inspection_form_modal.html:42 -msgid "Résultat" -msgstr "Resultaat" - -#: assets/templates/assets/components/inspection_form_modal.html:71 -msgid "Absent" -msgstr "Afwezig" - -#: assets/templates/assets/components/inspection_form_modal.html:78 -msgid "Corrigé" -msgstr "Gecorrigeerd" - -#: assets/templates/assets/components/inspection_form_modal.html:88 -msgid "Photos & Fichiers" -msgstr "Bestanden kiezen" - -#: assets/templates/assets/components/inspection_form_modal.html:94 -msgid "Prendre des photos (mode continu)" -msgstr "Foto's maken (continue modus)" - -#: assets/templates/assets/components/inspection_form_modal.html:98 -msgid "Photos, vidéos, fichiers" -msgstr "Bestanden kiezen" - -#: assets/templates/assets/components/inspection_form_modal.html:113 -msgid "Contrôles spécifiques stationnement" -msgstr "Specifieke parkeercontroles" - -#: assets/templates/assets/components/inspection_form_modal.html:116 -msgid "Arceaux classiques" -msgstr "Klassieke leunbeugels" - -#: assets/templates/assets/components/inspection_form_modal.html:120 -msgid "Arceaux cargo" -msgstr "Cargofiets leunbeugels" - -#: assets/templates/assets/components/inspection_form_modal.html:125 -msgid "Qualité marquage" -msgstr "Globale kwaliteit" - -#: assets/templates/assets/components/inspection_form_modal.html:127 -msgid "-- Sélectionner --" -msgstr "Selecteren" - -#: assets/templates/assets/components/inspection_form_modal.html:140 -msgid "Créer automatiquement une intervention en cas d'anomalie / dégât" -msgstr "Automatisch een interventie aanmaken bij anomalie / schade" - -#: assets/templates/assets/components/inspection_form_modal.html:146 -msgid "Remarques / Remarques du constat" -msgstr "Opmerkingen / Vaststellingsopmerkingen" - -#: assets/templates/assets/components/inspection_form_modal.html:147 -msgid "Saisir vos remarques ou détails..." -msgstr "Voer uw opmerkingen of details in..." - -#: assets/templates/assets/components/inspection_form_modal.html:156 -msgid "Valider l'inspection" -msgstr "Selectie bevestigen" - -#: assets/templates/assets/components/inspection_form_modal.html:170 -msgid "Caméra (Mode continu)" -msgstr "Contractnummer" - -#: assets/templates/assets/components/inspection_form_modal.html:185 #: assets/templates/assets/components/map_polygon_picker.html:37 msgid "Terminer" msgstr "Voltooien" -#: assets/templates/assets/components/inspection_form_modal.html:188 -msgid "Capturer" -msgstr "Natuur" - -#: assets/templates/assets/components/inspection_form_modal.html:202 -msgid "Choisir un équipement à inspecter" -msgstr "Andere technische uitrusting" - -#: assets/templates/assets/components/inspection_form_modal.html:207 msgid "" "Plusieurs équipements ont été détectés à cet emplacement. Veuillez " "sélectionner celui à inspecter :" @@ -4630,8 +4345,8 @@ msgstr "" msgid "Supprimer" msgstr "Verwijderen" -# , python-format #: assets/templates/assets/components/location_edit_modals.html:80 +# , python-format #, python-format msgid "Créer une nouvelle localisation (%(label)s)" msgstr "Nieuwe locatie aanmaken (%(label)s)" @@ -5137,98 +4852,10 @@ msgstr "Concept" msgid "Aucune version trouvée." msgstr "Geen versie gevonden." -#: assets/templates/assets/inspections_list.html:4 -#: assets/templates/assets/inspections_list.html:15 -msgid "Inspections d'assets" -msgstr "Asset geschiedenissen" - -#: assets/templates/assets/inspections_list.html:17 -msgid "Suivi et historique des contrôles et vérifications sur le terrain" -msgstr "Monitoring en geschiedenis van controles en verificaties in het veld" - -#: assets/templates/assets/inspections_list.html:22 -msgid "Nouvelle inspection (Carte GPS)" -msgstr "Nieuwe interventie" - -#: assets/templates/assets/inspections_list.html:32 -msgid "Mes inspections" -msgstr "Laatste inspectie" - -#: assets/templates/assets/inspections_list.html:37 -msgid "Toutes les inspections" -msgstr "Alle categorieën" - -#: assets/templates/assets/inspections_list.html:51 -msgid "Rechercher par note, asset, ..." -msgstr "Zoeken" - -#: assets/templates/assets/inspections_list.html:57 -msgid "-- Thématiques --" -msgstr "Thema" - -#: assets/templates/assets/inspections_list.html:66 -msgid "-- Natures --" -msgstr "Natuur" - -#: assets/templates/assets/inspections_list.html:75 -msgid "-- Tous les résultats --" -msgstr "Alle statussen" - -#: assets/templates/assets/inspections_list.html:93 -#, python-format -msgid "%(counter)s inspection trouvée" -msgid_plural "%(counter)s inspections trouvées" -msgstr[0] "%(counter)s inspectie gevonden" -msgstr[1] "%(counter)s inspecties gevonden" - -#: assets/templates/assets/inspections_list.html:94 -msgid "limité aux 100 plus récentes" -msgstr "beperkt tot de 100 meest recente" - -#: assets/templates/assets/inspections_list.html:104 -#: assets/templates/assets/inspections_list.html:105 -msgid "Carte des résultats" -msgstr "Startdatum" - -#: assets/templates/assets/inspections_list.html:148 -msgid "Photos / Documents joints" -msgstr "Foto's / Bijgevoegde documenten" - -#: assets/templates/assets/inspections_list.html:167 -#: assets/templates/assets/quick_inspection_map.html:333 -msgid "Détail de l'inspection" -msgstr "Detail van " - -#: assets/templates/assets/inspections_list.html:176 -#: assets/templates/assets/quick_inspection_map.html:341 -msgid "Consulter la fiche de l'asset" -msgstr "Bekijk assetkaart" - -#: assets/templates/assets/inspections_list.html:183 -#: assets/templates/assets/quick_inspection_map.html:347 -msgid "Cible" -msgstr "Laag" - -#: assets/templates/assets/inspections_list.html:222 -msgid "Qualité du marquage" -msgstr "Globale kwaliteit" - -#: assets/templates/assets/inspections_list.html:238 assets/views/export.py:100 +#: assets/views/export.py:100 msgid "Obsolescence" msgstr "Veroudering" -#: assets/templates/assets/inspections_list.html:309 -msgid "Aucune inspection trouvée" -msgstr "Geen versie gevonden." - -#: assets/templates/assets/inspections_list.html:310 -msgid "Aucune inspection ne correspond à vos critères de recherche." -msgstr "Er zijn geen inspecties die overeenkomen met uw zoekcriteria." - -#: assets/templates/assets/inspections_list.html:419 -msgid "Carte des résultats d'inspections" -msgstr "Kaart met inspectieresultaten" - #: assets/templates/assets/its_index.html:27 msgid "Créer une nouvelle localisation ITS" msgstr "Nieuwe ITS-locatie aanmaken" @@ -5784,99 +5411,17 @@ msgstr "Palen" msgid "Alimentation:" msgstr "Voeding:" -#: assets/templates/assets/quick_inspection_map.html:4 -msgid "Inspection Rapide Carte GPS" -msgstr "Snelle inspectie GPS-kaart" - -#: assets/templates/assets/quick_inspection_map.html:160 -msgid "Inspection Rapide" -msgstr "Kruispunten" - -#: assets/templates/assets/quick_inspection_map.html:161 -msgid "GPS actif" -msgstr "Inactief" - -#: assets/templates/assets/quick_inspection_map.html:168 #: assets/templates/assets/unified_index.html:91 #: assets/templates/assets/unified_index.html:251 #: assets/templates/assets/unified_index.html:261 msgid "Thématique" msgstr "Thema" -#: assets/templates/assets/quick_inspection_map.html:182 -msgid "Inspections (3 mois)" -msgstr "Kruispunten" - -#: assets/templates/assets/quick_inspection_map.html:191 -msgid "-- Thématique --" -msgstr "Thema:" - -#: assets/templates/assets/quick_inspection_map.html:198 -msgid "-- Catégorie --" -msgstr "Categorie" - -#: assets/templates/assets/quick_inspection_map.html:206 -msgid "Veuillez zoomer sur la carte pour afficher les équipements." -msgstr "Klik op de kaart om hoekpunten toe te voegen." - -#: assets/templates/assets/quick_inspection_map.html:216 -msgid "Ma position GPS" -msgstr "Mijn GPS-locatie" - -#: assets/templates/assets/quick_inspection_map.html:228 -msgid "Choisir une thématique" -msgstr "Thematische filters" - -#: assets/templates/assets/quick_inspection_map.html:260 -msgid "Filtrer par catégorie" -msgstr "Selecteer een categorie" - -#: assets/templates/assets/quick_inspection_map.html:288 -msgid "Historique des inspections sur la carte" -msgstr "Wijzigingsgeschiedenis" - -#: assets/templates/assets/quick_inspection_map.html:294 msgid "" "Choisissez la durée d'affichage des contrôles et inspections effectués dans " "la zone." msgstr "" -#: assets/templates/assets/quick_inspection_map.html:298 -msgid "Désactiver l'affichage" -msgstr "Uitgeschakeld" - -#: assets/templates/assets/quick_inspection_map.html:302 -msgid "1 mois" -msgstr "maanden" - -#: assets/templates/assets/quick_inspection_map.html:306 -msgid "3 mois (par défaut)" -msgstr "3 maanden (standaard)" - -#: assets/templates/assets/quick_inspection_map.html:310 -msgid "6 mois" -msgstr "maanden" - -#: assets/templates/assets/quick_inspection_map.html:314 -msgid "1 an" -msgstr "1 jaar" - -#: assets/templates/assets/quick_inspection_map.html:318 -msgid "Tout (historique complet)" -msgstr "Alles (volledige geschiedenis)" - -#: assets/templates/assets/quick_inspection_map.html:370 -msgid "Constats & Remarques" -msgstr "Vaststellingen & Opmerkingen" - -#: assets/templates/assets/quick_inspection_map.html:378 -msgid "Galerie photos" -msgstr "Foto's vuilnisbakken" - -#: assets/templates/assets/quick_inspection_map.html:397 -msgid "Documents joints" -msgstr "Gekoppelde documenten" - #: assets/templates/assets/roads_index.html:49 msgid "Qualité globale" msgstr "Globale kwaliteit" @@ -7555,34 +7100,10 @@ msgstr "Ongeldig datumformaat. Gebruik ISO 8601." msgid "Inexistant" msgstr "Niet bestaand" -#: assets/views/inspections.py:184 msgid "" "Vous ne disposez d'aucune thématique autorisée pour réaliser des inspections." msgstr "" -#: assets/views/inspections.py:251 -msgid "Cible d'inspection non spécifiée." -msgstr "Inspectiedoel niet gespecificeerd." - -#: assets/views/inspections.py:257 -#, python-format -msgid "Cible introuvable : %s" -msgstr "Doel niet gevonden : %s" - -#: assets/views/inspections.py:328 -#, python-format -msgid "Intervention suite à inspection non conforme (%s)" -msgstr "Interventie na niet-conforme inspectie (%s)" - -#: assets/views/inspections.py:332 -#, python-format -msgid "Signalement automatique lors de l'inspection du %s." -msgstr "Automatische rapportage bij het inspecteren van %s." - -#: assets/views/inspections.py:348 -msgid "Inspection enregistrée avec succès." -msgstr "Opmerking succesvol opgeslagen" - #: assets/views/its.py:404 assets/views/its.py:415 assets/views/nature.py:463 #: assets/views/nature.py:543 assets/views/publiclighting.py:457 #: assets/views/publiclighting.py:478 assets/views/publiclighting.py:499 @@ -7725,3 +7246,4 @@ msgstr "GIEP-zones" msgid "Aucune localisation GIEP trouvée à proximité" msgstr "Geen locatie gevonden." + diff --git a/streetup/assets/migrations/0013_alter_parkingspotinspection_verified_marking_quality_and_more.py b/streetup/assets/migrations/0013_alter_parkingspotinspection_verified_marking_quality_and_more.py index a862d28..4769366 100644 --- a/streetup/assets/migrations/0013_alter_parkingspotinspection_verified_marking_quality_and_more.py +++ b/streetup/assets/migrations/0013_alter_parkingspotinspection_verified_marking_quality_and_more.py @@ -1,6 +1,6 @@ # Generated by Django 6.0.7 on 2026-08-07 15:40 -import assets.models.inspection +import inspections.models import django.db.models.deletion from django.db import migrations, models @@ -21,7 +21,7 @@ class Migration(migrations.Migration): name='InspectionDocument', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('file', models.FileField(upload_to=assets.models.inspection.inspection_document_upload_path, verbose_name='Fichier / Photo / Document')), + ('file', models.FileField(upload_to=inspections.models.inspection_document_upload_path, verbose_name='Fichier / Photo / Document')), ('created_at', models.DateTimeField(auto_now_add=True)), ('inspection', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='documents', to='assets.assetinspection', verbose_name='Inspection')), ], diff --git a/streetup/assets/migrations/0014_alter_inspectiondocument_file.py b/streetup/assets/migrations/0014_alter_inspectiondocument_file.py index 2a04126..812d58a 100644 --- a/streetup/assets/migrations/0014_alter_inspectiondocument_file.py +++ b/streetup/assets/migrations/0014_alter_inspectiondocument_file.py @@ -1,6 +1,6 @@ # Generated by Django 6.0.7 on 2026-08-07 15:46 -import assets.models.inspection +import inspections.models import common.storages from django.db import migrations, models @@ -15,6 +15,6 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='inspectiondocument', name='file', - field=models.FileField(storage=common.storages.PrivateMediaStorage(), upload_to=assets.models.inspection.inspection_document_upload_path, verbose_name='Fichier / Photo / Document'), + field=models.FileField(storage=common.storages.PrivateMediaStorage(), upload_to=inspections.models.inspection_document_upload_path, verbose_name='Fichier / Photo / Document'), ), ] diff --git a/streetup/assets/models/__init__.py b/streetup/assets/models/__init__.py index faaca3d..c2882e1 100644 --- a/streetup/assets/models/__init__.py +++ b/streetup/assets/models/__init__.py @@ -13,4 +13,4 @@ from .clean import CleanLocation, CleanLitterBinModel, CleanLitterBin, CleanLitt from .buildings import PublicBuilding, BuildingAsset, BuildingEquipment, PublicBuildingDocument from .outdoor import OutdoorLocation, OutdoorAsset, OutdoorLocationDocument from .parking import ParkingLocation, ParkingSpot -from .inspection import AssetInspection, ParkingSpotInspection \ No newline at end of file +from inspections.models import Inspection as AssetInspection, ParkingSpotInspection \ No newline at end of file diff --git a/streetup/assets/models/core.py b/streetup/assets/models/core.py index ddbe470..b6e0a11 100644 --- a/streetup/assets/models/core.py +++ b/streetup/assets/models/core.py @@ -292,7 +292,7 @@ class AbstractAsset(models.Model): asset_inspections = GenericRelation( - 'assets.AssetInspection', + 'inspections.Inspection', content_type_field='asset_content_type', object_id_field='asset_object_id', related_query_name='%(app_label)s_%(class)s' diff --git a/streetup/assets/static/assets/inspection_map.js b/streetup/assets/static/assets/inspection_map.js index 910f267..ab8f55d 100644 --- a/streetup/assets/static/assets/inspection_map.js +++ b/streetup/assets/static/assets/inspection_map.js @@ -193,7 +193,6 @@ 'non_compliant', '#fd7e14', 'damaged', '#dc3545', 'missing', '#212529', - 'updated', '#0dcaf0', '#6c757d' ], 'circle-stroke-width': 2, @@ -675,7 +674,7 @@ filter_geom: getMapBbox() }; - fetch('/assets/inspections/geojson/', { + fetch('/inspections/api/geojson/', { method: 'POST', body: JSON.stringify(payload), headers: { diff --git a/streetup/assets/templates/assets/components/asset_inspections.html b/streetup/assets/templates/assets/components/asset_inspections.html index dd4f0d1..a734f93 100644 --- a/streetup/assets/templates/assets/components/asset_inspections.html +++ b/streetup/assets/templates/assets/components/asset_inspections.html @@ -46,7 +46,7 @@