Changeset 43477 in vbox
- Timestamp:
- Oct 1, 2012 9:04:13 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/nls/VirtualBox_ru.ts
r43461 r43477 5148 5148 <message> 5149 5149 <source>IDE Controller</source> 5150 <translation >IDE контроллер</translation>5150 <translation type="obsolete">IDE контроллер</translation> 5151 5151 </message> 5152 5152 <message> 5153 5153 <source>SATA Controller</source> 5154 <translation >SATA контроллер</translation>5154 <translation type="obsolete">SATA контроллер</translation> 5155 5155 </message> 5156 5156 <message> 5157 5157 <source>SCSI Controller</source> 5158 <translation >SCSI контроллер</translation>5158 <translation type="obsolete">SCSI контроллер</translation> 5159 5159 </message> 5160 5160 <message> 5161 5161 <source>Floppy Controller</source> 5162 <translation >Floppy контроллер</translation>5162 <translation type="obsolete">Floppy контроллер</translation> 5163 5163 </message> 5164 5164 <message> … … 5280 5280 <message> 5281 5281 <source>SAS Controller</source> 5282 <translation >SAS контроллер</translation>5282 <translation type="obsolete">SAS контроллер</translation> 5283 5283 </message> 5284 5284 <message> … … 5407 5407 <source>Selects the port count of the SATA storage controller currently selected in the Storage Tree. This must be at least one more than the highest port number you need to use.</source> 5408 5408 <translation>Задаёт количество портов контроллера носителей информации типа SATA, выбранного в данный момент в дереве носителей информации. Это значение не может быть меньше, чем максимальный номер использованного порта + 1.</translation> 5409 </message> 5410 <message> 5411 <source>%1: %2</source> 5412 <comment>controller name wrapper</comment> 5413 <translation>%1: %2</translation> 5414 </message> 5415 <message> 5416 <source>Controller</source> 5417 <translation>Контроллер</translation> 5409 5418 </message> 5410 5419 </context> … … 9249 9258 <message> 9250 9259 <source>IDE Controller</source> 9251 <translation >IDE контроллер</translation>9260 <translation type="obsolete">IDE контроллер</translation> 9252 9261 </message> 9253 9262 <message> 9254 9263 <source>SATA Controller</source> 9255 <translation >SATA контроллер</translation>9264 <translation type="obsolete">SATA контроллер</translation> 9256 9265 </message> 9257 9266 <message> 9258 9267 <source>SCSI Controller</source> 9259 <translation >SCSI контроллер</translation>9268 <translation type="obsolete">SCSI контроллер</translation> 9260 9269 </message> 9261 9270 <message> 9262 9271 <source>Floppy Controller</source> 9263 <translation >Floppy контроллер</translation>9272 <translation type="obsolete">Floppy контроллер</translation> 9264 9273 </message> 9265 9274 <message> 9266 9275 <source>SAS Controller</source> 9267 <translation >SAS контроллер</translation>9276 <translation type="obsolete">SAS контроллер</translation> 9268 9277 </message> 9269 9278 <message> -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMInformationDlg.cpp
r42868 r43477 544 544 { 545 545 QString header = "<tr><td></td><td colspan=2><nobr>%1</nobr></td></tr>"; 546 storageStat += header.arg (ctrName); 546 QString strControllerNameWrapper = QApplication::translate("UIMachineSettingsStorage", "%1: %2", "controller name wrapper"); 547 storageStat += header.arg(strControllerNameWrapper.arg(QApplication::translate("UIMachineSettingsStorage", "Controller"), controller.GetName())); 547 548 int scsiIndex = 0; 548 549 foreach (const CMediumAttachment &attachment, attachments) -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r43449 r43477 1453 1453 const CStorageController &controller = controllers[i]; 1454 1454 /* Add controller information: */ 1455 item += QString(sSectionItemTpl3).arg(controller.GetName()); 1455 QString strControllerNameWrapper = QApplication::translate("UIMachineSettingsStorage", "%1: %2", "controller name wrapper"); 1456 item += QString(sSectionItemTpl3).arg(strControllerNameWrapper.arg(QApplication::translate("UIMachineSettingsStorage", "Controller"), controller.GetName())); 1456 1457 ++ rows; 1457 1458 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElements.cpp
r43223 r43477 439 439 { 440 440 /* Add controller information: */ 441 m_text << UITextTableLine(controller.GetName(), QString()); 441 QString strControllerNameWrapper = QApplication::translate("UIMachineSettingsStorage", "%1: %2", "controller name wrapper"); 442 m_text << UITextTableLine(strControllerNameWrapper.arg(QApplication::translate("UIMachineSettingsStorage", "Controller"), controller.GetName()), QString()); 442 443 fSomeInfo = true; 443 444 /* Populate map (its sorted!): */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r43459 r43477 541 541 QString ControllerItem::text() const 542 542 { 543 return ctrName(); 543 QString strControllerNameWrapper = UIMachineSettingsStorage::tr("%1: %2", "controller name wrapper"); 544 return strControllerNameWrapper.arg(UIMachineSettingsStorage::tr("Controller"), ctrName()); 544 545 } 545 546 … … 2307 2308 void UIMachineSettingsStorage::addIDEController() 2308 2309 { 2309 addControllerWrapper (generateUniqueName ( tr ("IDE Controller")), KStorageBus_IDE, KStorageControllerType_PIIX4);2310 addControllerWrapper (generateUniqueName ("IDE"), KStorageBus_IDE, KStorageControllerType_PIIX4); 2310 2311 } 2311 2312 2312 2313 void UIMachineSettingsStorage::addSATAController() 2313 2314 { 2314 addControllerWrapper (generateUniqueName ( tr ("SATA Controller")), KStorageBus_SATA, KStorageControllerType_IntelAhci);2315 addControllerWrapper (generateUniqueName ("SATA"), KStorageBus_SATA, KStorageControllerType_IntelAhci); 2315 2316 } 2316 2317 2317 2318 void UIMachineSettingsStorage::addSCSIController() 2318 2319 { 2319 addControllerWrapper (generateUniqueName ( tr ("SCSI Controller")), KStorageBus_SCSI, KStorageControllerType_LsiLogic);2320 addControllerWrapper (generateUniqueName ("SCSI"), KStorageBus_SCSI, KStorageControllerType_LsiLogic); 2320 2321 } 2321 2322 2322 2323 void UIMachineSettingsStorage::addFloppyController() 2323 2324 { 2324 addControllerWrapper (generateUniqueName ( tr ("Floppy Controller")), KStorageBus_Floppy, KStorageControllerType_I82078);2325 addControllerWrapper (generateUniqueName ("Floppy"), KStorageBus_Floppy, KStorageControllerType_I82078); 2325 2326 } 2326 2327 2327 2328 void UIMachineSettingsStorage::addSASController() 2328 2329 { 2329 addControllerWrapper (generateUniqueName ( tr ("SAS Controller")), KStorageBus_SAS, KStorageControllerType_LsiLogicSas);2330 addControllerWrapper (generateUniqueName ("SAS"), KStorageBus_SAS, KStorageControllerType_LsiLogicSas); 2330 2331 } 2331 2332 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r43041 r43477 304 304 case KStorageBus_IDE: 305 305 { 306 strControllerName = tr("IDE Controller");306 strControllerName = "IDE"; 307 307 ++m_iIDECount; 308 308 if (m_iIDECount > 1) … … 312 312 case KStorageBus_SATA: 313 313 { 314 strControllerName = tr("SATA Controller");314 strControllerName = "SATA"; 315 315 ++m_iSATACount; 316 316 if (m_iSATACount > 1) … … 320 320 case KStorageBus_SCSI: 321 321 { 322 strControllerName = tr("SCSI Controller");322 strControllerName = "SCSI"; 323 323 ++m_iSCSICount; 324 324 if (m_iSCSICount > 1) … … 328 328 case KStorageBus_Floppy: 329 329 { 330 strControllerName = tr("Floppy Controller");330 strControllerName = "Floppy"; 331 331 ++m_iFloppyCount; 332 332 if (m_iFloppyCount > 1) … … 336 336 case KStorageBus_SAS: 337 337 { 338 strControllerName = tr("SAS Controller");338 strControllerName = "SAS"; 339 339 ++m_iSASCount; 340 340 if (m_iSASCount > 1)
Note:
See TracChangeset
for help on using the changeset viewer.