diff --git a/src/gui/userstatusselectormodel.cpp b/src/gui/userstatusselectormodel.cpp index da0b44c1523c..1fad8903c9df 100644 --- a/src/gui/userstatusselectormodel.cpp +++ b/src/gui/userstatusselectormodel.cpp @@ -409,21 +409,21 @@ QString UserStatusSelectorModel::timeDifferenceToString(int differenceSecs) cons if (minutesLeft == 1) { return tr("1 minute"); } else { - return tr("%1 minutes").arg(minutesLeft); + return tr("%1 minutes", "", minutesLeft).arg(minutesLeft); } } else if (differenceSecs < 60 * 60 * 24) { const auto hoursLeft = std::ceil(differenceSecs / 60.0 / 60.0); if (hoursLeft == 1) { return tr("1 hour"); } else { - return tr("%1 hours").arg(hoursLeft); + return tr("%1 hours", "", hoursLeft).arg(hoursLeft); } } else { const auto daysLeft = std::ceil(differenceSecs / 60.0 / 60.0 / 24.0); if (daysLeft == 1) { return tr("1 day"); } else { - return tr("%1 days").arg(daysLeft); + return tr("%1 days", "", daysLeft).arg(daysLeft); } } }