Changeset 30210 in vbox
- Timestamp:
- Jun 15, 2010 4:24:38 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
-
widgets/VBoxApplianceEditorWgt.cpp (modified) (2 diffs)
-
wizards/newvm/UINewVMWzd.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxApplianceEditorWgt.cpp
r29484 r30210 217 217 } 218 218 case KVirtualSystemDescriptionType_OS: v = vboxGlobal().vmGuestOSTypeDescription (mConfigValue); break; 219 case KVirtualSystemDescriptionType_Memory: v = mConfigValue + " " + VBox ApplianceEditorWgt::tr ("MB", "size suffix MBytes=1024 KBytes"); break;219 case KVirtualSystemDescriptionType_Memory: v = mConfigValue + " " + VBoxGlobal::tr ("MB", "size suffix MBytes=1024 KBytes"); break; 220 220 case KVirtualSystemDescriptionType_SoundCard: v = vboxGlobal().toString (static_cast<KAudioControllerType> (mConfigValue.toInt())); break; 221 221 case KVirtualSystemDescriptionType_NetworkAdapter: v = vboxGlobal().toString (static_cast<KNetworkAdapterType> (mConfigValue.toInt())); break; … … 397 397 QSpinBox *e = new QSpinBox (aParent); 398 398 e->setRange (VBoxApplianceEditorWgt::minGuestRAM(), VBoxApplianceEditorWgt::maxGuestRAM()); 399 e->setSuffix (" " + VBox ApplianceEditorWgt::tr ("MB", "size suffix MBytes=1024 KBytes"));399 e->setSuffix (" " + VBoxGlobal::tr ("MB", "size suffix MBytes=1024 KBytes")); 400 400 editor = e; 401 401 break; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r30192 r30210 283 283 284 284 /* Translate minimum & maximum 'ram' field values */ 285 m_pRamMin->setText(QString("%1 %2").arg(m_pRamSlider->minRAM()).arg( tr("MB", "size suffix MBytes=1024 KBytes")));286 m_pRamMax->setText(QString("%1 %2").arg(m_pRamSlider->maxRAM()).arg( tr("MB", "size suffix MBytes=1024 KBytes")));285 m_pRamMin->setText(QString("%1 %2").arg(m_pRamSlider->minRAM()).arg(VBoxGlobal::tr("MB", "size suffix MBytes=1024 KBytes"))); 286 m_pRamMax->setText(QString("%1 %2").arg(m_pRamSlider->maxRAM()).arg(VBoxGlobal::tr("MB", "size suffix MBytes=1024 KBytes"))); 287 287 } 288 288 … … 590 590 .arg(tr("Name", "summary"), name) 591 591 .arg(tr("OS Type", "summary"), type) 592 .arg(tr("Base Memory", "summary"), ram, tr("MB", "size suffix MBytes=1024KBytes"))592 .arg(tr("Base Memory", "summary"), ram, VBoxGlobal::tr("MB", "size suffix MBytes=1024KBytes")) 593 593 ; 594 594 /* Feat summary to 3 lines */
Note:
See TracChangeset
for help on using the changeset viewer.

