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
KItinerary
Commits
79c30921
Commit
79c30921
authored
May 22, 2021
by
Volker Krause
Browse files
Polish translated messages
Consistent casing, add contexts where needed.
parent
d7f54cf1
Pipeline
#62789
passed with stages
in 12 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib/calendarhandler.cpp
View file @
79c30921
...
...
@@ -247,7 +247,7 @@ static void fillFlightReservation(const QVector<QVariant> &reservations, const K
desc
.
push_back
(
i18n
(
"Boarding time: %1"
,
QLocale
().
toString
(
boardingTime
.
time
(),
QLocale
::
ShortFormat
)));
}
if
(
!
departureGate
.
isEmpty
())
{
desc
.
push_back
(
i18n
(
"Departure gate: %1"
,
departureGate
));
desc
.
push_back
(
i18n
c
(
"flight departure gate"
,
"Departure gate: %1"
,
departureGate
));
}
for
(
const
auto
&
r
:
reservations
)
{
...
...
@@ -461,7 +461,7 @@ static void fillFoodReservation(const FoodEstablishmentReservation &reservation,
QStringList
desc
;
if
(
reservation
.
partySize
()
>
0
)
{
desc
.
push_back
(
i18n
(
"Number
O
f
P
eople: %1"
,
reservation
.
partySize
()));
desc
.
push_back
(
i18n
(
"Number
o
f
p
eople: %1"
,
reservation
.
partySize
()));
}
if
(
!
reservation
.
reservationNumber
().
isEmpty
())
{
desc
.
push_back
(
i18n
(
"Reservation reference: %1"
,
reservation
.
reservationNumber
()));
...
...
@@ -478,7 +478,7 @@ static void fillRentalCarReservation(const RentalCarReservation &reservation, co
const
auto
rentalCalPickup
=
reservation
.
pickupLocation
();
const
auto
addressPickUp
=
rentalCalPickup
.
address
();
const
auto
rentalCar
=
reservation
.
reservationFor
().
value
<
RentalCar
>
();
event
->
setSummary
(
i18n
(
"Rental
C
ar reservation: %1"
,
rentalCar
.
name
()));
event
->
setSummary
(
i18n
(
"Rental
c
ar reservation: %1"
,
rentalCar
.
name
()));
event
->
setLocation
(
formatAddressSingleLine
(
addressPickUp
));
fillGeoPosition
(
rentalCalPickup
,
event
);
...
...
@@ -486,14 +486,13 @@ static void fillRentalCarReservation(const RentalCarReservation &reservation, co
event
->
setDtEnd
(
reservation
.
dropoffTime
());
event
->
setAllDay
(
false
);
event
->
setTransparency
(
KCalendarCore
::
Event
::
Transparent
);
event
->
setSummary
(
i18n
(
"Rent car reservation: %1"
,
rentalCar
.
name
()));
const
QString
pickUpAddress
=
formatAddress
(
addressPickUp
);
const
auto
rentalCalDropOff
=
reservation
.
dropoffLocation
();
const
auto
addressDropOff
=
rentalCalDropOff
.
address
();
const
QString
dropAddress
=
formatAddress
(
addressDropOff
);
const
QString
description
=
i18n
(
"Reservation reference: %1
\n
Under name: %2
\n\n
Pick
U
p location: %3
\n\n
Dropoff
L
ocation: %4"
,
const
QString
description
=
i18n
(
"Reservation reference: %1
\n
Under name: %2
\n\n
Pick
u
p location: %3
\n\n
Dropoff
l
ocation: %4"
,
reservation
.
reservationNumber
(),
reservation
.
underName
().
value
<
KItinerary
::
Person
>
().
name
(),
pickUpAddress
,
...
...
@@ -518,7 +517,7 @@ static void fillTaxiReservation(const TaxiReservation &reservation, const KCalen
//TODO event->setSummary(i18n("Rent car reservation: %1", rentalCar.name()));
const
QString
pickUpAddress
=
formatAddress
(
addressPickUp
);
const
QString
description
=
i18n
(
"Reservation reference: %1
\n
Under name: %2
\n
Pick
U
p location: %3"
,
const
QString
description
=
i18n
(
"Reservation reference: %1
\n
Under name: %2
\n
Pick
u
p location: %3"
,
reservation
.
reservationNumber
(),
reservation
.
underName
().
value
<
KItinerary
::
Person
>
().
name
(),
pickUpAddress
);
...
...
Write
Preview
Markdown
is supported
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