Changeset 97250 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 20, 2022 11:16:32 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotPane.cpp
r97068 r97250 418 418 else if (then.secsTo(now) > 60 * 60 * 24) 419 419 { 420 strAge = tr("%1 (%2)", "date time (how long ago)")420 strAge = QString("%1 (%2)") 421 421 .arg(QLocale::system().toString(then, QLocale::ShortFormat), 422 422 UITranslator::daysToStringAgo(then.secsTo(now) / 60 / 60 / 24)); … … 425 425 else if (then.secsTo(now) > 60 * 60) 426 426 { 427 strAge = tr("%1 (%2)", "date time (how long ago)")427 strAge = QString("%1 (%2)") 428 428 .arg(QLocale::system().toString(then, QLocale::ShortFormat), 429 429 UITranslator::hoursToStringAgo(then.secsTo(now) / 60 / 60)); … … 432 432 else if (then.secsTo(now) > 60) 433 433 { 434 strAge = tr("%1 (%2)", "date time (how long ago)")434 strAge = QString("%1 (%2)") 435 435 .arg(QLocale::system().toString(then, QLocale::ShortFormat), 436 436 UITranslator::minutesToStringAgo(then.secsTo(now) / 60)); … … 439 439 else 440 440 { 441 strAge = tr("%1 (%2)", "date time (how long ago)")441 strAge = QString("%1 (%2)") 442 442 .arg(QLocale::system().toString(then, QLocale::ShortFormat), 443 443 UITranslator::secondsToStringAgo(then.secsTo(now)));
Note:
See TracChangeset
for help on using the changeset viewer.