mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #8600 from nextcloud/rakekniven-patch-1
fix(i18n): Use SI symbol for minute
This commit is contained in:
commit
c11346def8
@ -441,10 +441,10 @@ QString Utility::timeAgoInWords(const QDateTime &dt, const QDateTime &from)
|
||||
if (secs < 5) {
|
||||
return QObject::tr("now");
|
||||
} else {
|
||||
return QObject::tr("1m", "one minute after activity date and time");
|
||||
return QObject::tr("1min", "one minute after activity date and time");
|
||||
}
|
||||
} else {
|
||||
return (QObject::tr("%nm", "delay in minutes after an activity", minutes));
|
||||
return (QObject::tr("%nmin", "delay in minutes after an activity", minutes));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -164,7 +164,7 @@ private slots:
|
||||
|
||||
earlyTS = earlyTS.addSecs(-6);
|
||||
s = timeAgoInWords(earlyTS, laterTS );
|
||||
QCOMPARE(s, QLatin1String("1m"));
|
||||
QCOMPARE(s, QLatin1String("1min"));
|
||||
}
|
||||
|
||||
void testFsCasePreserving()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user