aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/colorscheme.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-07-31 16:41:12 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-07-31 16:41:12 +0200
commitcbfa2c0191a8ba3586a0125e2fb7dfb051b1c7ca (patch)
tree4af6956a70c8e6ead08471e047d6076cb98a810f /src/plugins/texteditor/colorscheme.cpp
parentc483f5ae85c94940ce4d10df2d047106cdae894d (diff)
Fixed translation glitches.
Diffstat (limited to 'src/plugins/texteditor/colorscheme.cpp')
-rw-r--r--src/plugins/texteditor/colorscheme.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/texteditor/colorscheme.cpp b/src/plugins/texteditor/colorscheme.cpp
index cb298f102c1..a1eedcef050 100644
--- a/src/plugins/texteditor/colorscheme.cpp
+++ b/src/plugins/texteditor/colorscheme.cpp
@@ -32,6 +32,7 @@
#include "texteditorconstants.h"
#include <QtCore/QFile>
+#include <QtCore/QCoreApplication>
#include <QtXml/QXmlStreamWriter>
using namespace TextEditor;
@@ -206,7 +207,7 @@ bool ColorSchemeReader::read(const QString &fileName, ColorScheme *scheme)
if (readNextStartElement() && name() == QLatin1String("style-scheme"))
readStyleScheme();
else
- raiseError(QObject::tr("Not a color scheme file."));
+ raiseError(QCoreApplication::translate("TextEditor::Internal::ColorScheme", "Not a color scheme file."));
return true;
}