From e4bcf9bd2e90984a9b16e4d518da8ad1a2a3fbbf Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sat, 10 Feb 2024 19:58:31 +0100 Subject: [PATCH] Update translations --- sncfgtfs/locale/fr/LC_MESSAGES/django.po | 532 +++++++++--------- .../management/commands/update_sncf_gtfs.py | 28 - 2 files changed, 276 insertions(+), 284 deletions(-) diff --git a/sncfgtfs/locale/fr/LC_MESSAGES/django.po b/sncfgtfs/locale/fr/LC_MESSAGES/django.po index c9a37c0..4ba18a6 100644 --- a/sncfgtfs/locale/fr/LC_MESSAGES/django.po +++ b/sncfgtfs/locale/fr/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-06 08:00+0100\n" +"POT-Creation-Date: 2024-02-10 19:57+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Emmy D'Anello \n" "Language-Team: LANGUAGE \n" @@ -28,519 +28,539 @@ msgstr "Intercités" msgid "Transilien" msgstr "Transilien" +#: sncfgtfs/models.py:10 +msgid "Eurostar" +msgstr "Eurostar" + +#: sncfgtfs/models.py:11 +msgid "Trenitalia" +msgstr "Trenitalia" + +#: sncfgtfs/models.py:12 +msgid "Renfe" +msgstr "Renfe" + #: sncfgtfs/models.py:13 +msgid "ÖBB" +msgstr "ÖBB" + +#: sncfgtfs/models.py:17 msgid "Stop/platform" msgstr "Arrêt / quai" -#: sncfgtfs/models.py:14 +#: sncfgtfs/models.py:18 msgid "Station" msgstr "Gare" -#: sncfgtfs/models.py:15 +#: sncfgtfs/models.py:19 msgid "Entrance/exit" msgstr "Entrée / sortie" -#: sncfgtfs/models.py:16 +#: sncfgtfs/models.py:20 msgid "Generic node" msgstr "Nœud générique" -#: sncfgtfs/models.py:17 +#: sncfgtfs/models.py:21 msgid "Boarding area" msgstr "Zone d'embarquement" -#: sncfgtfs/models.py:21 +#: sncfgtfs/models.py:25 msgid "No information" msgstr "Pas d'information" -#: sncfgtfs/models.py:22 +#: sncfgtfs/models.py:26 msgid "Possible" msgstr "Possible" -#: sncfgtfs/models.py:23 sncfgtfs/models.py:53 +#: sncfgtfs/models.py:27 sncfgtfs/models.py:57 msgid "Not possible" msgstr "Impossible" -#: sncfgtfs/models.py:27 +#: sncfgtfs/models.py:31 msgid "Regular" msgstr "Régulier" -#: sncfgtfs/models.py:28 +#: sncfgtfs/models.py:32 msgid "None" msgstr "Aucun" -#: sncfgtfs/models.py:29 +#: sncfgtfs/models.py:33 msgid "Must phone agency" msgstr "Doit téléphoner à l'agence" -#: sncfgtfs/models.py:30 +#: sncfgtfs/models.py:34 msgid "Must coordinate with driver" msgstr "Doit se coordonner avec læ conducteurice" -#: sncfgtfs/models.py:34 +#: sncfgtfs/models.py:38 msgid "Tram" msgstr "Tram" -#: sncfgtfs/models.py:35 +#: sncfgtfs/models.py:39 msgid "Metro" msgstr "Métro" -#: sncfgtfs/models.py:36 +#: sncfgtfs/models.py:40 msgid "Rail" msgstr "Rail" -#: sncfgtfs/models.py:37 +#: sncfgtfs/models.py:41 msgid "Bus" msgstr "Bus" -#: sncfgtfs/models.py:38 +#: sncfgtfs/models.py:42 msgid "Ferry" msgstr "Ferry" -#: sncfgtfs/models.py:39 +#: sncfgtfs/models.py:43 msgid "Cable car" msgstr "Câble" -#: sncfgtfs/models.py:40 +#: sncfgtfs/models.py:44 msgid "Gondola" msgstr "Gondole" -#: sncfgtfs/models.py:41 +#: sncfgtfs/models.py:45 msgid "Funicular" msgstr "Funiculaire" -#: sncfgtfs/models.py:45 +#: sncfgtfs/models.py:49 msgid "Outbound" msgstr "Vers l'extérieur" -#: sncfgtfs/models.py:46 +#: sncfgtfs/models.py:50 msgid "Inbound" msgstr "Vers l'intérieur" -#: sncfgtfs/models.py:50 +#: sncfgtfs/models.py:54 msgid "Recommended" msgstr "Recommandé" -#: sncfgtfs/models.py:51 +#: sncfgtfs/models.py:55 msgid "Timed" msgstr "Correspondance programmée" -#: sncfgtfs/models.py:52 +#: sncfgtfs/models.py:56 msgid "Minimum time" msgstr "Temps de correspondance minimum requis" -#: sncfgtfs/models.py:57 sncfgtfs/models.py:63 +#: sncfgtfs/models.py:61 sncfgtfs/models.py:67 msgid "Added" msgstr "Ajouté" -#: sncfgtfs/models.py:58 +#: sncfgtfs/models.py:62 msgid "Removed" msgstr "Supprimé" -#: sncfgtfs/models.py:62 sncfgtfs/models.py:72 +#: sncfgtfs/models.py:66 sncfgtfs/models.py:76 msgid "Scheduled" msgstr "Planifié" -#: sncfgtfs/models.py:64 sncfgtfs/models.py:75 +#: sncfgtfs/models.py:68 sncfgtfs/models.py:79 msgid "Unscheduled" msgstr "Non planifié" -#: sncfgtfs/models.py:65 +#: sncfgtfs/models.py:69 msgid "Canceled" msgstr "Annulé" -#: sncfgtfs/models.py:66 +#: sncfgtfs/models.py:70 msgid "Replacement" msgstr "Remplacé" -#: sncfgtfs/models.py:67 +#: sncfgtfs/models.py:71 msgid "Duplicated" msgstr "Dupliqué" -#: sncfgtfs/models.py:68 +#: sncfgtfs/models.py:72 msgid "Deleted" msgstr "Supprimé" -#: sncfgtfs/models.py:73 +#: sncfgtfs/models.py:77 msgid "Skipped" msgstr "Sauté" -#: sncfgtfs/models.py:74 +#: sncfgtfs/models.py:78 msgid "No data" msgstr "Pas de données" -#: sncfgtfs/models.py:82 sncfgtfs/models.py:233 +#: sncfgtfs/models.py:86 msgid "Agency ID" msgstr "ID de l'agence" -#: sncfgtfs/models.py:88 +#: sncfgtfs/models.py:91 msgid "Agency name" msgstr "Nom de l'agence" -#: sncfgtfs/models.py:92 +#: sncfgtfs/models.py:95 msgid "Agency URL" msgstr "URL de l'agence" -#: sncfgtfs/models.py:97 +#: sncfgtfs/models.py:100 msgid "Agency timezone" msgstr "Fuseau horaire de l'agence" -#: sncfgtfs/models.py:102 +#: sncfgtfs/models.py:105 msgid "Agency language" msgstr "Langue de l'agence" -#: sncfgtfs/models.py:108 +#: sncfgtfs/models.py:111 msgid "Agency phone" msgstr "Téléphone de l'agence" -#: sncfgtfs/models.py:113 +#: sncfgtfs/models.py:116 msgid "Agency email" msgstr "Adresse email de l'agence" -#: sncfgtfs/models.py:121 +#: sncfgtfs/models.py:124 sncfgtfs/models.py:242 msgid "Agency" msgstr "Agence" -#: sncfgtfs/models.py:122 +#: sncfgtfs/models.py:125 msgid "Agencies" msgstr "Agences" -#: sncfgtfs/models.py:130 sncfgtfs/models.py:424 +#: sncfgtfs/models.py:133 sncfgtfs/models.py:459 msgid "Stop ID" msgstr "ID de l'arrêt" -#: sncfgtfs/models.py:135 +#: sncfgtfs/models.py:138 msgid "Stop code" msgstr "Code de l'arrêt" -#: sncfgtfs/models.py:141 +#: sncfgtfs/models.py:144 msgid "Stop name" msgstr "Nom de l'arrêt" -#: sncfgtfs/models.py:146 +#: sncfgtfs/models.py:149 msgid "Stop description" msgstr "Description de l'arrêt" -#: sncfgtfs/models.py:151 +#: sncfgtfs/models.py:154 msgid "Stop longitude" msgstr "Longitude de l'arrêt" -#: sncfgtfs/models.py:155 +#: sncfgtfs/models.py:158 msgid "Stop latitude" msgstr "Latitude de l'arrêt" -#: sncfgtfs/models.py:160 +#: sncfgtfs/models.py:163 msgid "Zone ID" msgstr "ID de la zone" -#: sncfgtfs/models.py:164 +#: sncfgtfs/models.py:167 msgid "Stop URL" msgstr "URL de l'arrêt" -#: sncfgtfs/models.py:169 +#: sncfgtfs/models.py:172 msgid "Location type" msgstr "Type de localisation" -#: sncfgtfs/models.py:178 +#: sncfgtfs/models.py:181 msgid "Parent station" msgstr "Gare parente" -#: sncfgtfs/models.py:186 +#: sncfgtfs/models.py:189 msgid "Stop timezone" msgstr "Fuseau horaire de l'arrêt" -#: sncfgtfs/models.py:192 +#: sncfgtfs/models.py:195 msgid "Level ID" msgstr "ID du niveau" -#: sncfgtfs/models.py:197 +#: sncfgtfs/models.py:200 msgid "Wheelchair boarding" msgstr "Embarquement en fauteuil roulant" -#: sncfgtfs/models.py:205 +#: sncfgtfs/models.py:208 msgid "Platform code" msgstr "Code du quai" -#: sncfgtfs/models.py:218 -msgid "Stop" -msgstr "Arrêt" - -#: sncfgtfs/models.py:219 -msgid "Stops" -msgstr "Arrêts" - -#: sncfgtfs/models.py:227 sncfgtfs/models.py:403 sncfgtfs/models.py:542 -#: sncfgtfs/models.py:580 -msgid "ID" -msgstr "Identifiant" - -#: sncfgtfs/models.py:239 -msgid "Route short name" -msgstr "Nom court de la ligne" - -#: sncfgtfs/models.py:244 -msgid "Route long name" -msgstr "Nom long de la ligne" - -#: sncfgtfs/models.py:249 -msgid "Route description" -msgstr "Description de la ligne" - -#: sncfgtfs/models.py:254 -msgid "Route type" -msgstr "Type de ligne" - -#: sncfgtfs/models.py:259 -msgid "Route URL" -msgstr "URL de la ligne" - -#: sncfgtfs/models.py:265 -msgid "Route color" -msgstr "Couleur de la ligne" - -#: sncfgtfs/models.py:271 -msgid "Route text color" -msgstr "Couleur du texte de la ligne" - -#: sncfgtfs/models.py:279 sncfgtfs/models.py:294 -msgid "Route" -msgstr "Ligne" - -#: sncfgtfs/models.py:280 -msgid "Routes" -msgstr "Lignes" - -#: sncfgtfs/models.py:288 -msgid "Trip ID" -msgstr "ID du trajet" - -#: sncfgtfs/models.py:301 sncfgtfs/models.py:548 -msgid "Service" -msgstr "Service" - -#: sncfgtfs/models.py:307 -msgid "Trip headsign" -msgstr "Destination du trajet" - -#: sncfgtfs/models.py:313 -msgid "Trip short name" -msgstr "Nom court du trajet" - -#: sncfgtfs/models.py:318 -msgid "Direction" -msgstr "Direction" - -#: sncfgtfs/models.py:325 -msgid "Block ID" -msgstr "ID du bloc" - -#: sncfgtfs/models.py:331 -msgid "Shape ID" -msgstr "ID de la forme" - -#: sncfgtfs/models.py:336 -msgid "Wheelchair accessible" -msgstr "Accessible en fauteuil roulant" - -#: sncfgtfs/models.py:343 -msgid "Bikes allowed" -msgstr "Vélos autorisés" - -#: sncfgtfs/models.py:395 sncfgtfs/models.py:409 sncfgtfs/models.py:652 -msgid "Trip" -msgstr "Trajet" - -#: sncfgtfs/models.py:396 -msgid "Trips" -msgstr "Trajets" - -#: sncfgtfs/models.py:414 sncfgtfs/models.py:702 -msgid "Arrival time" -msgstr "Heure d'arrivée" - -#: sncfgtfs/models.py:418 sncfgtfs/models.py:710 -msgid "Departure time" -msgstr "Heure de départ" - -#: sncfgtfs/models.py:429 -msgid "Stop sequence" -msgstr "Séquence de l'arrêt" - -#: sncfgtfs/models.py:434 -msgid "Stop headsign" -msgstr "Destination de l'arrêt" - -#: sncfgtfs/models.py:439 -msgid "Pickup type" -msgstr "Type de prise en charge" - -#: sncfgtfs/models.py:446 -msgid "Drop off type" -msgstr "Type de dépose" - -#: sncfgtfs/models.py:453 -msgid "Timepoint" -msgstr "Ponctualité" - -#: sncfgtfs/models.py:476 sncfgtfs/models.py:692 -msgid "Stop time" -msgstr "Heure d'arrêt" - -#: sncfgtfs/models.py:477 -msgid "Stop times" -msgstr "Heures d'arrêt" - -#: sncfgtfs/models.py:484 -msgid "Service ID" -msgstr "ID du service" - -#: sncfgtfs/models.py:488 -msgid "Monday" -msgstr "Lundi" - -#: sncfgtfs/models.py:492 -msgid "Tuesday" -msgstr "Mardi" - -#: sncfgtfs/models.py:496 -msgid "Wednesday" -msgstr "Mercredi" - -#: sncfgtfs/models.py:500 -msgid "Thursday" -msgstr "Jeudi" - -#: sncfgtfs/models.py:504 -msgid "Friday" -msgstr "Vendredi" - -#: sncfgtfs/models.py:508 -msgid "Saturday" -msgstr "Samedi" - -#: sncfgtfs/models.py:512 -msgid "Sunday" -msgstr "Dimanche" - -#: sncfgtfs/models.py:516 sncfgtfs/models.py:658 -msgid "Start date" -msgstr "Date de début" - -#: sncfgtfs/models.py:520 -msgid "End date" -msgstr "Date de fin" - -#: sncfgtfs/models.py:525 sncfgtfs/models.py:563 +#: sncfgtfs/models.py:214 sncfgtfs/models.py:286 sncfgtfs/models.py:560 msgid "Transport type" msgstr "Type de transport" -#: sncfgtfs/models.py:533 +#: sncfgtfs/models.py:227 +msgid "Stop" +msgstr "Arrêt" + +#: sncfgtfs/models.py:228 +msgid "Stops" +msgstr "Arrêts" + +#: sncfgtfs/models.py:236 sncfgtfs/models.py:438 sncfgtfs/models.py:577 +#: sncfgtfs/models.py:609 +msgid "ID" +msgstr "Identifiant" + +#: sncfgtfs/models.py:248 +msgid "Route short name" +msgstr "Nom court de la ligne" + +#: sncfgtfs/models.py:253 +msgid "Route long name" +msgstr "Nom long de la ligne" + +#: sncfgtfs/models.py:258 +msgid "Route description" +msgstr "Description de la ligne" + +#: sncfgtfs/models.py:263 +msgid "Route type" +msgstr "Type de ligne" + +#: sncfgtfs/models.py:268 +msgid "Route URL" +msgstr "URL de la ligne" + +#: sncfgtfs/models.py:274 +msgid "Route color" +msgstr "Couleur de la ligne" + +#: sncfgtfs/models.py:280 +msgid "Route text color" +msgstr "Couleur du texte de la ligne" + +#: sncfgtfs/models.py:294 sncfgtfs/models.py:309 +msgid "Route" +msgstr "Ligne" + +#: sncfgtfs/models.py:295 +msgid "Routes" +msgstr "Lignes" + +#: sncfgtfs/models.py:303 +msgid "Trip ID" +msgstr "ID du trajet" + +#: sncfgtfs/models.py:316 sncfgtfs/models.py:583 +msgid "Service" +msgstr "Service" + +#: sncfgtfs/models.py:322 +msgid "Trip headsign" +msgstr "Destination du trajet" + +#: sncfgtfs/models.py:328 +msgid "Trip short name" +msgstr "Nom court du trajet" + +#: sncfgtfs/models.py:333 +msgid "Direction" +msgstr "Direction" + +#: sncfgtfs/models.py:340 +msgid "Block ID" +msgstr "ID du bloc" + +#: sncfgtfs/models.py:346 +msgid "Shape ID" +msgstr "ID de la forme" + +#: sncfgtfs/models.py:351 +msgid "Wheelchair accessible" +msgstr "Accessible en fauteuil roulant" + +#: sncfgtfs/models.py:358 +msgid "Bikes allowed" +msgstr "Vélos autorisés" + +#: sncfgtfs/models.py:365 +msgid "Last update" +msgstr "Dernière mise à jour" + +#: sncfgtfs/models.py:430 sncfgtfs/models.py:444 sncfgtfs/models.py:681 +msgid "Trip" +msgstr "Trajet" + +#: sncfgtfs/models.py:431 +msgid "Trips" +msgstr "Trajets" + +#: sncfgtfs/models.py:449 sncfgtfs/models.py:731 +msgid "Arrival time" +msgstr "Heure d'arrivée" + +#: sncfgtfs/models.py:453 sncfgtfs/models.py:739 +msgid "Departure time" +msgstr "Heure de départ" + +#: sncfgtfs/models.py:464 +msgid "Stop sequence" +msgstr "Séquence de l'arrêt" + +#: sncfgtfs/models.py:469 +msgid "Stop headsign" +msgstr "Destination de l'arrêt" + +#: sncfgtfs/models.py:474 +msgid "Pickup type" +msgstr "Type de prise en charge" + +#: sncfgtfs/models.py:481 +msgid "Drop off type" +msgstr "Type de dépose" + +#: sncfgtfs/models.py:488 +msgid "Timepoint" +msgstr "Ponctualité" + +#: sncfgtfs/models.py:511 sncfgtfs/models.py:721 +msgid "Stop time" +msgstr "Heure d'arrêt" + +#: sncfgtfs/models.py:512 +msgid "Stop times" +msgstr "Heures d'arrêt" + +#: sncfgtfs/models.py:519 +msgid "Service ID" +msgstr "ID du service" + +#: sncfgtfs/models.py:523 +msgid "Monday" +msgstr "Lundi" + +#: sncfgtfs/models.py:527 +msgid "Tuesday" +msgstr "Mardi" + +#: sncfgtfs/models.py:531 +msgid "Wednesday" +msgstr "Mercredi" + +#: sncfgtfs/models.py:535 +msgid "Thursday" +msgstr "Jeudi" + +#: sncfgtfs/models.py:539 +msgid "Friday" +msgstr "Vendredi" + +#: sncfgtfs/models.py:543 +msgid "Saturday" +msgstr "Samedi" + +#: sncfgtfs/models.py:547 +msgid "Sunday" +msgstr "Dimanche" + +#: sncfgtfs/models.py:551 sncfgtfs/models.py:687 +msgid "Start date" +msgstr "Date de début" + +#: sncfgtfs/models.py:555 +msgid "End date" +msgstr "Date de fin" + +#: sncfgtfs/models.py:568 msgid "Calendar" msgstr "Calendrier" -#: sncfgtfs/models.py:534 +#: sncfgtfs/models.py:569 msgid "Calendars" msgstr "Calendriers" -#: sncfgtfs/models.py:553 +#: sncfgtfs/models.py:588 msgid "Date" msgstr "Date" -#: sncfgtfs/models.py:557 +#: sncfgtfs/models.py:592 msgid "Exception type" msgstr "Type d'exception" -#: sncfgtfs/models.py:571 +#: sncfgtfs/models.py:600 msgid "Calendar date" msgstr "Date du calendrier" -#: sncfgtfs/models.py:572 +#: sncfgtfs/models.py:601 msgid "Calendar dates" msgstr "Dates du calendrier" -#: sncfgtfs/models.py:586 +#: sncfgtfs/models.py:615 msgid "From stop" msgstr "Depuis l'arrêt" -#: sncfgtfs/models.py:593 +#: sncfgtfs/models.py:622 msgid "To stop" msgstr "Jusqu'à l'arrêt" -#: sncfgtfs/models.py:598 +#: sncfgtfs/models.py:627 msgid "Transfer type" msgstr "Type de correspondance" -#: sncfgtfs/models.py:604 +#: sncfgtfs/models.py:633 msgid "Minimum transfer time" msgstr "Temps de correspondance minimum" -#: sncfgtfs/models.py:609 +#: sncfgtfs/models.py:638 msgid "Transfer" msgstr "Correspondance" -#: sncfgtfs/models.py:610 +#: sncfgtfs/models.py:639 msgid "Transfers" msgstr "Correspondances" -#: sncfgtfs/models.py:617 +#: sncfgtfs/models.py:646 msgid "Feed publisher name" msgstr "Nom de l'éditeur du flux" -#: sncfgtfs/models.py:621 +#: sncfgtfs/models.py:650 msgid "Feed publisher URL" msgstr "URL de l'éditeur du flux" -#: sncfgtfs/models.py:626 +#: sncfgtfs/models.py:655 msgid "Feed language" msgstr "Langue du flux" -#: sncfgtfs/models.py:630 +#: sncfgtfs/models.py:659 msgid "Feed start date" msgstr "Date de début du flux" -#: sncfgtfs/models.py:634 +#: sncfgtfs/models.py:663 msgid "Feed end date" msgstr "Date de fin du flux" -#: sncfgtfs/models.py:639 +#: sncfgtfs/models.py:668 msgid "Feed version" msgstr "Version du flux" -#: sncfgtfs/models.py:643 +#: sncfgtfs/models.py:672 msgid "Feed info" msgstr "Information du flux" -#: sncfgtfs/models.py:644 +#: sncfgtfs/models.py:673 msgid "Feed infos" msgstr "Informations du flux" -#: sncfgtfs/models.py:662 +#: sncfgtfs/models.py:691 msgid "Start time" msgstr "Heure de début" -#: sncfgtfs/models.py:666 sncfgtfs/models.py:714 +#: sncfgtfs/models.py:695 sncfgtfs/models.py:743 msgid "Schedule relationship" msgstr "Relation de la planification" -#: sncfgtfs/models.py:675 sncfgtfs/models.py:685 +#: sncfgtfs/models.py:704 sncfgtfs/models.py:714 msgid "Trip update" msgstr "Mise à jour du trajet" -#: sncfgtfs/models.py:676 +#: sncfgtfs/models.py:705 msgid "Trip updates" msgstr "Mises à jour des trajets" -#: sncfgtfs/models.py:698 +#: sncfgtfs/models.py:727 msgid "Arrival delay" msgstr "Retard à l'arrivée" -#: sncfgtfs/models.py:706 +#: sncfgtfs/models.py:735 msgid "Departure delay" msgstr "Retard au départ" -#: sncfgtfs/models.py:723 +#: sncfgtfs/models.py:752 msgid "Stop time update" msgstr "Mise à jour du temps d'arrêt" -#: sncfgtfs/models.py:724 +#: sncfgtfs/models.py:753 msgid "Stop time updates" msgstr "Mises à jour des temps d'arrêt" diff --git a/sncfgtfs/management/commands/update_sncf_gtfs.py b/sncfgtfs/management/commands/update_sncf_gtfs.py index 1e3d4fb..1d6b52e 100644 --- a/sncfgtfs/management/commands/update_sncf_gtfs.py +++ b/sncfgtfs/management/commands/update_sncf_gtfs.py @@ -402,31 +402,3 @@ class Command(BaseCommand): version=feed_info_dict.get('feed_version', 1), ) ) - - # print(len(all_trips)) - # print(Trip.objects.count()) - # existing_trips = set(Trip.objects.filter( - # id__in=[trip.id for trip in all_trips]).values_list('id', flat=True)) - # new_trips = [trip.id for trip in all_trips if trip.id not in existing_trips] - # removed_trips = Trip.objects.exclude(id__in=[trip.id for trip in all_trips]) - # - # yes_ok, yes_not_ok, no_ok, no_not_ok = 0, 0, 0, 0 - # today = datetime.now().date() - # for removed_trip in removed_trips: - # trip_id = removed_trip.id.split(':')[0] - # service = removed_trip.service - # active_trip = service.dates.filter(date__gte=today, exception_type=1).exists() - # service_today = service.dates.count() == 1 and service.dates.filter(date="2024-02-05").exists() - # if trip_id != "IDFM": - # if any(tid.startswith(trip_id) for tid in new_trips): - # if active_trip: - # yes_ok += 1 - # else: - # yes_not_ok += 1 - # else: - # if active_trip: - # print("NOT FOUND WHILE VALID SERVICE", trip_id) - # no_not_ok += 1 - # else: - # no_ok += 1 - # print(yes_ok, yes_not_ok, no_ok, no_not_ok)