]> Git trees. - libqmvoc.git/commitdiff
Forwardport: translate the description at the right point.
authorPino Toscano <pino@kde.org>
Sat, 22 Oct 2005 23:34:10 +0000 (23:34 +0000)
committerPino Toscano <pino@kde.org>
Sat, 22 Oct 2005 23:34:10 +0000 (23:34 +0000)
BUG: 114882

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=473233

kdeeduui/kdeeduglossary.cpp

index cd71b463333286c7c0d5be64abcec17ad4bf0151..6bb4685ce66283f8647dd91b0d72f3480bbd9aaa 100644 (file)
@@ -162,7 +162,7 @@ QList<GlossaryItem*> 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]" );