[kmail2] [Bug 341085] Forward Email Template Error

2014-11-21 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #21 from Laurent Montel mon...@kde.org --- Please close this bug when i18n is fixed. Thanks -- You are receiving this mail because: You are the assignee for the bug. ___ Kdepim-bugs mailing list

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-21 Thread Weng Xuetian
https://bugs.kde.org/show_bug.cgi?id=341085 Weng Xuetian wen...@gmail.com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #3 from Laurent Montel mon...@kde.org --- Are you reset default template ? But default its %REM=Default forward template%- -- Forwarded Message -- Subject: %OFULLSUBJECT Date: %ODATE, %OTIMELONG From: %OFROMADDR

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #4 from Laurent Montel mon...@kde.org --- Perhaps you can send me a test email in private message. Perhaps in japonese characters creates a problem -- You are receiving this mail because: You are the assignee for the bug.

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #5 from guoyunhebrave guoyunhebr...@gmail.com --- No I didn't change it. This is the default settings in openSUSE 13.2. Maybe it is only a problem of packaging in openSUSE 13.2. The default template is (in Chinese): -- 转发的信件

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #6 from Laurent Montel mon...@kde.org --- Yes indeed you're right it's in i18n(...) We need to ask to translator to fix it. QString DefaultTemplates::defaultForward() { return QLatin1String(%REM=\) + i18n(Default forward

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #7 from Laurent Montel mon...@kde.org --- Hi kde-i18n :) I think this bug is a translate problem. Could you verify chinese version please ? Thanks. Le Wednesday 19 November 2014 08:49:25 guoyunhebrave a écrit :

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #8 from guoyunhebrave guoyunhebr...@gmail.com --- I have found the translation message and submitted a patch. But there is still a problem. The program source code use %OADDRESSEESADDR to represent all email receivers:

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #9 from Laurent Montel mon...@kde.org --- } else if (cmd.startsWith(QLatin1String(OADDRESSEESADDR))) { qDebug() Command: OADDRESSEESADDR; i += strlen(OADDRESSEESADDR); if

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #10 from guoyunhebrave guoyunhebr...@gmail.com --- OK, I understand. Thank you! -- You are receiving this mail because: You are the assignee for the bug. ___ Kdepim-bugs mailing list

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #11 from guoyunhebrave guoyunhebr...@gmail.com --- But I tried to use %OADDRESSEESADDR in my customized template. (Program language is Chinese) It displays English To: not Chinese 收件人:. i18nc(@item:intext email To, To:) is defined in

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #12 from guoyunhebrave guoyunhebr...@gmail.com --- I tested Finnish language, it works well. So it is only a Chinese translation problem. But I still suggest my solution that %OADDRESSEESADDR only outputs email addresses. i18n defined in

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #13 from Laurent Montel mon...@kde.org --- indeed but I can't change it. Otherwise I will break all template for all users. -- You are receiving this mail because: You are the assignee for the bug.

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #14 from guoyunhebrave guoyunhebr...@gmail.com --- Yes, I fully understand your consideration. How about providing another parser OTOALLADDR for those who want to use customized templates? This solution does not affect old users' template

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #15 from Laurent Montel mon...@kde.org --- Another problem is that this variable allows to add CC too. But you can use OTOLIST no ? -- You are receiving this mail because: You are the assignee for the bug.

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #16 from guoyunhebrave guoyunhebr...@gmail.com --- Yes. I can use OTOLIST. If I need CC I can customize my template as: - From: %OFROMADDR To: %OTOLIST Cc: %OCCADDR

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #17 from Laurent Montel mon...@kde.org --- } else if (cmd.startsWith(QLatin1String(OADDRESSEESADDR))) { qDebug() Command: OADDRESSEESADDR; i += strlen(OADDRESSEESADDR); if

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #18 from guoyunhebrave guoyunhebr...@gmail.com --- After test, I found %OTOADDR and %OCCADDR both outputs all email addresses. So I can use: - From: %OFROMADDR To: %OTOADDR Cc: %OCCADDR

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #19 from Laurent Montel mon...@kde.org --- There is not difference when I look at source code. I think that it was old variable which was never removed. I can't remove it for compatibility but indeed you can use %OTOADDR or %OTOLIST -- You

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-19 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #20 from guoyunhebrave guoyunhebr...@gmail.com --- Thanks for your patient answer. Every question is clearly explained. I will work with KDE China i18n team to solve the translation error. -- You are receiving this mail because: You are

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-18 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=341085 Laurent Montel mon...@kde.org changed: What|Removed |Added CC||mon...@kde.org --- Comment #1

[kmail2] [Bug 341085] Forward Email Template Error

2014-11-18 Thread guoyunhebrave
https://bugs.kde.org/show_bug.cgi?id=341085 --- Comment #2 from guoyunhebrave guoyunhebr...@gmail.com --- (In reply to Laurent Montel from comment #1) So what is the error ? What is the expected result ? Error: This is the default head of forward mail in KMail: