Commit 7e56c5a9 authored by Fabio Bas's avatar Fabio Bas
Browse files

Added translation fix missing from #1001

parent 36a0d25c
...@@ -18,7 +18,7 @@ const QString GamesModel::getGameCreatedString(const int secs) const { ...@@ -18,7 +18,7 @@ const QString GamesModel::getGameCreatedString(const int secs) const {
else if (secs < SECS_PER_MIN * 5) else if (secs < SECS_PER_MIN * 5)
ret = tr("<5m ago"); ret = tr("<5m ago");
else if (secs < SECS_PER_HOUR) 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) { else if (secs < SECS_PER_MIN * 90) {
ret = tr("1hr %1m ago").arg(QString::number((secs / SECS_PER_MIN) - 60)); ret = tr("1hr %1m ago").arg(QString::number((secs / SECS_PER_MIN) - 60));
} else if (secs < SECS_PER_HOUR * 4) { } else if (secs < SECS_PER_HOUR * 4) {
......
...@@ -1297,7 +1297,7 @@ Would you like to change your database location setting?</source> ...@@ -1297,7 +1297,7 @@ Would you like to change your database location setting?</source>
</message> </message>
<message> <message>
<location filename="../src/gamesmodel.cpp" line="21"/> <location filename="../src/gamesmodel.cpp" line="21"/>
<source>m ago</source> <source>%1m ago</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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