OSDN Git Service

Update source strings
authorJarek Kobus <jkobus@trolltech.com>
Thu, 31 Mar 2011 07:57:24 +0000 (09:57 +0200)
committerJarek Kobus <jkobus@trolltech.com>
Thu, 31 Mar 2011 07:58:19 +0000 (09:58 +0200)
Reviewed-by: Pawel Polanski
src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp

index 50e0c96..2625570 100644 (file)
@@ -292,23 +292,23 @@ void CMakeRunPage::initWidgets()
     if (m_cmakeWizard->cmakeManager()->isCMakeExecutableValid()) {
         m_cmakeExecutable = 0;
     } else {
-        QString text = tr("Please specify the path to the CMake executable. No CMake executable was found in the path.");
+        QString text = tr("Please specify the path to the cmake executable. No cmake executable was found in the path.");
         QString cmakeExecutable = m_cmakeWizard->cmakeManager()->cmakeExecutable();
         if (!cmakeExecutable.isEmpty()) {
             QFileInfo fi(cmakeExecutable);
             if (!fi.exists())
-                text += tr(" The CMake executable (%1) does not exist.").arg(cmakeExecutable);
+                text += tr(" The cmake executable (%1) does not exist.").arg(cmakeExecutable);
             else if (!fi.isExecutable())
                 text += tr(" The path %1 is not a executable.").arg(cmakeExecutable);
             else
-                text += tr(" The path %1 is not a valid CMake.").arg(cmakeExecutable);
+                text += tr(" The path %1 is not a valid cmake.").arg(cmakeExecutable);
         }
 
         fl->addRow(new QLabel(text, this));
         // Show a field for the user to enter
         m_cmakeExecutable = new Utils::PathChooser(this);
         m_cmakeExecutable->setExpectedKind(Utils::PathChooser::ExistingCommand);
-        fl->addRow("CMake Executable", m_cmakeExecutable);
+        fl->addRow("cmake Executable", m_cmakeExecutable);
     }
 
     // Run CMake Line (with arguments)
@@ -479,7 +479,7 @@ void CMakeRunPage::runCMake()
         m_runCMake->setEnabled(true);
         m_argumentsLineEdit->setEnabled(true);
         m_generatorComboBox->setEnabled(true);
-        m_output->appendPlainText(tr("No valid CMake executable specified."));
+        m_output->appendPlainText(tr("No valid cmake executable specified."));
     }
 }
 
@@ -523,7 +523,7 @@ void CMakeRunPage::cmakeFinished()
 
     if (m_cmakeProcess->exitCode() != 0) {
         m_exitCodeLabel->setVisible(true);
-        m_exitCodeLabel->setText(tr("CMake exited with errors. Please check cmake output."));
+        m_exitCodeLabel->setText(tr("CMake exited with errors. Please check CMake output."));
         m_complete = false;
     } else {
         m_exitCodeLabel->setVisible(false);
index dca8eb9..46946be 100644 (file)
@@ -79,13 +79,13 @@ CMakeManager::CMakeManager(CMakeSettingsPage *cmakeSettingsPage)
     Core::ActionContainer *msubproject =
             am->actionContainer(ProjectExplorer::Constants::M_SUBPROJECTCONTEXT);
 
-    m_runCMakeAction = new QAction(QIcon(), tr("Run cmake"), this);
+    m_runCMakeAction = new QAction(QIcon(), tr("Run CMake"), this);
     Core::Command *command = am->registerAction(m_runCMakeAction, Constants::RUNCMAKE, m_projectContext);
     command->setAttribute(Core::Command::CA_Hide);
     mbuild->addAction(command, ProjectExplorer::Constants::G_BUILD_PROJECT);
     connect(m_runCMakeAction, SIGNAL(triggered()), this, SLOT(runCMake()));
 
-    m_runCMakeActionContextMenu = new QAction(QIcon(), tr("Run cmake"), this);
+    m_runCMakeActionContextMenu = new QAction(QIcon(), tr("Run CMake"), this);
     command = am->registerAction(m_runCMakeActionContextMenu, Constants::RUNCMAKECONTEXTMENU, m_projectContext);
     command->setAttribute(Core::Command::CA_Hide);
     mproject->addAction(command, ProjectExplorer::Constants::G_PROJECT_BUILD);