mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Added translation fix missing from #1001
This commit is contained in:
parent
36a0d25ceb
commit
7e56c5a9c6
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ const QString GamesModel::getGameCreatedString(const int secs) const {
|
|||
else if (secs < SECS_PER_MIN * 5)
|
||||
ret = tr("<5m ago");
|
||||
else if (secs < SECS_PER_HOUR)
|
||||
ret = QString::number(secs / SECS_PER_MIN).append(tr("m ago"));
|
||||
ret = tr("%1m ago").arg(QString::number(secs / SECS_PER_MIN));
|
||||
else if (secs < SECS_PER_MIN * 90) {
|
||||
ret = tr("1hr %1m ago").arg(QString::number((secs / SECS_PER_MIN) - 60));
|
||||
} else if (secs < SECS_PER_HOUR * 4) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue