forked from qt-creator/qt-creator
Boot2Qt: Edit UI text
- Replace "Boot2Qt" with "Boot to Qt" - Add dots to ends of messages Change-Id: I0c4a795199bf6dee41cc69c5eea34bf28246f0b6 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
@@ -80,7 +80,7 @@ void DeviceDetector::handleDeviceEvent(QdbDeviceTracker::DeviceEventType eventTy
|
||||
DeviceManager * const dm = DeviceManager::instance();
|
||||
|
||||
if (eventType == QdbDeviceTracker::NewDevice) {
|
||||
const QString name = Tr::tr("Qt Debug Bridge device %1").arg(serial);
|
||||
const QString name = Tr::tr("Boot to Qt device %1").arg(serial);
|
||||
QdbDevice::Ptr device = QdbDevice::create();
|
||||
device->setupId(IDevice::AutoDetected, deviceId);
|
||||
device->settings()->displayName.setValue(name);
|
||||
|
@@ -88,9 +88,9 @@ private:
|
||||
}
|
||||
showMessage(errorString, true);
|
||||
if (!stdOut.isEmpty())
|
||||
showMessage(Tr::tr("stdout was: \"%1\"").arg(stdOut));
|
||||
showMessage(Tr::tr("stdout was: \"%1\".").arg(stdOut));
|
||||
if (!stdErr.isEmpty())
|
||||
showMessage(Tr::tr("stderr was: \"%1\"").arg(stdErr));
|
||||
showMessage(Tr::tr("stderr was: \"%1\".").arg(stdErr));
|
||||
} else {
|
||||
showMessage(Tr::tr("Commands on device \"%1\" finished successfully.")
|
||||
.arg(m_deviceName));
|
||||
@@ -107,7 +107,7 @@ private:
|
||||
|
||||
QdbDevice::QdbDevice()
|
||||
{
|
||||
setDisplayType(Tr::tr("Boot2Qt Device"));
|
||||
setDisplayType(Tr::tr("Boot to Qt Device"));
|
||||
setType(Constants::QdbLinuxOsType);
|
||||
|
||||
addDeviceAction({Tr::tr("Reboot Device"), [](const IDevice::Ptr &device, QWidget *) {
|
||||
@@ -218,7 +218,7 @@ public:
|
||||
QdbDeviceWizard(QWidget *parent)
|
||||
: QWizard(parent)
|
||||
{
|
||||
setWindowTitle(Tr::tr("Boot2Qt Network Device Setup"));
|
||||
setWindowTitle(Tr::tr("Boot to Qt Network Device Setup"));
|
||||
settingsPage.setCommitPage(true);
|
||||
|
||||
enum { SettingsPageId };
|
||||
@@ -253,7 +253,7 @@ public:
|
||||
QdbLinuxDeviceFactory()
|
||||
: IDeviceFactory(Constants::QdbLinuxOsType)
|
||||
{
|
||||
setDisplayName(Tr::tr("Boot2Qt Device"));
|
||||
setDisplayName(Tr::tr("Boot to Qt Device"));
|
||||
setCombinedIcon(":/qdb/images/qdbdevicesmall.png", ":/qdb/images/qdbdevice.png");
|
||||
setQuickCreationAllowed(true);
|
||||
setConstructionFunction(&QdbDevice::create);
|
||||
|
@@ -106,7 +106,7 @@ public:
|
||||
{
|
||||
setConfigBaseId(Constants::QdbDeployConfigurationId);
|
||||
addSupportedTargetDeviceType(Constants::QdbLinuxOsType);
|
||||
setDefaultDisplayName(Tr::tr("Deploy to Boot2Qt target"));
|
||||
setDefaultDisplayName(Tr::tr("Deploy to Boot to Qt target"));
|
||||
setUseDeploymentDataView();
|
||||
|
||||
addInitialStep(RemoteLinux::Constants::MakeInstallStepId, [](Target *target) {
|
||||
|
@@ -33,7 +33,7 @@ public:
|
||||
QdbRunConfiguration(Target *target, Id id)
|
||||
: RunConfiguration(target, id)
|
||||
{
|
||||
setDefaultDisplayName(Tr::tr("Run on Boot2Qt Device"));
|
||||
setDefaultDisplayName(Tr::tr("Run on Boot to Qt Device"));
|
||||
|
||||
executable.setDeviceSelector(target, ExecutableAspect::RunDevice);
|
||||
executable.setSettingsKey("QdbRunConfig.RemoteExecutable");
|
||||
@@ -87,7 +87,7 @@ private:
|
||||
Tasks tasks;
|
||||
if (executable().isEmpty()) {
|
||||
tasks << BuildSystemTask(Task::Warning, Tr::tr("The remote executable must be set "
|
||||
"in order to run on a Boot2Qt device."));
|
||||
"to run on a Boot to Qt device."));
|
||||
}
|
||||
return tasks;
|
||||
}
|
||||
|
@@ -65,7 +65,7 @@ QString overridingEnvironmentVariable(QdbTool tool)
|
||||
|
||||
void showMessage(const QString &message, bool important)
|
||||
{
|
||||
const QString fullMessage = Tr::tr("Boot2Qt: %1").arg(message);
|
||||
const QString fullMessage = Tr::tr("Boot to Qt: %1").arg(message);
|
||||
if (important)
|
||||
Core::MessageManager::writeFlashing(fullMessage);
|
||||
else
|
||||
|
Reference in New Issue
Block a user