2 * Copyright (C) 2006 Dmitry Morozhnikov <dmiceman@mail.ru>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #include "defaulttemplates.h"
24 using namespace TemplateParser
;
26 QString
DefaultTemplates::defaultNewMessage()
29 QLatin1String("%REM=\"") + i18n( "Default new message template" ) + QLatin1String("\"%-\n") + QLatin1String("%BLANK");
32 QString
DefaultTemplates::defaultReply()
35 QLatin1String("%REM=\"") + i18n( "Default reply template" ) + QLatin1String("\"%-\n") +
36 i18nc( "Default reply template."
37 "%1: date of original message, %2: time of original message, "
38 "%3: quoted text of original message, %4: cursor Position",
39 "On %1 %2 you wrote:\n"
41 "%4", QLatin1String("%ODATE"), QLatin1String("%OTIMELONG"), QLatin1String("%QUOTE"), QLatin1String("%CURSOR") );
44 QString
DefaultTemplates::defaultReplyAll()
47 QLatin1String("%REM=\"") + i18n( "Default reply all template" ) + QLatin1String("\"%-\n") +
48 i18nc( "Default reply all template: %1: date, %2: time, %3: name of original sender, "
49 "%4: quoted text of original message, %5: cursor position",
50 "On %1 %2 %3 wrote:\n"
53 QLatin1String("%ODATE"), QLatin1String("%OTIMELONG"), QLatin1String("%OFROMNAME"), QLatin1String("%QUOTE"), QLatin1String("%CURSOR") );
56 QString
DefaultTemplates::defaultForward()
59 QLatin1String("%REM=\"") + i18n( "Default forward template" ) + QLatin1String("\"%-\n") +
60 i18nc( "Default forward template: %1: subject of original message, "
61 "%2: date of original message, "
62 "%3: time of original message, "
63 "%4: mail address of original sender, "
64 "%5: original message text",
66 "---------- Forwarded Message ----------\n"
74 "-----------------------------------------",
75 QLatin1String("%OFULLSUBJECT"), QLatin1String("%ODATE"), QLatin1String("%OTIMELONG"), QLatin1String("%OFROMADDR"), QLatin1String("%TEXT") );
78 QString
DefaultTemplates::defaultQuoteString()
80 return QLatin1String("> ");