From: Pino Toscano Date: Sat, 22 Oct 2005 23:34:10 +0000 (+0000) Subject: Forwardport: translate the description at the right point. X-Git-Tag: v3.80.2~274 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=92a23f8256421114ee53553d9a81c7f545bf63e9;p=libqmvoc.git Forwardport: translate the description at the right point. BUG: 114882 svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=473233 --- diff --git a/kdeeduui/kdeeduglossary.cpp b/kdeeduui/kdeeduglossary.cpp index cd71b46..6bb4685 100644 --- a/kdeeduui/kdeeduglossary.cpp +++ b/kdeeduui/kdeeduglossary.cpp @@ -162,7 +162,7 @@ QList Glossary::readItems( QDomDocument &itemDocument ) QString picName = itemElement.namedItem( "picture" ).toElement().text(); QDomElement refNode = ( const QDomElement& ) itemElement.namedItem( "references" ).toElement(); - QString desc = descNode.toElement().text().toUtf8(); + QString desc = i18n( descNode.toElement().text().toUtf8() ); if ( !picName.isEmpty() ) desc.prepend("[img]"+picName +"[/img][brclear][br]" );