[kmail2] [Bug 341085] Forward Email Template Error

Laurent Montel montel at kde.org
Wed Nov 19 09:49:43 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=341085

--- Comment #9 from Laurent Montel <montel at kde.org> ---
            } else if (cmd.startsWith(QLatin1String("OADDRESSEESADDR"))) {
                qDebug() << "Command: OADDRESSEESADDR";
                i += strlen("OADDRESSEESADDR");
                if (mOrigMsg) {
                    const QString to = mOrigMsg->to()->asUnicodeString();
                    const QString cc = mOrigMsg->cc()->asUnicodeString();
                    if (!to.isEmpty()) {
                        QString toLine =  i18nc("@item:intext email To", "To:")
+ QLatin1Char(' ') + to;
                        plainBody.append(toLine);
                        const QString body = plainToHtml(toLine);
                        htmlBody.append(body);
                    }
                    if (!to.isEmpty() && !cc.isEmpty()) {
                        plainBody.append(QLatin1Char('\n'));
                        const QString str =
plainToHtml(QString(QLatin1Char('\n')));
                        htmlBody.append(str);
                    }
                    if (!cc.isEmpty()) {
                        QString ccLine = i18nc("@item:intext email CC", "CC:")
+ QLatin1Char(' ') +  cc;
                        plainBody.append(ccLine);
                        const QString str = plainToHtml(ccLine);
                        htmlBody.append(str);
                    }
                }
" QString toLine =  i18nc("@item:intext email To", "To:") + QLatin1Char(' ') +
to;"
=> it's translated
so it's not a probem.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list