[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/base/konq-plugins/validators
From: Pino Toscano <pino () kde ! org>
Date: 2009-01-01 1:22:43
Message-ID: 1230772963.443178.24709.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 903985 by pino:
escape the names of frames when passing them to i18n(), grr
M +3 -2 plugin_validators.cpp
--- trunk/extragear/base/konq-plugins/validators/plugin_validators.cpp #903984:903985
@@ -46,6 +46,7 @@
#include <kstatusbar.h>
#include <kcolorscheme.h>
#include "clickiconlabel.h"
+#include <qtextdocument.h>
#include <config-konq-validator.h>
@@ -349,7 +350,7 @@
results.append(i18nc("%1 is the HTML frame name, %2 is the error count \
string, "
"%3 the warning count string, %4 the accessibility \
warning string", "Frame '%1': %2, %3, %4",
- res->frameName,
+ Qt::escape(res->frameName),
i18np("1 error", "%1 errors", (*vIt)->errors.count()),
i18np("1 warning", "%1 warnings", \
(*vIt)->warnings.count()),
i18np("1 accessibility warning", "%1 accessibility \
warnings", (*vIt)->accesswarns.count()))); @@ -357,7 +358,7 @@
results.append(i18nc("%1 is the HTML frame name, %2 is the error count \
string, " "%3 the warning count string",
"Frame '%1': %2, %3",
- res->frameName,
+ Qt::escape(res->frameName),
i18np("1 error", "%1 errors", (*vIt)->errors.count()),
i18np("1 warning", "%1 warnings", \
(*vIt)->warnings.count()))); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic