VirtualBox

Changeset 28732 in vbox


Ignore:
Timestamp:
Apr 26, 2010 8:14:01 AM (15 years ago)
Author:
vboxsync
Message:

Frontends/VirtualBox: forgotten files in previous IEC unit prefix fix

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWzd.cpp

    r28644 r28732  
    220220
    221221    /* Setup size-editor field */
    222     m_pSizeEditor->setFixedWidthByText("88888.88 MB");
     222    m_pSizeEditor->setFixedWidthByText("88888.88 MiB");
    223223    m_pSizeEditor->setAlignment(Qt::AlignRight);
    224224    m_pSizeEditor->setValidator(new QRegExpValidator(QRegExp(vboxGlobal().sizeRegexp()), this));
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp

    r28429 r28732  
    281281    QString strRecommendedRAM = field("type").value<CGuestOSType>().isNull() ? QString() :
    282282                                QString::number(field("type").value<CGuestOSType>().GetRecommendedRAM());
    283     m_pPage3Text2->setText(tr("The recommended base memory size is <b>%1</b> MB.").arg(strRecommendedRAM));
     283    m_pPage3Text2->setText(tr("The recommended base memory size is <b>%1</b> MiB.").arg(strRecommendedRAM));
    284284
    285285    /* Translate minimum & maximum 'ram' field values */
    286     m_pRamMin->setText(QString("%1 %2").arg(m_pRamSlider->minRAM()).arg(tr("MB", "megabytes")));
    287     m_pRamMax->setText(QString("%1 %2").arg(m_pRamSlider->maxRAM()).arg(tr("MB", "megabytes")));
     286    m_pRamMin->setText(QString("%1 %2").arg(m_pRamSlider->minRAM()).arg(tr("MiB", "size suffix MiBytes")));
     287    m_pRamMax->setText(QString("%1 %2").arg(m_pRamSlider->maxRAM()).arg(tr("MiB", "size suffix MiBytes")));
    288288}
    289289
     
    374374    QString strRecommendedHDD = field("type").value<CGuestOSType>().isNull() ? QString() :
    375375                                QString::number(field("type").value<CGuestOSType>().GetRecommendedHDD());
    376     m_pPage4Text2->setText (tr ("The recommended size of the boot hard disk is <b>%1</b> MB.").arg (strRecommendedHDD));
     376    m_pPage4Text2->setText (tr ("The recommended size of the boot hard disk is <b>%1</b> MiB.").arg (strRecommendedHDD));
    377377}
    378378
     
    585585    .arg(tr("Name", "summary"), name)
    586586    .arg(tr("OS Type", "summary"), type)
    587     .arg(tr("Base Memory", "summary"), ram, tr("MB", "megabytes"))
     587    .arg(tr("Base Memory", "summary"), ram, tr("MiB", "size suffix MiBytes"))
    588588    ;
    589589    /* Feat summary to 3 lines */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzdPage3.ui

    r26079 r28732  
    9696       <widget class="QLabel" name="m_pRamUnits">
    9797        <property name="text">
    98          <string>MB</string>
     98         <string>MiB</string>
    9999        </property>
    100100       </widget>
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