From a68b035b03d0d1df3ba5851ec6632196021a5de0 Mon Sep 17 00:00:00 2001
From: André Fabian Silva Delgado
Could not find the VirtualBox Guest Additions " -- "CD image file.
Do you wish to " -- "download this CD image from the Internet?
")); --} -- --void UIMessageCenter::cannotMountGuestAdditions(const QString &strMachineName) --{ -- message(mainMachineWindowShown(), Error, -- tr("Could not insert the VirtualBox Guest Additions " -- "installer CD image into the virtual machine %1, as the machine " -- "has no CD/DVD-ROM drives. Please add a drive using the " -- "storage page of the virtual machine settings dialog.
") -- .arg(strMachineName)); --} -- --bool UIMessageCenter::confirmDownloadAdditions(const QString &strUrl, qulonglong uSize) --{ -- QLocale loc(VBoxGlobal::languageId()); -- return messageOkCancel(networkManagerOrMainMachineWindowShown(), Question, -- tr("Are you sure you want to download the VirtualBox "
-- "Guest Additions CD image from "
-- "
The VirtualBox Guest Additions CD image has been "
-- "successfully downloaded from "
-- "
Do you wish to register this CD image and mount it " -- "on the virtual CD/DVD drive?
") -- .arg(strUrl).arg(strUrl).arg(strSrc), -- 0, /* pcszAutoConfirmId */ -- tr("Mount", "additions")); --} -- --void UIMessageCenter::warnAboutAdditionsCantBeSaved(const QString &strTarget) --{ -- message(networkManagerOrMainMachineWindowShown(), Error, -- tr("Failed to save the downloaded file as
Could not find the VirtualBox User Manual "
-- "
Do you wish to " -- "download this file from the Internet?
") -- .arg(strMissedLocation), -- 0, /* Auto-confirm Id */ -- tr("Download", "additions")); --} -- --bool UIMessageCenter::confirmUserManualDownload(const QString &strURL, qulonglong uSize) --{ -- QLocale loc(VBoxGlobal::languageId()); -- return messageOkCancel(networkManagerOrMainWindowShown(), Question, -- tr("Are you sure you want to download the VirtualBox "
-- "User Manual from "
-- "
The VirtualBox User Manual has been "
-- "successfully downloaded from "
-- "
The VirtualBox User Manual has been "
-- "successfully downloaded from "
-- "
Please choose another location for that file.
") -- .arg(strURL).arg(strURL).arg(strTarget)); --} -- --bool UIMessageCenter::proposeDownloadExtensionPack(const QString &strExtPackName, const QString &strExtPackVersion) --{ -- return messageOkCancel(mainWindowShown(), -- Question, -- tr("You have an old version (%1) of the
Do you wish to download latest one from the Internet?
") -- .arg(strExtPackVersion).arg(strExtPackName), -- 0, /* Auto-confirm Id */ -- tr("Download", "extension pack")); --} -- --bool UIMessageCenter::requestUserDownloadExtensionPack(const QString &strExtPackName, const QString &strExtPackVersion, const QString &strVBoxVersion) --{ -- return message(mainWindowShown(), Info, -- tr("You have version %1 of the
You should download and install version %3 of this extension pack from Oracle!
") -- .arg(strExtPackVersion).arg(strExtPackName).arg(strVBoxVersion), -- 0, /* Auto-confirm Id */ -- QIMessageBox::Ok | QIMessageBox::Default, -- 0, -- 0, -- tr("Ok", "extension pack")); --} -- --bool UIMessageCenter::confirmDownloadExtensionPack(const QString &strExtPackName, const QString &strURL, qulonglong uSize) --{ -- QLocale loc(VBoxGlobal::languageId()); -- return messageOkCancel(networkManagerOrMainWindowShown(), Question, -- tr("Are you sure you want to download the
The
Do you wish to install this extension pack?
") -- .arg(strExtPackName, strFrom, strTo), -- 0, /* Auto-confirm Id */ -- tr ("Install", "extension pack")); --} -- --void UIMessageCenter::warnAboutExtentionPackCantBeSaved(const QString &strExtPackName, const QString &strFrom, const QString &strTo) --{ -- message(networkManagerOrMainWindowShown(), Error, -- tr("The
Please choose another location for that file.
") -- .arg(strExtPackName, strFrom, strTo)); --} -- - void UIMessageCenter::cannotConnectRegister(QWidget *pParent, - const QString &strUrl, - const QString &strReason) -@@ -2572,162 +2418,6 @@ - formatErrorInfo(progress.GetErrorInfo())); - } - --void UIMessageCenter::cannotUpdateGuestAdditions(const CProgress &progress, -- QWidget *pParent /* = NULL */) const --{ -- AssertWrapperOk(progress); -- -- message(pParent ? pParent : mainWindowShown(), -- Error, -- tr("Failed to update Guest Additions. The Guest Additions installation image will be mounted to provide a manual installation."), -- formatErrorInfo(progress.GetErrorInfo())); --} -- --void UIMessageCenter::cannotOpenExtPack(const QString &strFilename, -- const CExtPackManager &extPackManager, -- QWidget *pParent) --{ -- message(pParent ? pParent : mainWindowShown(), -- Error, -- tr("Failed to open the Extension Pack %1.").arg(strFilename), -- formatErrorInfo(extPackManager)); --} -- --void UIMessageCenter::badExtPackFile(const QString &strFilename, -- const CExtPackFile &extPackFile, -- QWidget *pParent) --{ -- message(pParent ? pParent : mainWindowShown(), -- Error, -- tr("Failed to open the Extension Pack %1.").arg(strFilename), -- "" + extPackFile.GetWhyUnusable()); --} -- --void UIMessageCenter::cannotInstallExtPack(const QString &strFilename, -- const CExtPackFile &extPackFile, -- const CProgress &progress, -- QWidget *pParent) --{ -- if (!pParent) -- pParent = mainWindowShown(); -- QString strErrInfo = !extPackFile.isOk() || progress.isNull() -- ? formatErrorInfo(extPackFile) : formatErrorInfo(progress.GetErrorInfo()); -- message(pParent, -- Error, -- tr("Failed to install the Extension Pack %1.").arg(strFilename), -- strErrInfo); --} -- --void UIMessageCenter::cannotUninstallExtPack(const QString &strPackName, const CExtPackManager &extPackManager, -- const CProgress &progress, QWidget *pParent) --{ -- if (!pParent) -- pParent = mainWindowShown(); -- QString strErrInfo = !extPackManager.isOk() || progress.isNull() -- ? formatErrorInfo(extPackManager) : formatErrorInfo(progress.GetErrorInfo()); -- message(pParent, -- Error, -- tr("Failed to uninstall the Extension Pack %1.").arg(strPackName), -- strErrInfo); --} -- --bool UIMessageCenter::confirmInstallingPackage(const QString &strPackName, const QString &strPackVersion, -- const QString &strPackDescription, QWidget *pParent) --{ -- return messageOkCancel(pParent ? pParent : mainWindowShown(), -- Question, -- tr("You are about to install a VirtualBox extension pack. " -- "Extension packs complement the functionality of VirtualBox and can contain system level software " -- "that could be potentially harmful to your system. Please review the description below and only proceed " -- "if you have obtained the extension pack from a trusted source.
" -- "Name: | %1 |
Version: | %2 |
Description: | %3 |
An older version of the extension pack is already installed, would you like to upgrade? " -- "
%1
" -- "Name: | %2 |
New Version: | %3 |
Current Version: | %4 |
Description: | %5 |
An newer version of the extension pack is already installed, would you like to downgrade? " -- "
%1
" -- "Name: | %2 |
New Version: | %3 |
Current Version: | %4 |
Description: | %5 |
The extension pack is already installed with the same version, would you like reinstall it? " -- "
%1
" -- "Name: | %2 |
Version: | %3 |
Description: | %4 |
You are about to remove the VirtualBox extension pack %1.
" -- "Are you sure you want to proceed?
").arg(strPackName), -- 0, -- tr("&Remove")); --} -- --void UIMessageCenter::notifyAboutExtPackInstalled(const QString &strPackName, QWidget *pParent) --{ -- message(pParent ? pParent : mainWindowShown(), -- Info, -- tr("The extension pack