From 354c4d868d491988221e1acf0d8f304e0575529b Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Thu, 28 Oct 2010 14:28:25 +0200
Subject: [PATCH] fix error message and source in the TS files

---
 share/qtcreator/translations/qtcreator_de.ts | 5 +++--
 share/qtcreator/translations/qtcreator_fr.ts | 5 +++--
 share/qtcreator/translations/qtcreator_ja.ts | 5 +++--
 share/qtcreator/translations/qtcreator_ru.ts | 5 +++--
 src/plugins/debugger/cdb/cdbengine.cpp       | 3 ++-
 5 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts
index 3dfa74c5b9c..a119db3da9a 100644
--- a/share/qtcreator/translations/qtcreator_de.ts
+++ b/share/qtcreator/translations/qtcreator_de.ts
@@ -19347,8 +19347,9 @@ Server: %2.</translation>
         <translation></translation>
     </message>
     <message>
-        <source>The CDB debug engine does not support the &apos;%1</source>
-        <translation></translation>
+        <source>The CDB debug engine does not support the %1 toolchain.</source>
+        <extracomment>%1 is something like &quot;GCCE&quot; or &quot;Intel C++ Compiler (Linux)&quot; (see ToolChain context)</extracomment>
+        <translation>Der CDB-Debugger unterstützt die Toolchain &apos;%1&apos; nicht.</translation>
     </message>
 </context>
 <context>
diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts
index 3d1ae5d6801..b0f5888ee1f 100644
--- a/share/qtcreator/translations/qtcreator_fr.ts
+++ b/share/qtcreator/translations/qtcreator_fr.ts
@@ -26700,8 +26700,9 @@ La liste du serveur était %2.</translation>
         <translation>Point d&apos;observation : %1</translation>
     </message>
     <message>
-        <source>The CDB debug engine does not support the &apos;%1</source>
-        <translation>Le moteur de débogage CDB ne supporte pas le &apos;%1&apos;</translation>
+        <source>The CDB debug engine does not support the %1 toolchain.</source>
+        <extracomment>%1 is something like &quot;GCCE&quot; or &quot;Intel C++ Compiler (Linux)&quot; (see ToolChain context)</extracomment>
+        <translation type="unfinished">Le moteur de débogage CDB ne supporte pas le &apos;%1&apos;</translation>
     </message>
 </context>
 <context>
diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts
index 61a7f76303f..96741629a06 100644
--- a/share/qtcreator/translations/qtcreator_ja.ts
+++ b/share/qtcreator/translations/qtcreator_ja.ts
@@ -22593,8 +22593,9 @@ Server list was %2.</source>
         <translation>監視ポイント: %1</translation>
     </message>
     <message>
-        <source>The CDB debug engine does not support the &apos;%1</source>
-        <translation>CDB デバッグ エンジンは &apos;%1&apos; をサポートしていません</translation>
+        <source>The CDB debug engine does not support the %1 toolchain.</source>
+        <extracomment>%1 is something like &quot;GCCE&quot; or &quot;Intel C++ Compiler (Linux)&quot; (see ToolChain context)</extracomment>
+        <translation type="unfinished">CDB デバッグ エンジンは &apos;%1&apos; をサポートしていません</translation>
     </message>
 </context>
 <context>
diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts
index a5e385a00b2..3387c1fda68 100644
--- a/share/qtcreator/translations/qtcreator_ru.ts
+++ b/share/qtcreator/translations/qtcreator_ru.ts
@@ -4222,8 +4222,9 @@ Qt Creator не может подключиться к нему.</translation>
         <translation>Точка наблюдения: %1</translation>
     </message>
     <message>
-        <source>The CDB debug engine does not support the &apos;%1</source>
-        <translation>Движок отладчика CDB не поддерживает &quot;%1&quot;</translation>
+        <source>The CDB debug engine does not support the %1 toolchain.</source>
+        <extracomment>%1 is something like &quot;GCCE&quot; or &quot;Intel C++ Compiler (Linux)&quot; (see ToolChain context)</extracomment>
+        <translation type="unfinished">Движок отладчика CDB не поддерживает &quot;%1&quot;</translation>
     </message>
 </context>
 <context>
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp
index 1f18fe79a5b..5aa2146bdd2 100644
--- a/src/plugins/debugger/cdb/cdbengine.cpp
+++ b/src/plugins/debugger/cdb/cdbengine.cpp
@@ -1751,7 +1751,8 @@ bool checkCdbConfiguration(int toolChainI, QString *errorMsg, QString *settingsP
     case ProjectExplorer::ToolChain::INVALID:
         break;
     default:
-        *errorMsg = CdbEngine::tr("The CDB debug engine does not support the '%1").
+        //: %1 is something like "GCCE" or "Intel C++ Compiler (Linux)" (see ToolChain context)
+        *errorMsg = CdbEngine::tr("The CDB debug engine does not support the %1 toolchain.").
                     arg(ProjectExplorer::ToolChain::toolChainName(toolChain));
         *settingsPage = CdbOptionsPage::settingsId();
         return false;
-- 
GitLab