Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
d8a2c064
Commit
d8a2c064
authored
Nov 05, 2021
by
Volker Krause
Browse files
Display rental vehicle journey sections correctly
parent
8ddeff3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/JourneySectionDelegate.qml
View file @
d8a2c064
...
...
@@ -101,7 +101,7 @@ Kirigami.AbstractListItem {
case
JourneySection
.
Waiting
:
return
i18n
(
"
Wait (%1)
"
,
Localizer
.
formatDuration
(
modelData
.
duration
))
case
JourneySection
.
RentedVehicle
:
return
i18n
(
"
%1 (%
2
)
"
,
modelData
.
rentalVehicle
.
network
,
Localizer
.
formatDuration
(
modelData
.
duration
));
return
i18n
(
"
%1
%2
(%
3
)
"
,
modelData
.
rentalVehicle
.
network
.
name
,
Localizer
.
formatDistance
(
modelData
.
distance
)
,
Localizer
.
formatDuration
(
modelData
.
duration
));
case
JourneySection
.
IndividualTransport
:
return
i18n
(
"
Drive %1 (%2)
"
,
Localizer
.
formatDistance
(
modelData
.
distance
),
Localizer
.
formatDuration
(
modelData
.
duration
));
return
"
???
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment