diff --git a/cockatrice/src/gamesmodel.cpp b/cockatrice/src/gamesmodel.cpp index 94610647..d88fafbe 100644 --- a/cockatrice/src/gamesmodel.cpp +++ b/cockatrice/src/gamesmodel.cpp @@ -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) { diff --git a/cockatrice/translations/cockatrice_en.ts b/cockatrice/translations/cockatrice_en.ts index 020c3753..8733bee3 100644 --- a/cockatrice/translations/cockatrice_en.ts +++ b/cockatrice/translations/cockatrice_en.ts @@ -1297,7 +1297,7 @@ Would you like to change your database location setting? - m ago + %1m ago