Commit f0f0dea6 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇 Committed by Volker Krause
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
......@@ -106,7 +106,7 @@ Kirigami.AbstractCard {
QQC2.Label {
readonly property var currencies: TripGroupInfoProvider.currencies(tripGroup, Country.fromAlpha2(Settings.homeCountryIsoCode).currencyCode)
text: visible ? i18n("Currencies: %1", currencies.join(", ")) : ""
text: currencies.length > 0 ? i18np("Currency: %2", "Currencies: %2", currencies.length, currencies.join(", ")) : ""
visible: currencies.length > 0
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment