mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-16 03:14:31 -05:00
fixed header misc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2609 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
56da9a0f65
commit
6b2292e64f
@ -324,7 +324,7 @@ class misc : public QObject{
|
||||
int years = days / 365;
|
||||
days = days - years * 365;
|
||||
if(years > 1) {
|
||||
return tr("%1y %1d %2h %3m", "e.g: 2 years 2days 10hours 2minutes").arg(QString::fromUtf8(misc::toString(years).c_str())).arg(QString::fromUtf8(misc::toString(days).c_str())).arg(QString::fromUtf8(misc::toString(hours).c_str())).arg(QString::fromUtf8(misc::toString(minutes).c_str()));
|
||||
return tr("%1y %2d %3h %4m", "e.g: 2 years 2days 10hours 2minutes").arg(QString::fromUtf8(misc::toString(years).c_str())).arg(QString::fromUtf8(misc::toString(days).c_str())).arg(QString::fromUtf8(misc::toString(hours).c_str())).arg(QString::fromUtf8(misc::toString(minutes).c_str()));
|
||||
}
|
||||
return tr("Unknown");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user