VirtualBox

Ignore:
Timestamp:
Oct 20, 2022 11:16:32 AM (2 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8310: Missed one important aspect in r154017; No need for NLS in that place anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotPane.cpp

    r97068 r97250  
    418418    else if (then.secsTo(now) > 60 * 60 * 24)
    419419    {
    420         strAge = tr("%1 (%2)", "date time (how long ago)")
     420        strAge = QString("%1 (%2)")
    421421                    .arg(QLocale::system().toString(then, QLocale::ShortFormat),
    422422                         UITranslator::daysToStringAgo(then.secsTo(now) / 60 / 60 / 24));
     
    425425    else if (then.secsTo(now) > 60 * 60)
    426426    {
    427         strAge = tr("%1 (%2)", "date time (how long ago)")
     427        strAge = QString("%1 (%2)")
    428428                    .arg(QLocale::system().toString(then, QLocale::ShortFormat),
    429429                         UITranslator::hoursToStringAgo(then.secsTo(now) / 60 / 60));
     
    432432    else if (then.secsTo(now) > 60)
    433433    {
    434         strAge = tr("%1 (%2)", "date time (how long ago)")
     434        strAge = QString("%1 (%2)")
    435435                    .arg(QLocale::system().toString(then, QLocale::ShortFormat),
    436436                         UITranslator::minutesToStringAgo(then.secsTo(now) / 60));
     
    439439    else
    440440    {
    441         strAge = tr("%1 (%2)", "date time (how long ago)")
     441        strAge = QString("%1 (%2)")
    442442                    .arg(QLocale::system().toString(then, QLocale::ShortFormat),
    443443                         UITranslator::secondsToStringAgo(then.secsTo(now)));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette