forked from qt-creator/qt-creator
typo & language fixes
This commit is contained in:
@@ -661,7 +661,7 @@ void PerforcePlugin::updateActions()
|
||||
m_submitAction->setEnabled(true);
|
||||
} else {
|
||||
m_diffProjectAction->setEnabled(false);
|
||||
m_diffProjectAction->setText(tr("Diff Current Project/Soluion"));
|
||||
m_diffProjectAction->setText(tr("Diff Current Project/Solution"));
|
||||
m_submitAction->setEnabled(false);
|
||||
}
|
||||
m_diffAllAction->setEnabled(true);
|
||||
|
||||
@@ -438,7 +438,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
||||
this, SLOT(updateRecentProjectMenu()));
|
||||
|
||||
// unload action
|
||||
m_unloadAction = new QAction(tr("Unload Project"), this);
|
||||
m_unloadAction = new QAction(tr("Close Project"), this);
|
||||
cmd = am->registerAction(m_unloadAction, Constants::UNLOAD, globalcontext);
|
||||
cmd->setAttribute(Core::Command::CA_UpdateText);
|
||||
cmd->setDefaultText(m_unloadAction->text());
|
||||
@@ -446,7 +446,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
||||
mproject->addAction(cmd, Constants::G_PROJECT_FILES);
|
||||
|
||||
// unload session action
|
||||
m_clearSession = new QAction(tr("Unload All Projects"), this);
|
||||
m_clearSession = new QAction(tr("Close All Projects"), this);
|
||||
cmd = am->registerAction(m_clearSession, Constants::CLEARSESSION, globalcontext);
|
||||
mfile->addAction(cmd, Core::Constants::G_FILE_PROJECT);
|
||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_FILES);
|
||||
@@ -1028,7 +1028,7 @@ void ProjectExplorerPlugin::restoreSession()
|
||||
sessionToLoad = arg;
|
||||
arguments.removeOne(arg);
|
||||
if (debug)
|
||||
qDebug()<< "Found session argument, loading session"<<sessionToLoad;
|
||||
qDebug() << "Found session argument, restoring session" << sessionToLoad;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1246,10 +1246,10 @@ void ProjectExplorerPlugin::updateActions()
|
||||
|
||||
m_unloadAction->setEnabled(m_currentProject != 0);
|
||||
if (m_currentProject == 0) {
|
||||
m_unloadAction->setText(tr("Unload Project"));
|
||||
m_unloadAction->setText(tr("Close Project"));
|
||||
m_buildAction->setText(tr("Build Project"));
|
||||
} else {
|
||||
m_unloadAction->setText(tr("Unload Project \"%1\"").arg(m_currentProject->name()));
|
||||
m_unloadAction->setText(tr("Close Project \"%1\"").arg(m_currentProject->name()));
|
||||
m_buildAction->setText(tr("Build Project \"%1\"").arg(m_currentProject->name()));
|
||||
}
|
||||
|
||||
|
||||
@@ -615,7 +615,7 @@ bool SessionManager::loadImpl(const QString &fileName)
|
||||
Q_ASSERT(!fileName.isEmpty());
|
||||
|
||||
if (debug)
|
||||
qDebug() << "SessionManager - loading session " << fileName << " ...";
|
||||
qDebug() << "SessionManager - restoring session " << fileName << " ...";
|
||||
|
||||
bool success = true;
|
||||
|
||||
@@ -634,8 +634,8 @@ bool SessionManager::loadImpl(const QString &fileName)
|
||||
emit sessionUnloaded();
|
||||
m_file = new SessionFile;
|
||||
if (!m_file->load(fileName)) {
|
||||
QMessageBox::warning(0, tr("Error while loading session"),
|
||||
tr("Could not load session %1").arg(fileName));
|
||||
QMessageBox::warning(0, tr("Error while restoring session"),
|
||||
tr("Could not restore session %1").arg(fileName));
|
||||
success = false;
|
||||
}
|
||||
// m_file->load() sets the m_file->startupProject
|
||||
@@ -653,7 +653,7 @@ bool SessionManager::loadImpl(const QString &fileName)
|
||||
}
|
||||
|
||||
if (debug)
|
||||
qDebug() << "SessionManager - loading session returned " << success;
|
||||
qDebug() << "SessionManager - restoring session returned " << success;
|
||||
|
||||
if (success)
|
||||
emit sessionLoaded();
|
||||
|
||||
Reference in New Issue
Block a user