refactor: update template line references in translation files due to inspection list layout changes

This commit is contained in:
kdeterme 2026-08-13 20:08:57 +02:00
parent 0fa9898cfa
commit 70cdcd9b18
4 changed files with 88 additions and 86 deletions

View file

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: StreetUp Inspections 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-13 19:59+0200\n"
"POT-Creation-Date: 2026-08-13 20:08+0200\n"
"PO-Revision-Date: 2026-08-08 14:25+0200\n"
"Last-Translator: \n"
"Language-Team: English\n"
@ -88,7 +88,7 @@ msgstr ""
msgid "Date d'inspection"
msgstr "My inspections"
#: models.py:117 templates/inspections/inspections_list.html:195
#: models.py:117 templates/inspections/inspections_list.html:197
#: templates/inspections/quick_inspection_map.html:383
msgid "Résultat du contrôle"
msgstr "Inspection result"
@ -575,7 +575,7 @@ msgstr ""
#: templates/inspections/components/inspection_form_modal.html:11
#: templates/inspections/components/inspection_form_modal.html:128
#: templates/inspections/components/inspection_form_modal.html:160
#: templates/inspections/inspections_list.html:297
#: templates/inspections/inspections_list.html:299
msgid "Fermer"
msgstr "Close"
@ -847,7 +847,7 @@ msgid "Mettre à jour la capacité / les comptages de l'emplacement vélos"
msgstr ""
#: templates/inspections/components/edit_inspection_modal.html:9
#: templates/inspections/inspections_list.html:294
#: templates/inspections/inspections_list.html:296
#, fuzzy
#| msgid "Valider l'inspection"
msgid "Modifier l'inspection"
@ -1035,87 +1035,87 @@ msgstr "Filtrer"
msgid "Réinitialiser"
msgstr "Reset"
#: templates/inspections/inspections_list.html:93
#: templates/inspections/inspections_list.html:96
#: templates/inspections/inspections_list.html:97
msgid "Carte des résultats"
msgstr "-- All results --"
#: templates/inspections/inspections_list.html:105
#, 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"
#: templates/inspections/inspections_list.html:94
#: templates/inspections/inspections_list.html:106
msgid "limité aux 100 plus récentes"
msgstr ""
#: templates/inspections/inspections_list.html:104
#: templates/inspections/inspections_list.html:105
msgid "Carte des résultats"
msgstr "-- All results --"
#: templates/inspections/inspections_list.html:148
#: templates/inspections/inspections_list.html:150
msgid "Photos / Documents joints"
msgstr "Photos / Documents joints"
#: templates/inspections/inspections_list.html:167
#: templates/inspections/inspections_list.html:169
#: templates/inspections/quick_inspection_map.html:356
msgid "Détail de l'inspection"
msgstr "Inspection result"
#: templates/inspections/inspections_list.html:176
#: templates/inspections/inspections_list.html:178
#: templates/inspections/quick_inspection_map.html:369
msgid "Consulter la fiche de l'asset"
msgstr ""
#: templates/inspections/inspections_list.html:183
#: templates/inspections/inspections_list.html:185
#: templates/inspections/quick_inspection_map.html:375
msgid "Cible"
msgstr "Cible"
#: templates/inspections/inspections_list.html:187
#: templates/inspections/inspections_list.html:189
msgid "Type d'asset"
msgstr "Asset Inspections"
#: templates/inspections/inspections_list.html:191
#: templates/inspections/inspections_list.html:193
#: templates/inspections/quick_inspection_map.html:379
msgid "Date & Heure"
msgstr ""
#: templates/inspections/inspections_list.html:199
#: templates/inspections/inspections_list.html:201
#: templates/inspections/quick_inspection_map.html:387
msgid "Nature"
msgstr "-- Natures --"
#: templates/inspections/inspections_list.html:203
#: templates/inspections/inspections_list.html:205
#: templates/inspections/quick_inspection_map.html:391
msgid "Inspecteur"
msgstr "Inspection"
#: templates/inspections/inspections_list.html:207
#: templates/inspections/inspections_list.html:209
#, fuzzy
#| msgid "Date d'inspection"
msgid "Date de modification"
msgstr "My inspections"
#: templates/inspections/inspections_list.html:223
#: templates/inspections/inspections_list.html:225
msgid "Remarques"
msgstr "Remarques"
#: templates/inspections/inspections_list.html:230
#: templates/inspections/inspections_list.html:232
msgid "Obsolescence"
msgstr "Obsolescence"
#: templates/inspections/inspections_list.html:238
#: templates/inspections/inspections_list.html:240
msgid "Photos & Documents joints"
msgstr ""
#: templates/inspections/inspections_list.html:308
#: templates/inspections/inspections_list.html:310
msgid "Aucune inspection trouvée"
msgstr "%(counter)s inspection found"
#: templates/inspections/inspections_list.html:309
#: templates/inspections/inspections_list.html:311
msgid "Aucune inspection ne correspond à vos critères de recherche."
msgstr ""
#: templates/inspections/inspections_list.html:418
#: templates/inspections/inspections_list.html:420
msgid "Carte des résultats d'inspections"
msgstr "Inspection result"

View file

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: StreetUp Inspections 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-13 19:59+0200\n"
"POT-Creation-Date: 2026-08-13 20:08+0200\n"
"PO-Revision-Date: 2026-08-08 14:25+0200\n"
"Last-Translator: \n"
"Language-Team: French\n"
@ -88,7 +88,7 @@ msgstr "Inspecteur / Vérificateur"
msgid "Date d'inspection"
msgstr "Date d'inspection"
#: models.py:117 templates/inspections/inspections_list.html:195
#: models.py:117 templates/inspections/inspections_list.html:197
#: templates/inspections/quick_inspection_map.html:383
msgid "Résultat du contrôle"
msgstr "Résultat du contrôle"
@ -576,7 +576,7 @@ msgstr "Sélectionner un équipement GIEP sur la carte"
#: templates/inspections/components/inspection_form_modal.html:11
#: templates/inspections/components/inspection_form_modal.html:128
#: templates/inspections/components/inspection_form_modal.html:160
#: templates/inspections/inspections_list.html:297
#: templates/inspections/inspections_list.html:299
msgid "Fermer"
msgstr "Fermer"
@ -851,7 +851,7 @@ msgid "Mettre à jour la capacité / les comptages de l'emplacement vélos"
msgstr "Mettre à jour la capacité / les comptages de l'emplacement vélos"
#: templates/inspections/components/edit_inspection_modal.html:9
#: templates/inspections/inspections_list.html:294
#: templates/inspections/inspections_list.html:296
msgid "Modifier l'inspection"
msgstr "Modifier l'inspection"
@ -1029,85 +1029,85 @@ msgstr "Filtrer"
msgid "Réinitialiser"
msgstr "Réinitialiser"
#: templates/inspections/inspections_list.html:93
#: templates/inspections/inspections_list.html:96
#: templates/inspections/inspections_list.html:97
msgid "Carte des résultats"
msgstr "Carte des résultats"
#: templates/inspections/inspections_list.html:105
#, 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"
#: templates/inspections/inspections_list.html:94
#: templates/inspections/inspections_list.html:106
msgid "limité aux 100 plus récentes"
msgstr "limité aux 100 plus récentes"
#: templates/inspections/inspections_list.html:104
#: templates/inspections/inspections_list.html:105
msgid "Carte des résultats"
msgstr "Carte des résultats"
#: templates/inspections/inspections_list.html:148
#: templates/inspections/inspections_list.html:150
msgid "Photos / Documents joints"
msgstr "Photos / Documents joints"
#: templates/inspections/inspections_list.html:167
#: templates/inspections/inspections_list.html:169
#: templates/inspections/quick_inspection_map.html:356
msgid "Détail de l'inspection"
msgstr "Détail de l'inspection"
#: templates/inspections/inspections_list.html:176
#: templates/inspections/inspections_list.html:178
#: templates/inspections/quick_inspection_map.html:369
msgid "Consulter la fiche de l'asset"
msgstr "Consulter la fiche de l'asset"
#: templates/inspections/inspections_list.html:183
#: templates/inspections/inspections_list.html:185
#: templates/inspections/quick_inspection_map.html:375
msgid "Cible"
msgstr "Cible"
#: templates/inspections/inspections_list.html:187
#: templates/inspections/inspections_list.html:189
msgid "Type d'asset"
msgstr "Type d'asset"
#: templates/inspections/inspections_list.html:191
#: templates/inspections/inspections_list.html:193
#: templates/inspections/quick_inspection_map.html:379
msgid "Date & Heure"
msgstr "Date & Heure"
#: templates/inspections/inspections_list.html:199
#: templates/inspections/inspections_list.html:201
#: templates/inspections/quick_inspection_map.html:387
msgid "Nature"
msgstr "Nature"
#: templates/inspections/inspections_list.html:203
#: templates/inspections/inspections_list.html:205
#: templates/inspections/quick_inspection_map.html:391
msgid "Inspecteur"
msgstr "Inspecteur"
#: templates/inspections/inspections_list.html:207
#: templates/inspections/inspections_list.html:209
msgid "Date de modification"
msgstr "Date de modification"
#: templates/inspections/inspections_list.html:223
#: templates/inspections/inspections_list.html:225
msgid "Remarques"
msgstr "Remarques"
#: templates/inspections/inspections_list.html:230
#: templates/inspections/inspections_list.html:232
msgid "Obsolescence"
msgstr "Obsolescence"
#: templates/inspections/inspections_list.html:238
#: templates/inspections/inspections_list.html:240
msgid "Photos & Documents joints"
msgstr "Photos & Documents joints"
#: templates/inspections/inspections_list.html:308
#: templates/inspections/inspections_list.html:310
msgid "Aucune inspection trouvée"
msgstr "Aucune inspection trouvée"
#: templates/inspections/inspections_list.html:309
#: templates/inspections/inspections_list.html:311
msgid "Aucune inspection ne correspond à vos critères de recherche."
msgstr "Aucune inspection ne correspond à vos critères de recherche."
#: templates/inspections/inspections_list.html:418
#: templates/inspections/inspections_list.html:420
msgid "Carte des résultats d'inspections"
msgstr "Carte des résultats d'inspections"

View file

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: StreetUp Inspections 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-13 19:59+0200\n"
"POT-Creation-Date: 2026-08-13 20:08+0200\n"
"PO-Revision-Date: 2026-08-08 14:25+0200\n"
"Last-Translator: \n"
"Language-Team: Dutch\n"
@ -88,7 +88,7 @@ msgstr ""
msgid "Date d'inspection"
msgstr "Mijn inspecties"
#: models.py:117 templates/inspections/inspections_list.html:195
#: models.py:117 templates/inspections/inspections_list.html:197
#: templates/inspections/quick_inspection_map.html:383
msgid "Résultat du contrôle"
msgstr "Controlleresultaat"
@ -575,7 +575,7 @@ msgstr ""
#: templates/inspections/components/inspection_form_modal.html:11
#: templates/inspections/components/inspection_form_modal.html:128
#: templates/inspections/components/inspection_form_modal.html:160
#: templates/inspections/inspections_list.html:297
#: templates/inspections/inspections_list.html:299
msgid "Fermer"
msgstr "Sluiten"
@ -846,7 +846,7 @@ msgid "Mettre à jour la capacité / les comptages de l'emplacement vélos"
msgstr ""
#: templates/inspections/components/edit_inspection_modal.html:9
#: templates/inspections/inspections_list.html:294
#: templates/inspections/inspections_list.html:296
#, fuzzy
#| msgid "Valider l'inspection"
msgid "Modifier l'inspection"
@ -1030,87 +1030,87 @@ msgstr ""
msgid "Réinitialiser"
msgstr "Resetten"
#: templates/inspections/inspections_list.html:93
#: templates/inspections/inspections_list.html:96
#: templates/inspections/inspections_list.html:97
msgid "Carte des résultats"
msgstr "-- Alle resultaten --"
#: templates/inspections/inspections_list.html:105
#, 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"
#: templates/inspections/inspections_list.html:94
#: templates/inspections/inspections_list.html:106
msgid "limité aux 100 plus récentes"
msgstr ""
#: templates/inspections/inspections_list.html:104
#: templates/inspections/inspections_list.html:105
msgid "Carte des résultats"
msgstr "-- Alle resultaten --"
#: templates/inspections/inspections_list.html:148
#: templates/inspections/inspections_list.html:150
msgid "Photos / Documents joints"
msgstr ""
#: templates/inspections/inspections_list.html:167
#: templates/inspections/inspections_list.html:169
#: templates/inspections/quick_inspection_map.html:356
msgid "Détail de l'inspection"
msgstr "Inspectieresultaat"
#: templates/inspections/inspections_list.html:176
#: templates/inspections/inspections_list.html:178
#: templates/inspections/quick_inspection_map.html:369
msgid "Consulter la fiche de l'asset"
msgstr ""
#: templates/inspections/inspections_list.html:183
#: templates/inspections/inspections_list.html:185
#: templates/inspections/quick_inspection_map.html:375
msgid "Cible"
msgstr ""
#: templates/inspections/inspections_list.html:187
#: templates/inspections/inspections_list.html:189
msgid "Type d'asset"
msgstr "Assetinspecties"
#: templates/inspections/inspections_list.html:191
#: templates/inspections/inspections_list.html:193
#: templates/inspections/quick_inspection_map.html:379
msgid "Date & Heure"
msgstr ""
#: templates/inspections/inspections_list.html:199
#: templates/inspections/inspections_list.html:201
#: templates/inspections/quick_inspection_map.html:387
msgid "Nature"
msgstr "-- Aard --"
#: templates/inspections/inspections_list.html:203
#: templates/inspections/inspections_list.html:205
#: templates/inspections/quick_inspection_map.html:391
msgid "Inspecteur"
msgstr "Inspectie"
#: templates/inspections/inspections_list.html:207
#: templates/inspections/inspections_list.html:209
#, fuzzy
#| msgid "Date d'inspection"
msgid "Date de modification"
msgstr "Mijn inspecties"
#: templates/inspections/inspections_list.html:223
#: templates/inspections/inspections_list.html:225
msgid "Remarques"
msgstr ""
#: templates/inspections/inspections_list.html:230
#: templates/inspections/inspections_list.html:232
msgid "Obsolescence"
msgstr ""
#: templates/inspections/inspections_list.html:238
#: templates/inspections/inspections_list.html:240
msgid "Photos & Documents joints"
msgstr ""
#: templates/inspections/inspections_list.html:308
#: templates/inspections/inspections_list.html:310
msgid "Aucune inspection trouvée"
msgstr "%(counter)s inspectie gevonden"
#: templates/inspections/inspections_list.html:309
#: templates/inspections/inspections_list.html:311
msgid "Aucune inspection ne correspond à vos critères de recherche."
msgstr ""
#: templates/inspections/inspections_list.html:418
#: templates/inspections/inspections_list.html:420
msgid "Carte des résultats d'inspections"
msgstr "Inspectieresultaat"

View file

@ -87,14 +87,6 @@
</div>
</div>
<!-- Liste des inspections sous forme de Cards -->
<div class="d-flex justify-content-between align-items-center mb-3">
<span class="fw-semibold text-muted small">
{% blocktranslate count counter=total_count %}{{ counter }} inspection trouvée{% plural %}{{ counter }} inspections trouvées{% endblocktranslate %}
<span class="fst-italic text-secondary">({% translate "limité aux 100 plus récentes" %})</span>
</span>
</div>
<!-- Bouton Flottant (FAB) Carte des résultats -->
<button type="button" class="btn btn-primary rounded-circle shadow-lg position-fixed bottom-0 end-0 m-4 d-flex align-items-center justify-content-center"
style="width: 56px; height: 56px; z-index: 1050; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;"
@ -107,7 +99,17 @@
</button>
{% if inspections %}
<!-- Liste des inspections sous forme de Cards -->
<div class="d-flex justify-content-between align-items-center mb-3">
<span class="fw-semibold text-muted small">
{% blocktranslate count counter=total_count %}{{ counter }} inspection trouvée{% plural %}{{ counter }} inspections trouvées{% endblocktranslate %}
<span class="fst-italic text-secondary">({% translate "limité aux 100 plus récentes" %})</span>
</span>
</div>
<div class="row g-3 mb-4">
{% for insp in inspections %}
<div class="col-12">
<div class="card shadow-sm border-0 h-100 inspection-card cursor-pointer"