Skip to content
GitLab
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
f0f0dea6
Commit
f0f0dea6
authored
Dec 03, 2021
by
Kai Uwe Broulik
🍇
Committed by
Volker Krause
Dec 03, 2021
Browse files
[TripGroupDelegate] Use plural handling for currencies
"Currencies: CAD" looks weird.
parent
ea9aa62b
Pipeline
#105011
passed with stage
in 3 minutes and 8 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/app/TripGroupDelegate.qml
View file @
f0f0dea6
...
...
@@ -106,7 +106,7 @@ Kirigami.AbstractCard {
QQC2.Label
{
readonly
property
var
currencies
:
TripGroupInfoProvider
.
currencies
(
tripGroup
,
Country
.
fromAlpha2
(
Settings
.
homeCountryIsoCode
).
currencyCode
)
text
:
visible
?
i18n
(
"
Currenc
ies: %1
"
,
currencies
.
join
(
"
,
"
))
:
""
text
:
currencies
.
length
>
0
?
i18n
p
(
"
Currenc
y: %2
"
,
"
Currencies: %2
"
,
currencies
.
length
,
currencies
.
join
(
"
,
"
))
:
""
visible
:
currencies
.
length
>
0
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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