Changeset 28732 in vbox
- Timestamp:
- Apr 26, 2010 8:14:01 AM (15 years ago)
- 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 220 220 221 221 /* Setup size-editor field */ 222 m_pSizeEditor->setFixedWidthByText("88888.88 M B");222 m_pSizeEditor->setFixedWidthByText("88888.88 MiB"); 223 223 m_pSizeEditor->setAlignment(Qt::AlignRight); 224 224 m_pSizeEditor->setValidator(new QRegExpValidator(QRegExp(vboxGlobal().sizeRegexp()), this)); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r28429 r28732 281 281 QString strRecommendedRAM = field("type").value<CGuestOSType>().isNull() ? QString() : 282 282 QString::number(field("type").value<CGuestOSType>().GetRecommendedRAM()); 283 m_pPage3Text2->setText(tr("The recommended base memory size is <b>%1</b> M B.").arg(strRecommendedRAM));283 m_pPage3Text2->setText(tr("The recommended base memory size is <b>%1</b> MiB.").arg(strRecommendedRAM)); 284 284 285 285 /* Translate minimum & maximum 'ram' field values */ 286 m_pRamMin->setText(QString("%1 %2").arg(m_pRamSlider->minRAM()).arg(tr("M B", "megabytes")));287 m_pRamMax->setText(QString("%1 %2").arg(m_pRamSlider->maxRAM()).arg(tr("M B", "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"))); 288 288 } 289 289 … … 374 374 QString strRecommendedHDD = field("type").value<CGuestOSType>().isNull() ? QString() : 375 375 QString::number(field("type").value<CGuestOSType>().GetRecommendedHDD()); 376 m_pPage4Text2->setText (tr ("The recommended size of the boot hard disk is <b>%1</b> M B.").arg (strRecommendedHDD));376 m_pPage4Text2->setText (tr ("The recommended size of the boot hard disk is <b>%1</b> MiB.").arg (strRecommendedHDD)); 377 377 } 378 378 … … 585 585 .arg(tr("Name", "summary"), name) 586 586 .arg(tr("OS Type", "summary"), type) 587 .arg(tr("Base Memory", "summary"), ram, tr("M B", "megabytes"))587 .arg(tr("Base Memory", "summary"), ram, tr("MiB", "size suffix MiBytes")) 588 588 ; 589 589 /* Feat summary to 3 lines */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzdPage3.ui
r26079 r28732 96 96 <widget class="QLabel" name="m_pRamUnits"> 97 97 <property name="text"> 98 <string>M B</string>98 <string>MiB</string> 99 99 </property> 100 100 </widget>
Note:
See TracChangeset
for help on using the changeset viewer.