From cad6228ae04d9c395268418a6de24a84109bcf54 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 23 Nov 2009 14:27:56 +0000 Subject: [PATCH] - Updated translatable string regex to support ':' in it --- src/httpconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpconnection.cpp b/src/httpconnection.cpp index 8365296c7..7b710e50b 100644 --- a/src/httpconnection.cpp +++ b/src/httpconnection.cpp @@ -107,7 +107,7 @@ QString HttpConnection::translateDocument(QString data) { bool found = false; do { found = false; - QRegExp regex("_\\(([\\w\\s?!\\.]+)\\)"); + QRegExp regex("_\\(([\\w\\s?!:\\.]+)\\)"); i = regex.indexIn(data, i); if(i >= 0) { //qDebug("Found translatable string: %s", regex.cap(1).toUtf8().data());