From 7fc41642ed0c9079985f33e63d4cb1dabddf2b89 Mon Sep 17 00:00:00 2001 From: "Simon A. Eugster" Date: Mon, 12 Jan 2009 18:58:28 +0000 Subject: [PATCH] i18n: HTML tags don't need to be translated, excluded. svn path=/branches/KDE4/; revision=2902 --- src/effectslist.cpp | 4 ++-- src/effectslist.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/effectslist.cpp b/src/effectslist.cpp index ade194e1..fecf4b9b 100644 --- a/src/effectslist.cpp +++ b/src/effectslist.cpp @@ -114,7 +114,7 @@ QString EffectsList::getInfo(const QString & tag, const QString & id) const { QDomNode namenode = effect.elementsByTagName("description").item(0); if (!namenode.isNull()) info = i18n(namenode.toElement().text().toUtf8().data()); namenode = effect.elementsByTagName("author").item(0); - if (!namenode.isNull()) info.append(i18n("
Author: ") + i18n(namenode.toElement().text().toUtf8().data())); + if (!namenode.isNull()) info.append("
" + i18n("Author:") + " " + i18n(namenode.toElement().text().toUtf8().data())); return info; } @@ -124,7 +124,7 @@ QString EffectsList::getInfoFromIndex(const int ix) const { QDomNode namenode = effect.elementsByTagName("description").item(0); if (!namenode.isNull()) info = i18n(namenode.toElement().text().toUtf8().data()); namenode = effect.elementsByTagName("author").item(0); - if (!namenode.isNull()) info.append(i18n("
Author: ") + i18n(namenode.toElement().text().toUtf8().data())); + if (!namenode.isNull()) info.append("
" + i18n("Author:") + " " + i18n(namenode.toElement().text().toUtf8().data())); return info; } diff --git a/src/effectslist.h b/src/effectslist.h index 3f2d0314..e2bb0fb0 100644 --- a/src/effectslist.h +++ b/src/effectslist.h @@ -20,7 +20,7 @@ #include -/**An List for DocClipBase objects. Use this instead of QList so as to sort lists correctly. +/**A List for DocClipBase objects. Use this instead of QList so as to sort lists correctly. * Also contains the ability to set a "master clip", which can be used by a number of operations where * the need for one clip to act as a reference for what happens to all clips is needed. * @author Jason Wood -- 2.39.2