Commit 82d8c724 authored by ctrlaltca's avatar ctrlaltca
Browse files

Merge pull request #1002 from ctrlaltca/refix_999

Added translation fix missing from #1001
parents 36a0d25c 7e56c5a9
......@@ -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) {
......
......@@ -1297,7 +1297,7 @@ Would you like to change your database location setting?</source>
</message>
<message>
<location filename="../src/gamesmodel.cpp" line="21"/>
<source>m ago</source>
<source>%1m ago</source>
<translation type="unfinished"></translation>
</message>
<message>
......
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