Skip to content

Commit

Permalink
GTFS validator: Fix unusable_trip display (#4434)
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine Augusti <[email protected]>
  • Loading branch information
ptitfred and AntoineAugusti authored Feb 5, 2025
1 parent c5af607 commit 926185a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/transport/lib/validators/gtfs_transport_validator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ defmodule Transport.Validators.GTFSTransport do
"InvalidShapeId" => dgettext("gtfs-transport-validator", "Invalid shape ID"),
"UnusedShapeId" => dgettext("gtfs-transport-validator", "Unused shape ID"),
"SubFolder" => dgettext("gtfs-transport-validator", "Files in a subfolder"),
"NegativeStopDuration" => dgettext("gtfs-transport-validator", "Negative stop duration")
"NegativeStopDuration" => dgettext("gtfs-transport-validator", "Negative stop duration"),
"UnusableTrip" => dgettext("gtfs-transport-validator", "Unusable trip")
}

@spec gtfs_outdated?(any()) :: boolean | nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ msgstr ""
msgid "Negative stop duration"
msgstr ""

#, elixir-autogen, elixir-format
msgid "Unusable trip"
msgstr ""

#, elixir-autogen, elixir-format, fuzzy
msgid "Error"
msgid_plural "Errors"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ msgstr "Fichiers dans un sous-dossier"
msgid "Negative stop duration"
msgstr "Temps d'arrêt négatif"

#, elixir-autogen, elixir-format
msgid "Unusable trip"
msgstr "Trajet non utilisable"

#, elixir-autogen, elixir-format, fuzzy
msgid "Error"
msgid_plural "Errors"
Expand Down
4 changes: 4 additions & 0 deletions apps/transport/priv/gettext/gtfs-transport-validator.pot
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ msgstr ""
msgid "Negative stop duration"
msgstr ""

#, elixir-autogen, elixir-format
msgid "Unusable trip"
msgstr ""

#, elixir-autogen, elixir-format
msgid "Error"
msgid_plural "Errors"
Expand Down

0 comments on commit 926185a

Please sign in to comment.