Commit 5a482ace authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

no contractions, please. and loosers are losers. :D

parent 95caceb2
...@@ -284,7 +284,7 @@ int main(int argc, char **argv) ...@@ -284,7 +284,7 @@ int main(int argc, char **argv)
} }
if (!coreplugin) { if (!coreplugin) {
QString nativePaths = QDir::toNativeSeparators(pluginPaths.join(QLatin1String(","))); QString nativePaths = QDir::toNativeSeparators(pluginPaths.join(QLatin1String(",")));
const QString reason = QCoreApplication::translate("Application", "Couldn't find 'Core.pluginspec' in %1").arg(nativePaths); const QString reason = QCoreApplication::translate("Application", "Could not find 'Core.pluginspec' in %1").arg(nativePaths);
displayError(msgCoreLoadFailure(reason)); displayError(msgCoreLoadFailure(reason));
return 1; return 1;
} }
......
...@@ -793,7 +793,7 @@ bool PluginSpecPrivate::loadLibrary() ...@@ -793,7 +793,7 @@ bool PluginSpecPrivate::loadLibrary()
IPlugin *pluginObject = qobject_cast<IPlugin*>(loader.instance()); IPlugin *pluginObject = qobject_cast<IPlugin*>(loader.instance());
if (!pluginObject) { if (!pluginObject) {
hasError = true; hasError = true;
errorString = QCoreApplication::translate("PluginSpec", "Plugin is not valid (doesn't derive from IPlugin)"); errorString = QCoreApplication::translate("PluginSpec", "Plugin is not valid (does not derive from IPlugin)");
loader.unload(); loader.unload();
return false; return false;
} }
......
...@@ -52,7 +52,7 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent, ...@@ -52,7 +52,7 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent,
: QDialog(parent) : QDialog(parent)
{ {
m_ui.setupUi(this); m_ui.setupUi(this);
QPushButton *discardButton = m_ui.buttonBox->addButton(tr("Don't Save"), QDialogButtonBox::DestructiveRole); QPushButton *discardButton = m_ui.buttonBox->addButton(tr("Do not Save"), QDialogButtonBox::DestructiveRole);
m_ui.buttonBox->button(QDialogButtonBox::Save)->setDefault(true); m_ui.buttonBox->button(QDialogButtonBox::Save)->setDefault(true);
m_ui.buttonBox->button(QDialogButtonBox::Save)->setFocus(Qt::TabFocusReason); m_ui.buttonBox->button(QDialogButtonBox::Save)->setFocus(Qt::TabFocusReason);
m_ui.buttonBox->button(QDialogButtonBox::Save)->setMinimumWidth(130); // bad magic number to avoid resizing of button m_ui.buttonBox->button(QDialogButtonBox::Save)->setMinimumWidth(130); // bad magic number to avoid resizing of button
......
...@@ -302,8 +302,8 @@ QList<IFile *> FileManager::saveModifiedFiles(const QList<IFile *> &files, ...@@ -302,8 +302,8 @@ QList<IFile *> FileManager::saveModifiedFiles(const QList<IFile *> &files,
static QMessageBox::StandardButton skipFailedPrompt(QWidget *parent, const QString &fileName) static QMessageBox::StandardButton skipFailedPrompt(QWidget *parent, const QString &fileName)
{ {
return QMessageBox::question(parent, return QMessageBox::question(parent,
FileManager::tr("Can't save file"), FileManager::tr("Cannot save file"),
FileManager::tr("Can't save changes to '%1'. Do you want to continue and loose your changes?").arg(fileName), FileManager::tr("Cannot save changes to '%1'. Do you want to continue and lose your changes?").arg(fileName),
QMessageBox::YesToAll| QMessageBox::Yes|QMessageBox::No, QMessageBox::YesToAll| QMessageBox::Yes|QMessageBox::No,
QMessageBox::No); QMessageBox::No);
} }
......
...@@ -46,7 +46,7 @@ bool CoreListenerCheckingForRunningBuild::coreAboutToClose() ...@@ -46,7 +46,7 @@ bool CoreListenerCheckingForRunningBuild::coreAboutToClose()
if (m_manager->isBuilding()) { if (m_manager->isBuilding()) {
QMessageBox box; QMessageBox box;
QPushButton *closeAnyway = box.addButton(tr("Cancel Build && Close"), QMessageBox::AcceptRole); QPushButton *closeAnyway = box.addButton(tr("Cancel Build && Close"), QMessageBox::AcceptRole);
QPushButton *cancelClose = box.addButton(tr("Don't Close"), QMessageBox::RejectRole); QPushButton *cancelClose = box.addButton(tr("Do not Close"), QMessageBox::RejectRole);
box.setDefaultButton(cancelClose); box.setDefaultButton(cancelClose);
box.setWindowTitle(tr("Close Qt Creator?")); box.setWindowTitle(tr("Close Qt Creator?"));
box.setText(tr("A project is currently being built.")); box.setText(tr("A project is currently being built."));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment