Changeset 96430 in vbox
- Timestamp:
- Aug 23, 2022 8:37:08 AM (2 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/activity/vmactivity/UIVMActivityMonitor.cpp
r96426 r96430 1212 1212 arg(QDateTime::currentDateTime().toString("dd-MM-yyyy_hh-mm-ss")); 1213 1213 QString strFileName = QIFileDialog::getSaveFileName(strStartFileName,"",this, 1214 Q String("%1 \"%2\"")1215 .arg(QApplication::translate("UIVMInformationDialog", "Export activity data of the machine"))1216 .arg(m_comMachine.GetName()));1214 QApplication::translate("UIVMInformationDialog", 1215 "Export activity data of the machine \"%1\"") 1216 .arg(m_comMachine.GetName())); 1217 1217 QFile dataFile(strFileName); 1218 1218 if (dataFile.open(QFile::WriteOnly | QFile::Truncate)) -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIErrorString.cpp
r96407 r96430 108 108 "<tr><td>%2</td><td><tt>%3</tt></td></tr></table>") 109 109 .arg(QApplication::palette().color(QPalette::Active, QPalette::Window).name(QColor::HexRgb)) 110 .arg(QApplication::translate("UIErrorString", "Result Code: 110 .arg(QApplication::translate("UIErrorString", "Result Code:", "error info")) 111 111 .arg(formatRCFull(comProgress.GetResultCode())) 112 112 .prepend("<!--EOM-->") /* move to details */; … … 192 192 { 193 193 strFormatted += QString("<tr><td>%1</td><td><tt>%2</tt></td></tr>") 194 .arg(QApplication::translate("UIErrorString", "Result Code: 194 .arg(QApplication::translate("UIErrorString", "Result Code:", "error info")) 195 195 .arg(formatRCFull(comInfo.resultCode())); 196 196 } … … 198 198 if (fHaveComponent) 199 199 strFormatted += QString("<tr><td>%1</td><td>%2</td></tr>") 200 .arg(QApplication::translate("UIErrorString", "Component: 200 .arg(QApplication::translate("UIErrorString", "Component:", "error info"), comInfo.component()); 201 201 202 202 if (fHaveInterfaceID) … … 206 206 s = comInfo.interfaceName() + ' ' + s; 207 207 strFormatted += QString("<tr><td>%1</td><td>%2</td></tr>") 208 .arg(QApplication::translate("UIErrorString", "Interface: 208 .arg(QApplication::translate("UIErrorString", "Interface:", "error info"), s); 209 209 } 210 210 … … 215 215 s = comInfo.calleeName() + ' ' + s; 216 216 strFormatted += QString("<tr><td>%1</td><td>%2</td></tr>") 217 .arg(QApplication::translate("UIErrorString", "Callee: 217 .arg(QApplication::translate("UIErrorString", "Callee:", "error info"), s); 218 218 } 219 219 } … … 223 223 { 224 224 strFormatted += QString("<tr><td>%1</td><td><tt>%2</tt></td></tr>") 225 .arg(QApplication::translate("UIErrorString", "Callee RC: 225 .arg(QApplication::translate("UIErrorString", "Callee RC:", "error info")) 226 226 .arg(formatRCFull(wrapperRC)); 227 227 } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r96407 r96430 1790 1790 "</table>") 1791 1791 .arg(QApplication::palette().color(QPalette::Active, QPalette::Window).name(QColor::HexRgb)) 1792 .arg(tr("<nobr>Error ID: 1793 .arg(tr("Severity: 1792 .arg(tr("<nobr>Error ID:</nobr>", "runtime error info"), strErrorId) 1793 .arg(tr("Severity:", "runtime error info"), severity); 1794 1794 if (!formatted.isEmpty()) 1795 1795 formatted = "<qt>" + formatted + "</qt>"; -
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
r96407 r96430 2764 2764 2765 2765 if (fileToDelete.remove(strFilePath)) 2766 sigStatusBarMessage( QString("%1 %2 %3").arg(UISoftKeyboard::tr("The file ")).arg(strFilePath).arg(UISoftKeyboard::tr(" has been deleted")));2766 sigStatusBarMessage(UISoftKeyboard::tr("The file %1 has been deleted").arg(strFilePath)); 2767 2767 else 2768 sigStatusBarMessage( QString("%1 %2 %3").arg(UISoftKeyboard::tr("Deleting the file ")).arg(strFilePath).arg(UISoftKeyboard::tr(" has failed")));2768 sigStatusBarMessage(UISoftKeyboard::tr("Deleting the file %1 has failed").arg(strFilePath)); 2769 2769 } 2770 2770 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp
r96407 r96430 546 546 QString strType = uiCommon().vmGuestOSTypeDescription(pWizard->detectedOSTypeId()); 547 547 if (!pWizard->isUnattendedInstallSupported()) 548 strMessage = QString("%1 %2. %3").arg(UIWizardNewVM::tr("Detected OS type: ")).arg(strType) 549 .arg(UIWizardNewVM::tr("This OS type cannot be installed unattendedly. The install " 550 "needs to be started manually.")); 548 strMessage = UIWizardNewVM::tr("Detected OS type: %1. %2") 549 .arg(strType) 550 .arg(UIWizardNewVM::tr("This OS type cannot be installed unattendedly. " 551 "The install needs to be started manually.")); 551 552 else if (pWizard->skipUnattendedInstall()) 552 strMessage = UIWizardNewVM::tr("You have selected to skip unattended guest OS install, the guest OS will need to be installed manually."); 553 strMessage = UIWizardNewVM::tr("You have selected to skip unattended guest OS install, " 554 "the guest OS will need to be installed manually."); 553 555 else 554 strMessage = QString("%1 %2. %3").arg(UIWizardNewVM::tr("Detected OS type: ")).arg(strType) 555 .arg(UIWizardNewVM::tr("This OS type can be installed unattendedly. The install " 556 "will start after this wizard is closed.")); 556 strMessage = UIWizardNewVM::tr("Detected OS type: %1. %2") 557 .arg(strType) 558 .arg(UIWizardNewVM::tr("This OS type can be installed unattendedly. " 559 "The install will start after this wizard is closed.")); 557 560 } 558 561
Note:
See TracChangeset
for help on using the changeset viewer.