Commit de6019e5 authored by Pino Toscano's avatar Pino Toscano
Browse files

i18n: use plural form where needed

Spotted by Karl Ove Hufthammer's eagle eye.
parent 288db699
......@@ -93,7 +93,7 @@ Kirigami.AbstractCard
starSize: delegateArea.compact ? summary.font.pointSize : head.font.pointSize
}
QQC2.Label {
text: delegateArea.application.rating ? i18n("%1 ratings", delegateArea.application.rating.ratingCount) : i18n("No ratings yet")
text: delegateArea.application.rating ? i18np("%1 rating", "%1 ratings", delegateArea.application.rating.ratingCount) : i18n("No ratings yet")
opacity: 0.5
}
}
......
......@@ -123,7 +123,7 @@ DiscoverPage {
starSize: summary.font.pointSize
}
QQC2.Label {
text: appInfo.application.rating ? i18n("%1 ratings", appInfo.application.rating.ratingCount) : i18n("No ratings yet")
text: appInfo.application.rating ? i18np("%1 rating", "%1 ratings", appInfo.application.rating.ratingCount) : i18n("No ratings yet")
opacity: 0.5
}
}
......
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